Ubuntu – Screen tearing on laptop’s built-in display

displaydriversnvidiascreen

I have HP Pavilion (15-bc203nw with gtx1050) with fresh Ubuntu 20.04 and nvidia-440 driver installed.
I use it with external monitor and have a problem with screen tearing, but only on built-in monitor. The external one works perfectly.

I have tried adding options nvidia_drm modeset=1 to /etc/modprobe.d/zz-nvidia-modeset.conf, but this solution disables my external monitor ad doesn't seem to work.

I have also tried to force composition pipeline in Nvidia settings, but I can't do it, because: "PRIME Displays cannot be controlled by nvidia-settings and must be configured by external RandR capable tool…"

screen

Tearing on built-in screen disappears when I switch GPU to Intel, but it disables my external monitor.

The same problem occurs on Ubuntu 18.04.

Best Answer

This issue can be fixed by updating nvidia drivers to nvidia-driver-455.

In case of Ubuntu 20.04 it should be done after updating kernel to 5.8 (You can check it by uname -r)

Related Question