Fedora Core 3, OpenGL, SDL runtime problem

I recently installed Fedora Core 3 (FC3) on my desktop containing a Matrox G400. I’ve written a little test app that uses SDL and OpenGL. It runs on other platforms but is crashing on FC3.

I’m getting:

$ ./sdl_gl_test
Found bpp = 32
*** Didn't find hw_available. Setting vid_flags |= SDL_SWSURFACE.
*** Didn't find blit_hw. Not setting vid_flags with SDL_HWACCEL.
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
Unable to set video mode. SDL error: "Couldn't find matching GLX visual". Quitting.

Anybody seeing anything similar on their FC3 systems? Any idea why it’s failing?

Thanks.

Whoops. Just an error I was making in setting the video mode with SDL.

I posted the code here in case it might help anyone getting started using SDL and OpenGL with C++:
http://users.bestweb.net/~john3g/sdl_gl_test.tar.bz2

—J

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.