GLX error

Hi there

I have got mandrake 8.2 and voodoo 3000 with the DRI libraries installed, I
have just started to try out SDL and the code compiled but when I tried to
run the program it had this error

Loading required GL library /usr/X11R6/lib/libGL.so.1.2
SDL ERROR =:‘Couldn’t find matching GLX visual’ at line 49

just wondering what I have missed, I have got the
load "glx"
in the XF8config-4 file

Thanks
Ian

This means that there is no appropriate visual defined in your XF86Config-4
file.

For example you requested a depth of 32 bit
(via SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 32 ); ) but your X server (resp.
your XF86Config-4) allows only 16 bit depth.

http://sdldoc.csn.ul.ie/sdlglsetattribute.php
http://www.cevis.uni-bremen.de/~uwe/opengl/glXChooseVisual.htmlOn Wednesday 15 May 2002 11:31, ian wrote:

I have got mandrake 8.2 and voodoo 3000 with the DRI libraries installed, I
have just started to try out SDL and the code compiled but when I tried to
run the program it had this error

Loading required GL library /usr/X11R6/lib/libGL.so.1.2
SDL ERROR =:‘Couldn’t find matching GLX visual’ at line 49


Johannes Schmidt

< http://libufo.sourceforge.net > Your widget set for OpenGL

What is your 3D card model ?

If you have an NVidia chip, have you tried to set the
driver name to “nvidia” (default driver name is “nv”) in
the device section in your XF86config-4 ?

Hi there

I have got mandrake 8.2 and voodoo 3000 with the DRI
libraries installed, I
have just started to try out SDL and the code compiled
but when I tried to
run the program it had this error

Loading required GL library /usr/X11R6/lib/libGL.so.1.2
SDL ERROR =:‘Couldn’t find matching GLX visual’ at line
49> Subject : [SDL] GLX error

just wondering what I have missed, I have got the
load "glx"
in the XF8config-4 file

Thanks
Ian


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Profitez des 2 offres exceptionnelles Tiscali !
“Internet Gratuit le Jour” et "Modem ADSL rembours?"
Cliquez ici, http://register.tiscali.fr/forfaits_ls/
Offres soumises ? conditions.

Thanks for the help

I did take out the APLHA_SIZE value and that did correct the problem :slight_smile:
How can I make it so that the APLHA_SIZE can be used, do I have to alter the
configuration in XF86Config-4 file ?

Thanks
IanOn Wednesday 15 May 2002 11:25 am, Johannes Schmidt wrote:

On Wednesday 15 May 2002 11:31, ian wrote:

I have got mandrake 8.2 and voodoo 3000 with the DRI libraries installed,
I have just started to try out SDL and the code compiled but when I tried
to run the program it had this error

Loading required GL library /usr/X11R6/lib/libGL.so.1.2
SDL ERROR =:‘Couldn’t find matching GLX visual’ at line 49

This means that there is no appropriate visual defined in your XF86Config-4
file.

For example you requested a depth of 32 bit
(via SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 32 ); ) but your X server
(resp. your XF86Config-4) allows only 16 bit depth.

http://sdldoc.csn.ul.ie/sdlglsetattribute.php
http://www.cevis.uni-bremen.de/~uwe/opengl/glXChooseVisual.html

have you tried the “glxinfo -v” command at prompt ?
it least all available visuals and pixels formats
supported by your server.

Thanks for the help

I did take out the APLHA_SIZE value and that did
correct the problem :slight_smile:
How can I make it so that the APLHA_SIZE can be used,
do I have to alter the> configuration in XF86Config-4 file ?

Thanks
Ian


Profitez des 2 offres exceptionnelles Tiscali !
“Internet Gratuit le Jour” et "Modem ADSL rembours?"
Cliquez ici, http://register.tiscali.fr/forfaits_ls/
Offres soumises ? conditions.