Bug 439682 - recent mesa break SDL using opengl games which request a stencil buffer
Summary: recent mesa break SDL using opengl games which request a stencil buffer
Keywords:
Status: CLOSED DUPLICATE of bug 442510
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-30 12:33 UTC by Hans de Goede
Modified: 2008-04-18 22:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-18 22:53:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hans de Goede 2008-03-30 12:33:49 UTC
Description of problem:
-take a fully up2date rawhide (x86_64, r350 card)
-start supertuxkart
-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:
-start blobAndConquer
-goto options -> additional options
-notice how shadow is not available because no stencil buffers were detected.

Comment 1 Hans de Goede 2008-04-15 08:49:19 UTC
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.


Comment 2 Hans de Goede 2008-04-15 18:48:25 UTC
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()


Comment 3 Hans de Goede 2008-04-15 18:51:18 UTC
Darn sorry krh, wrong bug, adding you to bug 442510 instead / too.


Comment 4 Hans de Goede 2008-04-18 22:53:07 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.