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

Broken V-Sync on Pro-Motion display #26

Open
3Shain opened this issue Oct 1, 2024 · 0 comments
Open

Broken V-Sync on Pro-Motion display #26

3Shain opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@3Shain
Copy link
Owner

3Shain commented Oct 1, 2024

The problem can occur when the game doesn't choose the desired refresh rate when creating swapchain (which should effectively use "the current display refresh rate"). However, we don't know how the game gets the current refresh rate, and sometimes the value doesn't agree with what is retrieved on DXMT side. So we can't know how long exactly the SyncInterval of Present() is. For example, the game thinks the current refresh rate is 120hz while DXMT detects 60hz, then the game use SyncInterval = 2 to produce a 60 fps frame pacing, but it's interpreted as a 2*1000/60 = 33.3ms interval (= 30 fps) in DXMT.

It is even more confusing when multiple displays of different refresh rates are active.

@3Shain 3Shain added the bug Something isn't working label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant