[Bug 15515] PATCH: glXChooseVisual behavior change causes SDL app using a stencil buffer to fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 18 03:20:51 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15515


Hans de Goede <j.w.r.degoede at hhs.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mesa3d-                     |xorg-driver-ati at lists.x.org
                   |dev at lists.sourceforge.net   |
          Component|GLX                         |Driver/Radeon
            Product|Mesa                        |xorg
          QAContact|                            |xorg-team at lists.x.org
            Version|CVS                         |git




--- Comment #3 from Hans de Goede <j.w.r.degoede at hhs.nl>  2008-04-18 03:20:50 PST ---
Okay, upstream has made the following comment with regards to this bug:
"It just needs to be fixed to include stencil bits in the visuals when
appropriate."

Some more investigation from my side has learned that on my intel graphics
machine not only the fbconfigs but also the normal visuals report stencil bits
(and this makes stencil using SDL apps work), here is the relevant output of
glxinfo:

3 GLX Visuals
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x60 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None

Where on my ati r300, x86_64 system, the stcl column always reports 0 for the
visuals, and only reports stcl bits in the fbconfigs.

I've investigated the mesa code, and the reported stencil bits are gotten from
the X-server, and I assume through the X-server from the X-server driver, so
I'm changing the components and assignee to match.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list