DEV Community

nullity
nullity

Posted on • Updated on

Ubuntu 20.04 Screen tearing

Screen tearing may happen when you change a display orientation to "Portrait Right" or "Portrait Left"

Image description

If you are using Intel's built-in graphic, you can try the following method.

Step 1. If you don't have the folder "/etc/X11/xorg.conf.d", create one.
Step 2. create the file "/etc/X11/xorg.conf.d/20-intel.conf"
content in 20-intel.conf

Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
    Option "TearFree" "true"
    Option "AccelMod"    "uxa"
    Option "DRI"         "3"
EndSection
Enter fullscreen mode Exit fullscreen mode

Step 3. reboot

Step 4.
if that doesn't solve the problem or result in other problems, try removing the buggy package

sudo remove xserver-xorg-video-intel
Enter fullscreen mode Exit fullscreen mode

and reboot

ref

Top comments (0)