Red Hat Bugzilla – Bug 439682
recent mesa break SDL using opengl games which request a stencil buffer
Last modified: 2008-04-18 18:53:07 EDT
Description of problem:
-take a fully up2date rawhide (x86_64, r350 card)
-get this message:
FATAL: ssgInit called without a valid OpenGL context.
This goes away if you edit the source code of supertuxkart to not request a
stencil buffer, when a stencil buffer is requested the SDL_SetVideoMode() call
fails (because it cannot find a visual with a stencilbuffer I guess), so there
is no glContext, causing the above error.
Other symptoms, same problem:
-goto options -> additional options
-notice how shadow is not available because no stencil buffers were detected.
I've filed a new bug with a better description and a patch for the supertuxkart
problem: bug 442510. This still leaves the blobAndConquer stencil buffer support
detection not working, I'll look into that as time permits.
krh, adding you to the CC as I just noticed the commit causing (exposing) this
issue was done by you. Any input on howto move forward with this would be much
appreciated, currently I'm thinking about either:
* use the patch attached here
* patch applications to use / also try glXChooseFBConfig()
Darn sorry krh, wrong bug, adding you to bug 442510 instead / too.
bug 442510 now contains a much improved patch fixing both issues reported here,
closing this as a dup of bug 442510.
*** This bug has been marked as a duplicate of 442510 ***