update 03-25-06
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
Code:
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
it uses the mach64 chipset.
now here's how I got direct rendering to work:
GUIDE
1. get your updated kernel, headers, compilation tools
Code:
sudo apt-get install linux-686 linux-headers-2.6-686 build-essential
1.5 if you the kernel wasn't installed already, reboot to it
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)
Code:
wget http://dri.freedesktop.org/snapshots/common-20060325-linux.i386.tar.bz2
wget http://dri.freedesktop.org/snapshots/mach64-20060325-linux.i386.tar.bz2
3. kill your X server. if you using the default ubuntu configuration, press ctrl+alt+F1..then;
Code:
sudo /etc/init.d/gdm stop
4. unpack the common modules. go into the directory where you downloaded the dri stuff, and:
Code:
tar xjvf common-20060325-linux.i386.tar.bz2
tar xjvf mach64-20060325-linux.i386.tar.bz2
5. go into the "common" directory first, and..
6. then go into the "mach64" directory, an..
7. start x again:
Code:
sudo /etc/init.d/gdm start
8. once you start X again, check for your direct rendering by opening a terminal and typing:
Code:
glxinfo | grep "direct"
if it says "direct rendering: Yes", then congratulations, and try running "glxgears -printfps" to see your performance increase.
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)
TROUBLESHOOTING
1. see if the "mach64" module is loaded..
Code:
lsmod | grep "mach64"
if not...load it by:
Code:
sudo modprobe -v mach64
2. if you have problems after reboot:
a.) check if module is listed in "/etc/modules"
Code:
cat /etc/modules | grep "mach64"
b.) if not, add it
Code:
sudo echo "mach64" >> /etc/modules
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
links:
http://dri.freedesktop.org/snapshots/
http://www.freedesktop.org/wiki/Software_2fdri
http://mandrakeusers.org/index.php?showtopic=17864
Bookmarks