On Sat, 2009-04-18 at 16:05 -0500, Mario Limonciello wrote: > > Considering my last email, how is this patch that I am attaching? > Since you said hardware only supports a 24 bit depth buffer with > stencil, that's what should be appended to fbconfigs. It works for me > in both situations, with and without depthbits set to 16.
It still doesn't make sense I'm afraid - you're calling radeonFillInModes() with pixel_bits=24, but that function (and the 3D engine in the hardware) only supports 16 and 32. > 2009/4/18 Mario Limonciello <supe...@ubuntu.com> > > 2009/4/18 Michel Dänzer <mic...@daenzer.net> > > > > 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. > > Am I just reading the code wrong then? It looks like both > before my patch and with my patch, stencil_bits would be set > to 8 on the 32 depth. You had also said that the hardware > only supports a 24 bit depth buffer with stencil. In my > patch, wasn't stencil_bits also set to 8 on 24 bit? > > > > 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. > > > > The perplexing thing then is that this is only happening with > radeon. I've checked with -intel, -vesa, and -nv and they're > all trouble free. I'd assume they're all choosing the default > visual as well, but the particular problem doesn't come up > with mesa 7.4 on them. -vesa and -nv aren't particularly interesting for this as they don't support hardware acceleration. Have you compared the GLX visuals between -intel and the Radeon drivers? Also, have you checked what the app is looking for and which visual it ends up using in each case? It would be good to know that rather than second guessing... -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev