Menu Close

Nvidia-settings ForceFullCompositionPipeline issue/fix

Issue:
To prevent massive screen tearing in browsers and games Manjaro/Arch (and many other Linux distros tried) require the nvidia “ForceFullCompositionPipeline = On” option needs to be set. My specific issue with Manjaro is that attempting to save the setting using the nvidia-settings GUI tool doesn’t work, I’ve attempted to save
this as both a regular user and superuser.
The “Save to X configuration file” button seems to write to a non-existent Xorg.conf which Manjaro isn’t using. Manually creating an Xorg file and adding the composition pipeline option to this file causes the boot to fail. The desktop remains unusable until I log in to a seperate TTY session and delete the Xorg file, after which the desktop will be restored to its working state.

Fix:
I’ve added a line to my .bashrc file to turn on the ForceFullCompositionPipeline option as my desktop loads. I have this as a straight option that runs in the background but it can also be set as an alias command that you just run if needed.
I prefer the automatic option because it will re-check the “On” flag each time .bashrc is run, so even in the event of a desktop crash it will rerun as soon as my dropdown terminal loads up with the desktop

[Added to the bottom of my .bashrc file]

# Set nvidia-settings “ForceFullCompositionPipeline = On” flag at login.
#Prevents needing to go through all of the GUI options to tick the required boxes each time.
nvidia-settings –assign CurrentMetaMode=”nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }”

[Alternatively create an alias to activate it upon running “nvfix” in a terminal]
[Added to custom list of alias commands]

alias nvfix=’ nvidia-settings –assign CurrentMetaMode=”nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }”‘