(SDL_ShowCursor && SDL_FULLSCREEN && MESA_GLX_FX=f) == crash and burn

I have the following setup:

flags: SDL_FULLSCREEN | SDL_OPENGL
env: MESA_GLX_FX=fullscreen (Mesa-3.2)
card: Voodoo 3 2000.
(the problem has been reproduced with a Voodoo 3 3000 by Xark)

When I call SDL_ShowCursor(0), the Cursor is suddenly visible(!), then the
input locks up, then there’s texture corruption, then more evil. It’s possible
to quickly quit the application before the input lockup occurs, but then the
X display is garbled. Only way out: ssh from outside and kill X.

This happens ONLY when SDL_FULLSCREEN is set. And when MESA_GLX_FX is unset,
SDL_ShowCursor works as described in the formidable documentation on
http://sdldoc.sourceforge.net//

The problem can be reproduced by grabbing the latest GLtron CVS (make sure
you read README.CVS after checkout) and uncommenting the SDL_ShowCursor
lines in system_sdl.c

  • Andreas–
    Check out my 3D lightcycle game: http://www.gltron.org
    More than 60’000 Downloads of the latest version (0.59)