"Marcelo E. Magallon" wrote:
>
> Hi,
>
> I'm having a bit of trouble with threads. I have a program that
> creates two threads, both of them get their own window and render to an
> OpenGL context there. They do some renderering and put up a barrier.
> When both threads reach the barrier, they issue a glXSwapBuffers().
> After the first one I get this:
>
> drmRadeonSwapBuffers: return = -22
>
> I have:
>
> OpenGL renderer string: Mesa DRI Radeon 20010402 AGP 2x x86/MMX
>
> with a Linux 2.4.4 kernel.
>
> The program works with LIBGL_ALWAYS_INDIRECT=true
>
> Any hints as to want might be the problem (or where I can start looking
> for it)?
The DRI trunk code has a few problems with thread safety and
swapbuffers (all drivers but tdfx, probably). I've fixed this on
the 3.5 branch. You might try that.
-Brian
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel