Stuart Reeves - 2001-04-14

I've been having trouble with Glide, Mesa and Quake2. Basically, everything works - glX, software renderering, software-X renderering - except the GL renderer in Quake2.

I have recompiled Mesa and Glide many times, so i'm sure that they are correctly done. Every time i start up Quake2 with the following command:

./quake2 +set vid_ref gl

when i'm in the console, i get a report of a lack of X connection (i have compiled Glide without DRI support seeing as i have XF86 3.3.3), so therefore i try starting inside X. When i do this, i get the usual information, and Quake2 creates a screen. At this point Q2 just stops, the screen is left blank and i'm left with nothing to do but ctrl-C the program.

I noticed once that i am getting this message on the console screen that svgalib creates (no. 8):

X Error of failed request: XF86DGAScreenNotActive
        Major opcode: 145 (XFree86-DGA)
        Minor opcode: 2 (XF86DGADirectVideo)
        Serial number: 12
        Current serial number of output stream: 13

This means nothing to me, sadly.

I have tried using the lib3dfxgl.so and libMesaGL.so provided with Q2 instead of my own Mesa libs, but this provides no help. Every time i get this, the messages left are that it's something to do with no being able to set up the modes (CDS?). This also confuses me since i have set up all the correct modes in XF86Config and libvga.config and have tested them all.

Help!

Thanks,
Stuart