Re: GL problems (was Re: Commenced update to XFree86(tm) 4.5.0 on MirOS BSD)

David Dawes <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.