On Fri, 17 Sep 2004 10:19:34 +0100 (IST) Dave Airlie <[EMAIL PROTECTED]> wrote:
> > Can someone run glxinfo with LIBGL_DEBUG=all against a Mesa built driver, > do you see > libGL warning: 3D driver claims to not support visual 0x23 > libGL warning: 3D driver claims to not support visual 0x24 > libGL warning: 3D driver claims to not support visual 0x25 > libGL warning: 3D driver claims to not support visual 0x26 > libGL warning: 3D driver claims to not support visual 0x27 > libGL warning: 3D driver claims to not support visual 0x29 > libGL warning: 3D driver claims to not support visual 0x2b > libGL warning: 3D driver claims to not support visual 0x2c > libGL warning: 3D driver claims to not support visual 0x2d > libGL warning: 3D driver claims to not support visual 0x2e > libGL warning: 3D driver claims to not support visual 0x2f > libGL warning: 3D driver claims to not support visual 0x31 > > Ian, I think this might be similiar to the bug I fixed in the i8x0 > previously.. I had the same problem with Savage when I converted it to the new interface, except I always saw these messages even without LIBGL_DEBUG. I needed to fix the visual creation in the DDX driver to match the visuals created in the 3D driver. I'm attaching a patch that fixed it for savage. Hope this helps. Felix | Felix Kühling <[EMAIL PROTECTED]> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 |
Index: savage_dri.c =================================================================== RCS file: /cvs/dri/xc/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c,v retrieving revision 1.4 diff -u -r1.4 savage_dri.c --- savage_dri.c 2 Jun 2004 04:56:16 -0000 1.4 +++ savage_dri.c 17 Sep 2004 10:53:05 -0000 @@ -195,11 +195,11 @@ pConfigs[i].auxBuffers = 0; pConfigs[i].level = 0; if ( accum || stencil ) { - pConfigs[i].visualRating = GLX_SLOW_VISUAL_EXT; + pConfigs[i].visualRating = GLX_SLOW_CONFIG; } else { - pConfigs[i].visualRating = GLX_NONE_EXT; + pConfigs[i].visualRating = GLX_NONE; } - pConfigs[i].transparentPixel = 0; + pConfigs[i].transparentPixel = GLX_NONE; pConfigs[i].transparentRed = 0; pConfigs[i].transparentGreen = 0; pConfigs[i].transparentBlue = 0;