Intel graphics for Linux text next to abandoned old car

Updating the Intel graphics driver on Debian stable

Debian stable is safe and comfortable, but Debian testing has better performing Intel graphics drivers. Let’s stay comfortable and get the newer drivers anyway.

The Debian GNU/Linux project recently migrated the Intel graphics drivers version 2.99.917 into their testing release channel. If you’re on the Debian stable release, you’re currently using the more‐than‐a‐year‐old 2.21.15 driver. The older driver does not support Intel’s most recent graphics cards and you’ll either have a non‐functioning graphics driver or serious performance problems. Luckily, you can easily upgrade the graphics driver running on Debian stable (currently “Jessie”) to the testing version (currently “Stretch”) and leave the rest of your system on Debian stable.

You’ll have to adjust your package repository to install some software from the testing channel without updating the whole system. The instructions below will setup the system to know about packages from the testing channel, but ignore all of them unless expressly told otherwise. You’ll also have to tell the repository manager what your preferred release channel is.

  1. Run apt-get update && apt-get upgrade to ensure your system is up to date
  2. Paste the following into the file /etc/apt/apt.conf.d/80defaultrelease (create it if it doesn’t already exist):
    APT::Default-Release "stable";
  3. Paste the following into the file /etc/apt/preferences.d/pinning.pref:
    Package: *
    Pin: release a=stable
    Pin-Priority:  900
    Package: *
    Pin: release a=testing
    Pin-Priority: -500
  4. Paste the following into the file /etc/apt/sources.list.d/testing.list:
    deb testing main contrib non-free
    deb-src testing main contrib non-free
  5. Check that you’re release is called “stable” inside /etc/apt/sources.list (if not, adjust the pinning name above)

Your system should now know about the testing repository but not actually use it for anything. You can verify this by performing the first step again. No new updates should be found assuming everything was set up correctly. Double check the last step against the name in the second step if you see a massive list of available updates.

Once everything is setup, you can update the repository listing again and instruct the system to install the xserver-xorg-video-intel video driver:

  1. apt-get update
  2. apt-get install -t testing xserver-xorg-video-intel
  3. reboot

You can test that the correct driver is loaded by running “glxinfo | grep "OpenGL vendor string"”. The test command should return “Intel Open Source Technology Center”.

Whether you had no working drivers before or older but working drivers, you should notice performance improvements in everything from watching videos on YouTube to gaming through Steam.

These instructions can be used for any package. Be aware that for every package not from your main repository, you’ll introduce some risk of breaking functionality or the system. Use it sparingly, or you’ll probably have less problems by migrating entirely away from Debian stable and over to the testing channel.


  1. /etc/apt/apt.conf.d/80defaultrelease: don’t exist. /etc/apt/preferences.d/pinning.pref don’t exist – empty folder. /etc/apt/sources.list.d/testing.list also don’t exist. just create it?

    1. Indeed, you may need to create them if they don’t exist on your system. Directories ending in “.d” are usually loaded into the main configuration dynamically, so it’s a way of keeping your configurations separate from the system defaults.

  2. Please guys, don’t breakdebian. If the package is available from backports, you better backported instead of testing, installing things from Testing wants crazily to upgrade many libraries aprox 16MG of loading and if you do from backports it will be only about 1.6 MB. Take a look here:

    1. You’re commenting almost one year after this was originally published. The package wasn’t available in backports at the time, and the current version in the stable repository is now newer than the version mentioned here.

      That being said, this method still works and will still get you the latest graphic driver (which is most often newer than what is in backports and stable).

      1. Don’t make a FrankenDebian. Debian Stable should not be combined with other releases. If you’re trying to install software that isn’t available in the current Debian Stable release, it’s not a good idea to add repositories for other Debian releases. The problems might not happen right away, but the next time you install updates.

        The reason things can break is because the software packaged for one Debian release is built to be compatible with the rest of the software for that release. For example, installing packages from Jessie on a Wheezy system will also install newer versions of core libraries including glibc. This results in a system that is not Wheezy or Jessie but a “broken mix of the two.”

  3. Hey!
    I have 2 monitors connected with displayports.
    thought there was issues with the driver or something.
    using Debian 8, and did the steps above. The last test string returns VmWare, Inc instead of Intel Open Source Technology Center. I am not running the debian 8 as a VM so idk why. Have any idea?

Leave a Reply

Your email address will not be published. Be courteous and on-topic. Comments are moderated prior to publication.