Fixing xorg screen tearing on intel graphics

2021-11-11 15:44:47 EET | back | home | git

Install drivers

The package on most distros is called xf86-video-intel , on debian you'd install it like this:

$ sudo apt install xf86-video-intel

Adding the configuration

$ sudo mkdir -p /etc/X11/xorg.conf.d

On whatever distro you are on please install curl , for example on debian:

$ sudo apt install curl

$ sudo curl -o /etc/X11/xorg.conf.d/20-intel-graphics.conf

If you don't have internet

Please take this and add it to /etc/X11/xorg.conf.d/20-intel-graphics.conf do not use something like libreoffice, use something like gedit, vim, nano, emacs, etc. :

Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TripleBuffer" "true" Option "TearFree" "true" Option "SwapbuffersWait" "true" Option "DRI" "2" EndSection


Now reboot your system and everything should be working.