Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSYNC option severely affects game performance #215

Closed
Apprisco opened this issue Nov 20, 2021 · 8 comments
Closed

VSYNC option severely affects game performance #215

Apprisco opened this issue Nov 20, 2021 · 8 comments

Comments

@Apprisco
Copy link

Program(Game) 游戏名

Minecraft Dungeons

Capture method 捕获模式

GDI

Related screenshot (optional) 相关截图(可选)

Not vsync, 100hz display:
image

Magpie vsync with 100hz display:
less than 30fps.

Other information (optional) 补充信息(可选)

No response

Log files 日志文件

Runtime.log
Magpie.log

@Blinue
Copy link
Owner

Blinue commented Nov 21, 2021

Magpie uses low latency technology by default, which can cause a significant drop in frame rate in case of poor performance. Turning on the "Allow extra latency" option can also alleviate this problem.

@palxex
Copy link

palxex commented Nov 25, 2021

@Blinue In recent builds( at least two days ) I noticed that "Allow extra latency" option makes extra fps drop( for ex. genshin 60fps, magpie FSR with it drops to less than 30fps, without it still 60fps), and in my memory the situation was not same when the option was first added, at least no extra fps drop. Does the implemention of this option changes?

@Blinue
Copy link
Owner

Blinue commented Nov 25, 2021

这里的实现没更改过,v0.7.1 正式版有这个问题吗

@palxex
Copy link

palxex commented Nov 28, 2021

这里的实现没更改过,v0.7.1 正式版有这个问题吗

0.7.1经过测试没有这个问题。非常奇怪,今天我用之前能测出这个问题的build,同样的机器同样的环境怎么也重现不出来了。实在找不到原因了,看来是误报,非常抱歉。
另外想问一下,“允许额外的延迟”和“禁用DirectFlip”这两个选项的关系是?

@Blinue
Copy link
Owner

Blinue commented Nov 28, 2021

“允许额外的延迟”用于在性能不足的情况提高帧率,“禁用DirectFlip”用于解决某些游戏的兼容性问题 #166。实现上没有关系。

它们各会引入一帧延迟,同时选中会有两帧延迟

@Blinue Blinue closed this as completed Nov 28, 2021
@palxex
Copy link

palxex commented Dec 4, 2021

@Blinue 突然又在Win11 Dev上重现出来了,之前是在Win10上。这个看来有点随机性——跟哪次开机有关的那种。
触发时的配置和截图
1 0
1 1
未触发时的
2 0
2 1
可见此时CPU/GPU都未占满,不大可能是资源的问题。另外游戏的原始帧数并未降低,降低的只是magpie的放大帧数。

@palxex
Copy link

palxex commented Dec 4, 2021

又测了一下,在未知条件下勾选“允许额外的延迟”并导致magpie的放大帧数异常后(同一个build,我上午那次开机都没事),再勾选“禁用DirectFlip”可以解决此问题……虽然我机器上看log,Hardware Composition 支持和Multiplane Overlay 支持都是否,按理来说DirectFlip压根没有支持,这个选项勾不勾应该是无影响的才对?
更新测试结果:再次重启还是这样。降低帧率症状不分缩放模式和捕获模式,尝试了很多组合都是。其他选项也是,没发现什么关系。甚至将帧率设为无限制都没用,设置完刚进去可见帧率飙到上百,没几秒又回到20+。

@Blinue
Copy link
Owner

Blinue commented Dec 5, 2021

这个问题请新开issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants