Lionel, On Sat, Jun 21, 2003 at 03:33:41PM +0200, Lionel Ulmer wrote: > Hi all, > > I am a Wine developper working on OpenGL and Direct3D support. We sometimes > receive bug reports about Wine not working properly on the DRI, mostly > linked to corrupted textures. > > The big problem is that my main development box has only some old NVIDIA > hardware (a TNT2U) so I can only test with Mesa and NVIDIA's binary drivers > (both working fine). > > As Wine seems to work fine when forcing indirect rendering on the DRI, I > suspect that the issue must be related to the way DRI handle thread-safeness > (as this is the main difference between Wine and any other Linux program). > > So where can I get some explanations how the DRI handle threading ?
Threading is handled by Mesa infrastructure (see the glthread.[ch] files there) - the driver itself it's not aware of the multiple threads, just multiple GL contexts. But since software rendering works OK it must be something more subtle. > And how > could I go on debugging this (knowing that I have also access to a laptop > with a Radeon Mobility chip but which has a rather old DRI version installed > on it - the one shipped with Mandrake 9) ? I don't know which version Mondrake 9 ships, but you really should get yourself a recent version to avoid debugging problems which may already been solved. There are driver snapshots for XFree86 4.3.0 from http://dri.sf.net/snapshots , but if you plan to do some serious debugging it may be easier to compile from CVS (see the web site for more info). You can use the RADEON_DEBUG env var with some values to generate more debugging. See radeon_context.c for more info. José Fonseca PS: The DRI source tree (spite being a cut-down version of the XFree86 source tree) is stil huge. Check the Developer FAQ on http://dri.sf.net/doc/faq for pointers to where the things are. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel