-
Notifications
You must be signed in to change notification settings - Fork 851
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
Grand Theft Auto V runs at 10 FPS with vsync enabled #1314
Comments
Sounds like the game thinks it's minimized for whatever reason. Not sure if there's much I can do there. Unfortunately I can't test the game right now due to a) the launcher being constantly broken and b) not having access to my work PC at the moment. I know that GTA V uses PRESENT_TEST before every "real" present, but that should still work just fine. In general, Vsync-related problems are almost never DXVK bugs, but it's weird that the commit you mentioned would cause a regression like this since we only return |
I can't confirm this issue with DXVK git-master in wine-tkg (75Hz): But the in-game vsync option is heavily bugged and may jump to half rate, which capped it to 39fps for me (something seems odd about that math), despite of forcing vsync via DXVK. I had to set it to off and restart the game to make it work. @doitsujin The non-Steam version with just Rockstar Game Launcher should work with the corresponding community patches for wine-tkg: |
I tried the branch, it didn't fix the issue. I tried reverting other parts of the patch though, and found that adding the Without that, the while loop in |
I'm not sure I understand. |
Otherwise, the following sequence leads to the Vulkan swap chain being recreated once per frame: swapchain->Present(0, DXGI_PRESENT_TEST); swapchain->Present(1, 0); Found while investigating #1314.
Does ae01bd8 fix the problem? I don't know if the game runs into that issue but it's a genuine bug regardless. |
I believe that fixes V-Sync for me - at least with VSync = On. I removed the dxvk.conf workaround.
I don't need to apply the workaround with the dxvk.conf file any longer. Others may wish to confirm that though. EDIT: This is a better proof - a one handed video on my Galaxy S5 Neo: EDIT2: Just to be thorough - VSync Half @ 30 fps: |
Yep that fixes the problem for me too, thanks! |
Starting with DXVK 1.5, Grand Theft Auto V's opening movie (Rockstar logo) and menus always run at 8-10 FPS. With VSync enabled, the game itself also runs at 10 FPS. With VSync disabled, the game runs normally (60-80 FPS for me). Some people have also found that the borderless window setting restores normal performance: ValveSoftware/Proton#37 (comment).
I was able to bisect the problem down to commit aa40dec.
I can post an apitrace tomorrow.
Software information
Grand Theft Auto V, from Steam. Build 1868, Online 1.50.
DirectX 11 mode.
System information
Apitrace file(s)
Log files
The text was updated successfully, but these errors were encountered: