Contents
Source
The components of the DRI have been moved into their respective upstream repositories. The DRI drivers reside within Mesa, and the 2D drivers reside in [X.Org http://www.x.org/]. The remaining component is the DRM, which is maintained in a git tree on freedesktop.org.
git
To check out the drm code:
git clone git://anongit.freedesktop.org/git/mesa/drm
cgit
The source and history can be viewed on the web at http://cgit.freedesktop.org/mesa/drm/
Building from git
See the Building page.
Releases
The release tarballs are available at http://dri.freedesktop.org/libdrm/
Binaries
Snapshots
Note: Binary snapshots that are currently available for download are not up-to-date. They are likely to have bugs that are fixed in CVS/GIT in the mean time. Please do not report bugs against them.
Note: Binary snapshots are currently not being built. The value of binary snapshots with modular Xorg is questionable and technical problems make it very hard to build one snapshot that works with both modular and monolithic Xorg.
Nightly snapshots of the DRI drivers for Linux are available from http://dri.freedesktop.org/snapshots/. You need to download and install the correct snapshot for your graphics card and a "common" snapshot in order to get all new DRI features. The "common" snapshot does not need to be updated as frequently as the card-specific snapshot.
Note: If you are using a radeon 8500 or higher (8500, 8700, 9000, 9100, 9200, IGP9100, etc.) choose the r200 shapshot, otherwise choose radeon (7000, 7200, 7500, IGP320, IGP340, etc.).
Note: If you have a i830/45/55 graphics chip you now need the i915 snapshot. The i830 driver is deprecated and no new snapshots are produced for it.
Upgrading to X.org 6.9 CVS
Binary snapshots only work with a recent X.org X server. If you're running a version of XFree86 or X.org older than 6.9 RC1 then you must install an X.org server (Xorg.bz2) and driver modules (Xorg-modules.tar.bz2).
Note: It is important that you install X.org before you install the actual binary snapshots.
Note: After installing this upgrade X.org will have no graphics drivers. You need to install the snapshots (both common and the one for your graphics card) in order to make X.org work.
This is how you install Xorg and modules.tar.bz2:
- Download
Xorg.bz2andmodules.tar.bz2. - Make a backup of
/usr/X11R6/lib/modulesandusr/X11R6/bin/Xorg(if present) and move them out of the way. - Uncompress
Xorg.bz2, copy it to/usr/X11R6/binand set permissions. - Uncompress
Xorg-modules.tar.bz2in/usr/X11R6/lib. - Make a symbolic link from
/etc/X11/Xto/usr/X11R6/bin/Xorgif it's not there yet or points somewhere else. If needed copy
XF86Config-4toxorg.confand change the keyboard driver from "keyboard" to "kbd". The following sequence of commands should work in bash:wget http://dri.freedesktop.org/snapshots/extras/Xorg.bz2 wget http://dri.freedesktop.org/snapshots/extras/modules.tar.bz2
mv -f /usr/X11R6/bin/Xorg /usr/X11R6/bin/Xorg.backup bzip2 -d Xorg.bz2 cp Xorg /usr/X11R6/bin chmod 4755 /usr/X11R6/bin/Xorg
mv /usr/X11R6/lib/modules /usr/X11R6/lib/modules.backup tar -C /usr/X11R6/lib -xjf modules.tar.bz2
cd /etc/X11 rm X ln -s /usr/X11R6/bin/Xorg X if [ -f XF86Config-4 ]; then cp XF86Config-4 xorg.conf; fi
Debian packages
The Xorg packages in Debian unstable can be used with the binary snapshots.
# cat >> /etc/apt/sources.list
deb http://ftp.debian.org/debian/ unstable main
^D
# apt-get update
# apt-get -t unstable install xserver-xorg
You'll need the linux-headers package for your kernel installed in order to compile the kernel modules:
# apt-get install linux-headers-`uname -r`
Then just follow the instructions for installing the snapshots as above.
Configuration GUI
The DRI configuration GUI DriConf is available for download from http://dri.freedesktop.org/~fxkuehl/driconf. There are versions available for gtk-1.2 and gtk-2. If you're unsure which version to download check out the DriConf page. It also contains installation instructions and links to the most recent versions.
