DRI with ATI Cards under Ubuntu Edgy Eft
Saturday, October 28th, 2006By following this thread I was able to get DRI (for hardware accelerated 3D) to work for my ATI Radeon 9250 card.
If you’re too lazy to dig it up, here’s the low-down on things:
- DRI is broken because the kernel drm.ko module refuses to load on start up.
- This is linked to recent updates concerning AIGLX.
Indications of this error:
$ grep WW /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Probed monitor is 320x240 mm, using Displaysize 336x269 mm
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
Then when you try to manually load the drm module:
$ sudo modprobe drm Password: FATAL: Error inserting drm (/lib/modules/2.6.17-10-generic/kernel/drivers/char/drm/drm.ko): Cannot allocate memory
To fix it you should edit your /etc/X11/xorg.conf and add the following lines if you don’t already have them:
Section "Extensions"
Option "Composite" "Disable"
EndSection
If you have been using the Open Source X.org drivers for ATI (ati) while you switched to fglrx, you must reboot your computer. Simply zapping your X server will not do the job. It seems that the kernel is left in a complete mess when you switch drivers. Additionally before rebooting, make sure that the fglrx module is loaded by the kernel on startup. Do:
$ grep fglrx /etc/modules
You should get fglrx as a result. If nothing is displayed, then do:
$ sudo nano /etc/modules
add fglrx on a line of its own, save the file and reboot.
Note that it’s no longer required to use an older libGL.so.1.2 if you have an RV2xx card. The current driver version that ships with Edgy seems to work with these low-end cards.


