[H-GEN] DRI/MESA Problems.

Paul Gearon pag at pisoftware.com
Thu Sep 4 23:21:44 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Joe Skilton wrote:
> After installing linux-dri I find that Quake 3 finds the linux compatibility 
> libGL.so.1 no problems, but is now trying to use GLIDE to run my overly 
> obviously NOT glide video card, a Radeon 9k Pro.  The reason why this is 
> happening escapes me, and apparently Google too as the sources from there 
> have been quite unrewarding.
> 
> Does anyone know how the Linux-DRI works?, and if so can I force it to NOT use 
> glide???  I have encluded the error output below, incase that helps: 

Wow.  I'd forgotten about Glide.  That's a real blast from the past.  I'm 
surprised you managed to set it up, given that no one uses 3DFx anymore (do 
they?).

I've never used a Radeon card before, but I've set up DRI for Matrox and 
nVidia, and they were pretty much the same.

First of all, you may need the agpgart module installed (nVidia doesn't, as 
their driver already does this, but you may want it.  Check this out for 
Radeon, as I'm too lazy).  If you need it, it's in your kernel under 
"character devices".

Also in Character devices you'll find "DRM 4.1 drivers" (well it's 4.1 in 
kernel 2.4.20).  You'll want the ATI Radeon driver selected here, and the 
module is called readeon.o.

You'll need to have the radeon module installed (and possibly the agpgart).

Now for XFree85 4 to load up DRI with glx support you need the following lines 
in your XF86Config-4 file:
   Load "dri"
   Load "glx"

The dri driver above is found as:
   /usr/X11R6/lib/modules/dri/radeon_dri.so

Of course, in your screen's "Device" section you'll need to mention the driver 
for your card, which should be:
   Driver "radeon"

On Debian systems this driver is:
   /usr/X11R6/lib/modules/driver/radeon_drv.o

While starting xfree86 you should see encouraging things like:
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
         compiled for 4.1.0.1, 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.1.0.1, module version = 1.0.0
         ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI

(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
         compiled for 4.0.2, module version = 1.0.1512
         Module class: XFree86 Server Extension
         ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX


Obviously, you'll see a different vendor ID for the GLX module.

Hopefully this gets you moving in the right direction...

-- 
Regards,
Paul Gearon

Software Engineer                Telephone:   +61 7 3876 2188
Plugged In Software              Fax:         +61 7 3876 4899
http://www.PIsoftware.com        PGP Key available via finger

Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum
immane mittam.
(Translation from latin: "I have a catapult. Give me all the money,
or I will fling an enormous rock at your head.")



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list