On Sat, 2009-04-18 at 13:05 -0500, Mario Limonciello wrote:
> 
> 2009/4/18 Michel Dänzer <[email protected]>
>         The main difference I can see is that your patch adds
>         fbconfigs / GLX
>         visuals with depth buffer sizes of 16 and 8. This is mostly
>         incorrect
>         for various reasons, in particular the hardware doesn't
>         support an 8 bit
>         depth buffer and only supports 24 bit depth buffer with
>         stencil.
> Indeed, dropping the 8 bit portion of my patch it still works.   

See above, the 8 bit part is only one problem. I'm afraid the patch just
doesn't make much sense.


>         So I suspect the MythTV failure is really an application /
>         toolkit bug.
>         Maybe it picks up the 32 bit ARGB visual in one case but not
>         the other;
>         does running mythtv with XLIB_SKIP_ARGB_VISUALS=1 work around
>         the
>         problem? If not, please provide some more information about
>         the GLX
>         properties it looks for.
> 
> Yes, using that env variable appears to work around the problem.
> What's that actually doing?

It suppresses the depth 32 visual.

> Is that more indicative of the root cause?

Yes, apparently the app / toolkit ends up using the depth 32 visual
(maybe because without your patch it doesn't have stencil bits - in
which case your patch probably won't help either when running the X
server in depth 16 or with Option "DepthBits" "16") but can't really
handle it.

Up until recently, the depth 32 visual was marked as nonconformant to
prevent apps from picking it up when they don't really need the real
alpha channel. Maybe we should go back to doing that (or mark it as slow
instead), but some people would argue that it's up to the apps /
toolkits to choose the visual more carefully.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to