Quote Originally Posted by stateq2
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:

1. backup your X11R6 and modules directorys just in case
Code:
sudo cp -r /usr/X11R6 /usr/X11R6.old

sudo cp -r /lib/modules/2.6.8.1-3-686 /lib/modules/2.6.8.1-3-686.old
2. get your kernel headers
Code:
sudo apt-get install linux-headers-2.6-686
3. get the proper mach64 dri software from here...or get it like this:
Code:
wget http://freedesktop.org/~fxkuehl/snapshots/mach64-20041123-linux.i386.tar.bz2
4. kill your X server. if you using the default ubuntu configuration, press ctrl+alt+F1..then;
Code:
sudo /etc/init.d/gdm stop
5. unpack the dri modules. go into the directory where you downloaded the dri stuff, and:
Code:
tar xjvf mach64-20041123-linux.i386.tar.bz2
6. go into the unpacked directory, and run install.sh
Code:
cd dripkg

sudo ./install.sh
7. all of the default options should be ok. once you start X again, check for your direct rendering by typing:
Code:
glxinfo | grep "direct"
if it says "direct rendering: Yes", then congratulations. If not....then restore you X11R6 and modules backup, and good luck to you 8)

btw, depending on your kernel version, the names in step 1 & 2 may vary

links:
http://freedesktop.org/~fxkuehl/snapshots/
http://www.freedesktop.org/wiki/Software_2fdri
http://mandrakeusers.org/index.php?showtopic=17864
Cant get this to work Check this please

maliks@tuxido:~ $ cd dripkg
maliks@tuxido:~/dripkg $ sudo ./install.sh
Password:


DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

================================================== ========================

Welcome to the DRI Driver Installation Script

The package you downloaded is for the following driver:

Driver Name : mach64
Description : ATI Mach64 Driver
Architecture :
Build Date : 20041215
Kernel Module : mach64

Optional Information

Driver Version :
Special Description :

Press ENTER to continue or CTRL-C to exit.



DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

================================================== ========================

The script will need to copy the DRI XFree86 driver modules to
your XFree86 directory.

The script will use the following XFree86 directory:

/usr/X11R6

If this is correct press ENTER, press C to change or CTRL-C to exit.










DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

================================================== ========================

The script also needs to copy the DRM kernel modules to your
kernel module directory.

This version of the script supports 2.4.x and 2.6.x kernels.

Kernel Version : 2.6.8.1-3-386
Module Directory : /lib/modules/2.6.8.1-3-386

If this is correct press ENTER, press C to change or CTRL-C to exit.









DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

================================================== ========================

The script will now compile the DRM kernel modules for your machine.

Press ENTER to continue or CTRL-C to exit.


Compiling...
ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.