Ubuntu – The screen rendering of 17.10 with intel i5-8400 is really slow

17.10intel graphics

I just bought a computer and install ubuntu 17.10 but the graph rendering is really slow.

It just like using windows without installing VGA driver except I can get the resolution of 1920×1080.

I also checked Software & updates > additional Drivers.

There is a message shown that

unknown:unknown
This device is using an alternative driver.

How can I solve this problem?

My hardware is :

intel i5-8400
msi z370 tomahawk

the message came after vainfo:

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit

Best Answer

Ubuntu 17.10 is currently shipping kernel version 4.13. But the graphics driver for 8th generation coffee lake processors are merged in kernel mainline for version 4.15. (source)

Currently you can install 4.15 kernel Ubuntu builds to fix the graphics issue.

Download these debian packages

mkdir -p ~/linux_4.15 && cd ~/linux_4.15

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2018-01-01/linux-headers-4.15.0-999-generic_4.15.0-999.201801010200_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2018-01-01/linux-headers-4.15.0-999_4.15.0-999.201801010200_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2018-01-01/linux-image-4.15.0-999-generic_4.15.0-999.201801010200_amd64.deb

dpkg -i *.deb

sudo update-grub

sudo reboot

Ubuntu should boot with the latest kernel image now. Your graphics rendering should be smooth.