Nvidia Ubuntu Linux Screentearing Video with solution driver

This seems to happen on most if not all Nvidia cards but the good news is that if you are using any of the Linux drivers and have the nvidia-settings tool installed it is just a simple command.

Solution:

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

Enter the above command in your terminal and the screentearing will be fixed which is like enabling Tear Free on AMD cards.  What it does is Force Full Composition Pipeline which means that it won't show any video frames that aren't completely processed, thus eliminating the annoying to the eye screen tearing.

This of course works on all Linux versions whether Debian based Ubuntu, Mint etc.. or even Centos, Fedora, RHEL if using the Nvidia and not Nouveau drivers.

You can make this permanent or automatic by the following:

vi ~/.config/autostart/nvidia-settings.desktop

[Desktop Entry]
Type=Application
Exec=nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Hidden=false
X-MATE-Autostart-enabled=true
Name[en_CA]=nvidia startup realtechtalk.com
Name=nvidia startup realtechtalk.com
Comment[en_CA]=
Comment=

 

This makes the command from our solution above execute each time you login into your Desktop session on Ubuntu/Debian/Gnome based OS's. 

You can also accomplish the same using the GUI like so by going to  Menu -> Preferences -> Startup Applications

nvidia settings permanent fix screentearing issue in Ubuntu Linux

Then click on "Add" and create a new entry like this:

You can't see it but just copy the command from above "nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" into the "Command" field and click "Add"

nvidia screen tear fix Ubuntu Linux make permanent solution


Tags:

nvidia, ubuntu, linux, screentearing, driverthis, drivers, settings, installed, assign, currentmetamode, quot, auto, select, forcefullcompositionpipeline, terminal, enabling, amd, composition, pipeline, frames, aren, processed, thus, eliminating, versions, debian, mint, etc, centos, fedora, rhel, nouveau, vi, config, autostart, desktop, entry, exec, enabled, en_ca, startup, realtechtalk, execute, login, gnome, os, gui, preferences, applications,

Latest Articles

  • Mikrotik RouterOS CHR/ISO Basic and Quick Setup Howto Guide
  • qemu 4 compilation options
  • CentOS 7 8 PXEBoot Netinstall Not Working Solution "Pane is dead "new value non-exisetnt xfs filesystem is not valid as a default fs type"
  • CentOS 6 EOL yum repo won't work Error: Cannot find a valid baseurl for repo: base Solution
  • CentOS 7 8 How To Disable SELinux
  • Wordpress How To Add Featured Image To Post in Hueman Theme
  • kdenlive full reset how to erase all config files
  • CentOS 7 8 yum error Trying other mirror. To address this issue please refer to the below wiki article
  • Microsoft Teams Linux - Calendar Doesn't Work Missed Meetings!
  • Scanner not working in Linux Ubuntu Fedora Mint Debian over the network? Use sane-airscan!
  • How To Boot, Install and Run Windows 2000 on QEMU-KVM
  • bash cannot execute permission denied
  • Huion and Wacom Tablets How To Install in Linux Mint / Ubuntu and make the stylus work properly
  • ffmpeg how to cut certain parts of video out
  • ffmpeg how to concat and join two video clips
  • mencoder instead of ffmpeg to join or concatenate video files with different audio streams
  • Linux How To Stop Missing Drive from Halting Boot Process in fstab
  • How To Replace Audio Track of Video using ffmpeg
  • qemu-img convert formats vdi vmdk raw qcow2
  • Linux and Windows Dual Boot Crazy Time Issues