-
Notifications
You must be signed in to change notification settings - Fork 83
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
60 FPS lock in Max Payne #95
Comments
If your monitor is only 60 Hz then it really doesn't matter as the game will only be 60fps even if an fps counter shows higher |
I think adding: At the end of function ConvertPresentParameters() in d3d8types.cpp removes the 60FPS limit. |
I checked the game. Both Max Payne and Max Payne 2 send the following parameters:
From everything I have read and looking at the Microsoft documentation here and here these settings should enable vsync, as d3d8to9 does. Here are two quotes from Microsoft's documentation:
Either Microsoft's documentation is wrong, or there is a bug in the d3d8 implementation. I suspect the latter. I don't believe there is any d3d8to9 bug here. I recommend either using your graphics card to disable vsync, using some third party tool that can do that or creating a custom build, as HerMajestyDrMona mentioned above. |
#143 |
To raise 60 FPS limit in pre-1809 W10 builds, and while not using windowed mode or custom d3d8to9 build, use RivaTuner Statistics Server, add MaxPayne.exe and set "Custom Direct3D support". It will start to use 120 FPS limit from now on. Physics issues in Max Payne start somewhere above 144 FPS. Curiously, it ignores whatever I set in Framerate limit. The same goes for whatever is set in Radeon Chill. You can also unlock FPS completely, by setting Radeon Enhanced Sync, but it might cause stuttering if FPS fluctuates too much (and mentioned physics issues), plus if you push OpenALSoft settings for DSOAL too much, the sound might occasionally stutter. Latest 1.12.0 d3d8to9 used, with also Reshade 2.0 as d3d9.dll, although the app is rather still falsely reported as d3d8 in RivaTuner's OSD. |
That will probably have some performance hit (probably not noticeable in
that scenario and with that FPS limit), but it might be useful for a
feature. Thanks!
śr., 18 wrz 2024 o 18:22 Elisha Riedlinger ***@***.***>
napisał(a):
… @deton24 <https://github.com/deton24>, you can also use dxwrapper
<https://github.com/elishacloud/dxwrapper> with the below settings. This
will force vsync to be disabled and you can set the FPS limit speed.
EnableVSync = 0ForceVsyncMode = 1LimitPerFrameFPS = 119.88
—
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJ3EHEWW26LOR26FJP2XHTZXGSCRAVCNFSM6AAAAABOOBV236VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJYHEYDINZRG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I use Widescreen by 13AG as dinput.dll and d3d8.dll (d3d8to9) without any d3d9.dll from Reshade.
I get 60 FPS lock.
When I delete d3d8.dll (d3d8to9) it unlocks FPS.
AMD card.
The text was updated successfully, but these errors were encountered: