Enable Nvidia vSync on Linux

Source: http://www.thelinuxrain.com/articles/got-tearing-with-proprietary-nvidia-try-this

 

1. If you have one monitor

nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"

 

2. If you have multiple monitors

nvidia-settings --assign CurrentMetaMode="$(nvidia-settings -q CurrentMetaMode -t|tr '\n' ' '|sed -e 's/.*:: \(.*\)/\1\n/g' -e 's/}/, ForceCompositionPipeline = On}/g')" > /dev/null

 

Posted in it Tagged

Leave a Reply