1

I've installed Manjaro Linux. My graphics card is an Nvidia GTX 1050Ti.

When I boot my computer and try to watch videos, I notice harsh screen tearing. This problem is resolved when I go to the Nvidia X Server Settings and enable the option "Force Full Composition Pipeline".

Is there any way to permanently set this option so that I don't have to manually enable it every time I reboot my computer?

0

You can set the "Force Full Composition Pipeline" option in a terminal, like this:

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

To do it automatically, the easiest way to do so is to put it inside your .bashrc. To proceed just type this inside a terminal:

$ echo "$ nvidia-settings --assign CurrentMetaMode=\"nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }\"" >> ~/.bashrc

You can log out and log back in (or reboot), to have this applied. Note that this is meant to be a one monitor solution only, because of the "auto-select".

Another method would be to do the same inside ~/.nvidia-settings-rc but the behaviour could change over time, while in .bashrc, you are sure on how it is done.

Addendum

Regarding screen tearing, you might want to try other tweaks.

Since you are using Manjaro, I assume you are using KDE. You can tell the window manager (KWin) to use triple buffering or to wait for the current image to be displayed before updating the screen.

1) Wait for the GPU to fully display current image

# echo "export __GL_YIELD=\"USLEEP\"" >> /etc/profile.d/kwin.sh

2) Enable triple buffering in KWin

# echo "export KWIN_TRIPLE_BUFFER=1" >> /etc/profile.d/kwin.sh

Do not have both of the above enabled at the same time. Be sure to enable triple buffering in nvidia-settings if you enable triple buffering in KWin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.