From: <the...@ya...> - 2002-12-27 21:02:40
|
> > I have been trawling though pages of outdated and conflicting > > information for days to try and get 3D acceleration working on my > > laptop under linux, and have gotten nowhere. > > > > Doing 'lspci' tells me I have a: > > > > 01:00.0 VGA compatible controller: ATI Technologies Inc Rage > Mobility > > P/M AGP 2x (rev 64) > > Don't give up - it does work... > > I have the exact same entry in lspci (Sony Vaio FX601), and I use the > driver from http://www.retinalburn.net/linux/index.html as mentioned > by > Carl Wilhelm Soderstrom in the other reply. Using the suggested > XF86Config-4 entries from that site, things work fine for what I want > it > to do (mostly small games like Tuxracer - I haven't really tried > getting > anything bigger to work yet. > > I'm using the Xv-capable merged driver from that site so I get Xv as > well. Cheers for replying so far folks, but (and there's always a `but'...) I think I might still be missing something. I got the sources from the link above, and got them compiled. In order to compile the sources I had to comment out a few lines in one of the Makefile's so that it didn't touch the kernel drivers for other cards. See, I'm using kernel version 2.5.34, and although it's recommended that a 2.4.x series kernel is used, everything relevant to the mach64 chipset compiled on my kernel version. The kernel module (mach64.o) loads quite happily when the X server is started, and doesn't spit out any error messages. The X server seems very happy with the DRI idea too: "(II) LoadModule: "glx" (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a (II) Module glx: vendor="The XFree86 Project" compiled for 4.2.0, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading sub module "GLcore" (II) LoadModule: "GLcore" (II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a (II) Loading extension GLX (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a (II) Module dri: vendor="The XFree86 Project" compiled for 4.2.0, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a (II) Module drm: vendor="The XFree86 Project" compiled for 4.2.0, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading extension XFree86-DRI (II) LoadModule: "ati" (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o (II) Module ati: vendor="The XFree86 Project" compiled for 4.2.0, module version = 6.4.8 Module class: XFree86 Video Driver ABI class: XFree86 Video Driver, version 0.5" ...Running glxinfo I see the appropriate lines: "direct rendering: Yes ... OpenGL vendor string: Gareth Hughes, Leif Delgass, Jos? Fonseca OpenGL renderer string: Mesa DRI Mach64 20020227 [Rage Pro] AGP 2x x86/MMX/3DNow! OpenGL version string: 1.2 Mesa 4.0.3" ... and the /dev/dri/card0 exists with the correct permissions, thanks to the DRI section in my XF86Config files, so all seems well and good. So why is it that when I run glxgears it runs just as fast as it did before I got things up to this level? The version of glquake I have (which by all means should run, since it's not that old version of glquake that only ran on 3dfx cards -- see http://mfcn.ilo.de/glxquake/) runs slower than the x11 version of quake. I have done depmod and ldconfig's after getting everything installed, so the problem doesn't lie there... grr ... Ideas? Suggestions? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |