The arbitrary refresh rate patch originally by posted by trap15 here has now made it into the code base. Thanks to PonMi (massaya39) for advocating for this. Here is how it works:
- To enable 57.524 Hz refresh rate, use -true-hz on the command line. Note that this will introduce stutter. Theoretically, variable refresh rate displays should be able to handle it but I'm not sure whether the code as-is will sync with such displays.
- The actual config key is "RefreshRate". Using -true-hz is equivalent to the following in the INI file:
- Code: Select all
RefreshRate = 57.524
The default is of course:
- Code: Select all
RefreshRate = 60
The value is only precise to the millihertz level: the third digit of precision. Virtually no input validation is performed so be mindful of typos or weird values.
Suggestions welcome.
Thanks,
Bart