How to Install the latest Intel Graphics Driver in Ubuntu 17.10?

I was trying this but get errors: installing-intel-graphics-driver-in-ubuntu-16-04

Error message:

Checking if Intel graphics card available...
  • checking for i915 module in /sys/module
  • i915 module found
Checking if Intel graphics card available... OK
Retrieving information from 01.org...
  • fetching https://download.01.org/gfx/ilg-config.cfg
  • saving to /home/sujan/.ilg-config
  • fetched 1626 bytes
  • fetched 9818 bytes
  • fetched 12301 bytes
  • looking up [Ubuntu artful] configuration
Retrieving information from 01.org... OK
Checking distribution... Failed

Solution 1:

Until now Intel doesn't offer support for Ubuntu 17.10. I'm using updated drivers from ppa:oibaf/graphics-drivers with 2 external monitors, so far without any problems on integrated graphic:

$ lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04)
        Subsystem: ASRock Incorporation HD Graphics 630 [1849:5912]
        Kernel driver in use: i915

You can install Updated and Optimized Open Graphics Drivers from PPA repository:

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt update
sudo apt upgrade -y

Solution 2:

Just change temporarily /etc/lsb-release to correspond to Zesty Zapus, it will work fine.

First, make backup

sudo cp /etc/lsb-release /etc/lsb-release.backup

Then edit the file

sudo -H gedit /etc/lsb-release

Replace contents with:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"

When you are done installing the tool and the drivers, simply revert the changes:

sudo rm -f /etc/lsb-release
sudo cp /etc/lsb-release.backup /etc/lsb-release