How To Fix Screen Tearing Whilst Gaming On Linux – nVidia ⁄ Force Composition Pipeline
This is a quick tutorial on fixing screen tearing on Linux when using a nVidia GPU, by enabling Force Composition Pipeline in the nVidia X Server Setting application.
However you need to run the nVidia X Server Setting application as root in order to save and apply this settings permanently.
The easiest way to do this is type the following into the terminal:
Then navigate to X Server Display Configuration / Advanced and enable Force Composition Pipeline
Repeat for all your monitors.
Click Save to X Configuration File and click Save.
This will save it to xorg.conf, which can be found at:
Alternatively if you are using Manjaro, instead of saving to xorg.conf, you
need to save the settings to mhwd.d, which can instead be found at:
So instead of clicking Save, instead click on Show Preview, copy and paste that content into the mhwd.d file, and save.
Once this setting is applied, then screen tearing will be fixed, and more importantly this will be applied at each boot.
#linuxgaming #nvidia #tutorialsRead more