Re: GL problems
David Dawes <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 22, 2005 at 08:30:55PM +0000, Thorsten Glaser wrote: >David Dawes dixit: > >>Does replacing the fprintf with sleep(1) make a difference? > >Even with usleep(1), glxgears still works. I've committed that >as a temporary workaround now, till we discover the real problem. This points to an underlying problem elsewhere. I keep mentioning libpthread because that appears to be the only difference between clients that have the problem and those that don't. An XFree86 build with the threading options disabled should confirm this one way or the other (a look at the 'Multi-thread safe libs' portion of OpenBSD.cf should show what to change for the build). Another useful data point might be a delay loop in place of the usleep(). Use volatile variables or build with optimisation disabled to avoid the loop being optimised out of existence by the compiler. David