Source Code

Compiling and/or upgrading graphics drivers in Linux is a complex and error-prone task. Here is a user guide for how to build the driver from scratch. If you are not experienced doing this, we recommend that you get precompiled packages from one of the many Linux distributions.

Source code repositories

1) X.org 2D driver
The Intel driver for X.org is available from the public X.org git repository:
$ git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel
2) Mesa 3D GL driver
The GL drivers are available from the public Mesa git repository:
$ git://anongit.freedesktop.org/git/mesa/mesa
3) DRM and AGPGART kernel module
The DRM and AGPGART kernel modules are available from Linux kernel.
The latest Intel code (ready for the next upstream release) is maintained at the public drm-intel-next git repository (It includes the DRM patches pending acceptance into Airlied's drm-next kernel tree):
$ git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel drm-intel-next branch
4) LIBDRM userland DRM module

The LIBDRM modules are available from the public DRM git repository:
$ git://anongit.freedesktop.org/git/mesa/drm


The latest (unstable) upstream driver components (recommend to developers)

2D driver: xf86-video-intel master branch (including GEM support)
3D driver: mesa master branch (including GEM support)
Kernel: drm-intel drm-intel-next branch (including GEM support)
LIBDRM: freedesktop.org drm master branch

The latest stable driver components (recommend to ordinary users)

2D driver: xf86-video-intel 2.5.0 release
3D driver: mesa intel-2008-q3 branch commit 46921a5ee832a3443894dcc98e065d2f535e899d
DRM: drm module shipped in Linux kernel 2.6.27
AGPGART: agpgart module shipped in Linux kernel 2.6.27. GM45/G4X users need an additional AGP patch for G4X stolen memory counting fix
LIBDRM: libdrm 2.4.1 release (note: libdrm >=2.4.0 is required for xf86-video-intel 2.5.0)