[SDL] 2D and/or 3D?

David Olofson david at gardena.net
Sat Dec 16 16:16:25 PST 2000


On Saturday 16 December 2000 13:46, Sam Lantinga wrote:
> > > I tried and it crashed my test application. Here's the error
> > > message:
> > >
> > > X Error of failed request:  BadValue (integer parameter out of
> > > range for operation)
> > >   Major opcode of failed request:  129 (XFree86-DRI)
> > >   Minor opcode of failed request:  9 ()
> > >   Value in failed request:  0x45
> > >   Serial number of failed request:  34
> > >   Current serial number in output stream:  34
> > >
> > > Are you sure it's possible to switch the video mode?

This looks very familiar... I get this when I build and reinstall 
some OpenGL related package (can't remember which one...), which 
replaces some of the GL libs.

The fix is to remove all GL libs (libGL, libGLU, libglut) and 
reinstall the OpenGL driver package, then run ldconfig, unless the 
install script does so.

In my cases (two Red Hat 7.0 systems with XFree86 3.3.6 + Utah-GLX 
0.10-pre1) a 'make install' of Utah-GLX with the GLU and GLUT libs 
(ported from Mesa and included with Utah-GLX) + copying the glx.so to 
the right place [the install script fails to do that for some reason] 
fixes the problem.


//David

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david at linuxdj.com -'




More information about the SDL mailing list