- Level 3
- Posts: 86
- Joined: Fri Oct 07, 2011 6:25 am
- Location: The whacky, whacky realm of Australia
Hello gutigen,gutigen wrote:Every single game I play under WINE defaults it's refresh rate to 60khz. My desktops refresh rate is set to 75khz in NVIDIA X Server Settings. Is there a way to force WINE to use specific refresh rate?
You'll need to get the latest wine source. Unpack it, and go to dlls/winex11.drv, then find the file desktop.c. What you need to do is run a search for all instances of X11DRV_Settings_AddOneMode. There are three slightly different lines, all starting with that, with wine's default refresh rate, witch is 0, 60. You'll want to change that to 0, 75 for all three instances of that line. Compile that, and you should now be able to have the refresh rate as 75 hertz in games.
Let me know how you go.
Edit: Actually reading again. It might not.
You actually run under windowed mode with fakedisp, where many applications just depend on the display subsystem to set the frequencies. Fakedisp just uses your current X11/Driver setup. Plus it doesn't do resolution switches which you might like or not.
So, if the force frequency setting doesn't work for you. You might want to edit the x11drv source like mentioned above.