Created
January 11, 2017 01:38
-
-
Save dmp1ce/c178bf8d21379d761f5809972327c0c2 to your computer and use it in GitHub Desktop.
Disable the forced vsync script
This file contains 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
#!/bin/sh | |
# https://www.gamingonlinux.com/articles/i-have-finally-found-a-way-to-sort-out-screen-tearing-on-nvidia-with-linux.7213/page=7#comments | |
sh -c "nvidia-settings --assign CurrentMetaMode=\"$(nvidia-settings -t -q CurrentMetaMode |tr -d "\n"|sed 's/.*:://'|sed 's/^ *//;s/ *$//')\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment