ALRIGHT... The script I have is to enable drm support in the kernel. What that is, I don't know, but it ISN'T Direct Rendering, and if it is, it isn't all of it. I finally figures out how to pass LIBGL_DEBUG=verbose to glxinfo... check it out:
~$ LIBGL_DEBUG=verbose glxinfo |grep rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
raziel@nosgoth:~$ LIBGL_DEBUG=verbose glxinfo |grep rendering
libGL: XF86DRIGetClientDriverName: 6.7.0 mach64 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mach64_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/mach64_dri.so failed (/usr/X11R6/lib/modules/dri/mach64_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to find driver: mach64_dri.so
I figured this would help out any out there, at least as an update. I think I know how to dri... so I'll be back in a little bit.
/me comes back...
^_^
http://cassianoleal.wordpress.com/20...on-the-mach64/
I now have
direct rendering: Yes.
to basically sum up the problem I had, I had a "missing shared object file" error. These happen to me all the time, believe it or not, and I usually don't have to download anything.
I tried downloading the package
libgl1-mesa-dri - the one that has this file in it - but that didn't work for me. (because of the earlier problem with the whole mis-matched versions)
However - I already had the package on my computer. It turns out that the package installs to
/usr/lib/dri and not
/usr/X11R6/lib/modules/dri. So I added a symlink (after making sure
/usr/X11R6/lib/modules/dri was empty):
~# rm -R /usr/X11R6/lib/modules/dri
~# ln -s /usr/lib/dri /usr/X11R6/lib/modules/dri
I'm updating the script (the one I attached above) to also include all this non-sense (I LOVE it when all I need is a symlink... sure, it pisses me off while I'm searching, but then it's
so easy to fix once you figure it out.)
so Yeah, That's how we got 3d acceleration.
Just for clarity's sake:
I used Ubuntu 8.10 (2.6.24-19-generic).
I changed DRIVER_VS in the script to 1.11.0, so it got that version of the drm files for the mach64.ko kernel module.
The machine's a Sony VAIO laptop (pcg-fxa49).
The video card's an ATI Rage Mobility P/M AGP 2x (01:00:00.0 1002:4c4d) rev 64
The video card's chipset is a "mach64" (which would be a ridiculously impossible speed... if it were even plausible enough to exist ^_^),
Again, I'll post the attachment script in a while, I have to go right now though.
I'll also post my xorg.conf, in case someone needs it.
I wish I could edit all my posts here so that I could make a proper HOWTO on this. Maybe I'll ask the mods about it, or find a more appropriate place on the tubes for it.