I have been struggling w/ this for the past two weeks....and I finally got 3d acceleration to work w/ my ati rage mobility. I'm using xorg, but I beleive that it works w/ xfree86 as well. first of all, here's my card according to lspci
it uses the mach64 chipset.
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
now here's how I got direct rendering to work:
1. get your updated kernel, headers, compilation tools
1.5 if you the kernel wasn't installed already, reboot to it
sudo apt-get install linux-686 linux-headers-2.6-686 build-essential
2. get the proper common AND mach64 dri software from here...or get it like this (but make sure that you go to link in the future because these are daily snapshots that get updated regularly)
3. kill your X server. if you using the default ubuntu configuration, press ctrl+alt+F1..then;
4. unpack the common modules. go into the directory where you downloaded the dri stuff, and:
sudo /etc/init.d/gdm stop
5. go into the "common" directory first, and..
tar xjvf common-20060325-linux.i386.tar.bz2
tar xjvf mach64-20060325-linux.i386.tar.bz2
6. then go into the "mach64" directory, an..
7. start x again:
8. once you start X again, check for your direct rendering by opening a terminal and typing:
sudo /etc/init.d/gdm start
if it says "direct rendering: Yes", then congratulations, and try running "glxgears -printfps" to see your performance increase.
glxinfo | grep "direct"
NOTE: you may also get better performance by changing your bit depth to 16 instead of the default 24...look for this line in your /etc/X11/xorg.conf file under the "Screen" section
change "24" to "16"
btw, depending on your kernel version, the names in step 1 & 2 may vary
If not....then try the troubleshooting 8)
1. see if the "mach64" module is loaded..
if not...load it by:
lsmod | grep "mach64"
2. if you have problems after reboot:
sudo modprobe -v mach64
a.) check if module is listed in "/etc/modules"
b.) if not, add it
cat /etc/modules | grep "mach64"
if you still have problems, you may want to search this thread for possible specific solutions, because many people seem to have resolved their problems
sudo echo "mach64" >> /etc/modules