Ubuntu – How to install the newest xserver-xorg-video-intel on 18.04 Bionic

18.04intel graphicsvideo-driverxorgxserver

I have an Intel UHD 620 GPU, whose drivers, on 18.04 Bionic, put me in a conflicting position:

  1. if I use the default (either HWE or not) Xorg video drivers (xserver-xorg-video-all, everything works fine, but the videos suffer from tearing;
  2. if I make Xorg use the xserver-xorg-video-intel (removing the other xserver-xorg-video-* packages), I can fix the tearing by setting TearFree in /etc/X11/xorg.conf.d/20-intel.conf, but the system is unstable (I assume due to improper support in the driver version).

On 19.04 Disco, which ships an updated version of xserver-xorg-video-intel (2:2.99.917+git20180925-2, versus 2:2.99.917+git20171229-1), I can get both stability and TearFree, however, there is no way to install the package in 18.04 Bionic (ultimately due to libc).

Is there any way to get the Intel updated drivers on 18.04 (package, compiling, any way)? Alternatively, is there any way to fix the tearing without using the Intel version of the driver?

Best Answer

There's an available PPA that "provides updated X (2D) and mesa (3D) free graphics drivers for radeon, intel and nvidia hardware"; it can be used via:

add-apt-repository -y ppa:oibaf/graphics-drivers
apt update
apt install xserver-xorg-video-intel

For reference, the current PPA version (2:2.99.917+git1903011933.6afed3~oibaf~b) fixes the instability problem mentioned.

Related Question