So I have just done a fresh install of Ubuntu 20.04 on my laptop (Intel i7 7700HQ + NVIDIA 1050Ti), I noticed that when enabling the NVIDIA driver (version 440.62) the laptop screen suffers from screen tearing, and I tried to enable Prime Synchronization by the following method:
- Create a new file
/etc/modprobe.d/nvidia-graphics-drivers.conf
; - Input
options nvidia_drm modeset=1
to the file; - Run
sudo update-initramfs -u
- Reboot.
After rebooting the GUI had very slow response at login screen, sometimes I had to wait several minutes after input the password for my desktop to show up, sometimes the desktop never appeared. Even if the desktop appeared, it may still freeze after a random time. Reverting the previous steps can solve the problem but screen tearing re-appeared.
I hope to know what is the cause of this problem? Did I enable Prime Synchronization correctly?