Friday, June 30, 2006

Debian etch/sid Bug: 359328

Bug #359328 is an irritating bug which has plagued X.org in Debian since the move from X.org 6.9 to 7.0. The most irritating part of the X.org migration is the Bug which involves getting Direct Rending Infrastructure working with the Intel 810 and 915 graphics cards. I've been wrestling with this bug now for a couple of months, trying to get it solved. I can't blame Debian however because the problem seems to be with upstream packages. Here's what's happening from what I gathered from bits and pieces from the Internet.


  • Debian migrates to X.org 7.0
  • X.org 7.0 is a modular approach to the X-Server
  • All X "drivers" now exist as separate packages. To use the "i810" driver I now need to install the xserver-xorg-video-i810 package which will install the i810 driver for X.org. The same holds for input devices too.
  • DRI now depends on Mesa which has not been updated to cater to Xorg 7.0, or atleast not for the Intel chipsets
  • The Mesa developers have made the required changes which are required for the intel chipsets but the changes are in CVS but have not made an official release.
  • Debian can't provide CVS based packages as it goes against the Debian packaging principles.


So Debian folk are basically stuck until the kind Mesa dev's decide to release with the i810 changes. The Ubuntu people however do not mind using the CVS based packages. Now if you are stuck with the same problem , here's the solution:


Get the following packages from Debian Experimental. If you can't get them from there they are also available here.

  • libgl1-mesa-dri_6.5.0.cvs
  • libglu1-mesa_6.5.0.cvs
  • libgl1-mesa-glx_6.5.0.cvs

Download them , shutdown the X Server and install them using 'dpkg'. Restart X and run 'glxinfo' and verify whether 'Direct Rendering' is enabled. You should be able to see it in the top of the text output which 'glxinfo' spews out. You should be able to see something like:


topa@anduril:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes


Technorati Tags : , , , , , , , , ,


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. My Way My blog. Toufeeq Hussain