Linux Mint 18.1 + i915: Updating the Intel Graphics stack

This post was written by eli on February 4, 2017
Posted Under: Linux,Software

Running Linux Mint 18.1 (kernel 4.4.0-53) on a Gigabyte Brix BACE-3160 (with an i915 graphics controller) , I had all kind of minor graphics artifacts (in particular a sluggish mouse pointer and Kodi felt heavy). So obviously, I went for updating the graphics stack.

Intel supplies an tool for doing this automagically on a selected list of distributions. In particular, the Graphics Update Tool 2.0.2 is intended for Ubuntu 16.04. Which is fine, since Mint 18.1 is derived from this distribution exactly.

So I downloaded it, and installed it:

$ sudo dpkg -i intel-graphics-update-tool_2.0.2_amd64.deb

That didn’t work all that nice, because there were missing dependencies. Easily fixed with

$ sudo apt-get -f install

And then launch the tool itself:

$ sudo intel-graphics-update-tool

And this is where the tool refused, because the distribution doesn’t match. So I tricked it by replacing the file it checks (a thanks goes to strace). First, save the real one:

$ sudo mv /etc/lsb-release /etc/lsb-release-mint

and then edit /etc/lsb-release to mimic Ubuntu. That is, saying this:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

And then run the tool again. Now everything went through fine. And for the record, it really helped with those graphics issues.

By the way, among the things it did was to add an apt-get repository. Namely, adding the file /etc/apt/sources.list.d/intellinuxgraphics.list with the following:

deb https://download.01.org/gfx/ubuntu/16.04/main xenial main #Intel Graphics drivers

For the record, this is /etc/lsb-release for Linux Mint 18.1:

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

In case someone needs to fake Linux Mint…

Note that the effective initrd.img file (probably in /boot) must be updated (I’m not 100% about it, but it seems like the update tool did it): Odds are that the kernel modules related to graphics are loaded from the initrd.img, and not /lib/modules, as part of displaying the graphical splash screen (Plymouth) until Gnome is up and running. Unless you’ve disabled it, like myself.

Reader Comments

Try this:

Download 915resolution.tar.gz

http://home.myfairpoint.net/buckaroo39/915/915resolution.tar.gz

Extract the 915resolution file

As root copy it to /usr/sbin

From terminal type:

sudo 915resolution -l

A list will show for the available resolutions

Select the one you want and type similar to the example below:

sudo 915resolution 58 1600 900 32

logout and log back in – you should have the correct resolution.

If you have the resolution that you want then navigate to /etc/rc.local

As root edit the rc.local script file to resemble the sample below to indicate your desired resolution:

—————————————————

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0″ on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

/usr/sbin/915resolution 58 1600 900 32

exit 0

——————————————-

After saving the rc.local script reboot into your new resolution.

#1 
Written By Jim on May 29th, 2017 @ 11:11

Hello, i have a problem.

I got the installer going by doing what you suggested and just as the installation begins I get this error:

GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files.

Can you possibly help me here? Thank you very much.

#2 
Written By Dragan Apostolski on August 31st, 2017 @ 11:42

doesn’t work for me

#3 
Written By Gabor on September 17th, 2017 @ 15:19

Add a Comment

required, use real name
required, will not be published
optional, your blog address