Last active
February 7, 2021 16:02
-
-
Save natanaeljr/92feeca22dd78036a1948d916af6450c to your computer and use it in GitHub Desktop.
Force VSync setting on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<device screen="0" driver="dri2"> | |
<application name="Default"> | |
<option name="vblank_mode" value="1"/> | |
</application> | |
</device> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create the above file in the home directory: ~/.dridr | |
vblank_mode: | |
0 - Never synchronize with vertical refresh, ignore application's choice | |
1 - Initial swap interval 0, obey application's choice | |
2 - Initial swap interval 1, obey application's choice | |
3 - Always synchronize with vertical refresh, application chooses the minimum swap interval |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment