On Wed, Mar 30, 2005 at 05:35:17PM +0000, Thorsten Glaser wrote: >David Dawes dixit: > >>Can you try running glxgears with ktrace or truss (or something like that), >>and see how that compares with apps that work OK? > >Sure. > >Here's the ktrace and systrace -A output for glxgears (does not work >natively, works in the emulation) and xlock (works for both).
One difference I see is that glxgears is linked against libpthread, while xlock is not. In the xlock case, the socket() system call is followed soon after by a connect(). In the glxgears case, the socket() call appears successful (same positive return value as in the xlock case), but the behaviour thereafter is quite different. Try editing xc/lib/Xtrans/Xtransint.h and changing the definition of XTRANSDEBUG to 5, rebuilding libX11, and running glxgears against that. This will enable more of the xtrans messages and may help narrow down the failure point. BTW, the ktrace for the glxgears in emulation shows it failing because of not finding libpthread.so.6.0. BTW, what is this emulation? David _______________________________________________ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel