Ubuntu 20.04 - Screen Tearing
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.
- Try this video to see if you still have screen tearing.
- Try the solution provided here.
- What helped in my specific case was that I switched the driver used for my NVIDIA GP107M when using the "Additional Drivers" application and switched from nvidia-driver-440 to nvidia-driver-435.