Donnerstag, 10. Oktober 2013

Install and update to latest Intel driver in Ubuntu (without PPAs)

If you are running a Laptop with integrated Intel graphics, it's pretty easy to update your drivers to the latest stable version, without running a PPA. You can easily build and install the driver on your own:
  1. Get the necessary dependencies:

    sudo apt-get build-dep xserver-xorg-video-intel

  2. Download the driver version you want to install (either stable tagged or git) from:

    http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/

  3. Now (extract the archive and) open a terminal in the folder
  4. Set the x64 library path:

    export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH

    This is necessary to otherwise the configuration step will fail.

  5. Configure everything to set install path to /usr:

    ./autogen.sh --prefix=/usr

  6. Build the driver:

    make

  7. Install the newly build driver to /usr:

    sudo make install

  8. Reboot and check whether new driver is installed and looking into:

    /var/log/Xorg.0.log

    Search for 'LoadModule: "intel"' (without ''). Three lines below you find your actual running driver version.
Beware: This will overwrite your actual installed driver. To revert to your previous driver (in case of problems), just reinstall it via: sudo apt-get install --reinstall xserver-xorg-video-intel