Since I installed Ubuntu 20.04 I notice that there is Screen tearing when playing videos, it happens in several browsers and it is noticeable when moving the windows within the screen, when scrolling it is also noticeable. How is this problem solved?
-
1Many folks here insist on English in questions: Please translate your question, click edit, and paste the translation in above the original question. Please also provide the make and model of the PC as well as the results of sudo lspci | grep VGA && sudo lshw -c video | grep configuration && glxinfo | grep -i vendor – K7AAY Apr 24 '20 at 21:13
-
Error: couldn't find RGB GLX visual or fbconfig – Juan Pedraza Apr 26 '20 at 0:01
I had the same problem with a GTX 960M on my Lenovo ideaPad Y700 and the following worked for me.
Open a terminal and run
sudo gedit /etc/modprobe.d/nvidia-drm-nomodeset.conf
In the file, write the following line:
options nvidia-drm modeset=1
Save the file. Back into the terminal, update initramfs
by running:
sudo update-initramfs -u
Reboot.
Source: ubuntuhandbook.org
If the previous step didn't work, there is another solution that you can try:
$ xrandr --output eDP-1-1 --set "PRIME Synchronization" 1
Reboot.
This command will enable the sync in your hybrid card.
To check that sync has been enable:
$ sudo cat /sys/module/nvidia_drm/parameters/modeset
it should return Y
now.
Reboot.
-
-
-
I used the private drivers it doesn't work and the free drivers too – Juan Pedraza Jul 28 '20 at 4:30
-
-
I didn't have the "Enable Force Composition Pipeline or Force Full Composition Pipeline" setting in the graphical Nvidia X server setting window nor did the command $ xrandr --output eDP-1-1 --set "PRIME Synchronization" 1
worked for me (it just didn't change the parameter value for some reason).
But when under "RRIME profiles" of the "NVIDIA X Server Settings" I selected "NVIDIA On-Demand" and restarted I got rid of the screen tearing.
Note: somebody commented that's because on demand uses intel not nvidia so it's probably not a very good solution
-
1That's because the On-demand uses Intel unless explicitly commanded to use nvidia. – doug Nov 20 '20 at 10:15