[Xcb] [PATCH v2 2/2] Also signal special event waiters in _xcb_in_wake_up_next_reader

Michel Dänzer michel at daenzer.net
Sun Jun 14 23:29:45 PDT 2015

On 12.06.2015 01:50, Uli Schlachter wrote:
> Am 11.06.2015 um 07:54 schrieb Michel Dänzer:
> [...]
>>>> As described in the commit log, the test case for this patch is a
>>>> different one: The Mesa demos program called glthreads, which creates
>>>> several threads rendering with OpenGL (to one separate window each)
>>>> concurrently.
>>>> The problem fixed by this patch is that glthreads often hangs when
>>>> trying to quit by pressing the Escape key.
>>> Is there any easy way to get glthreads on debian that doesn't involve building
>>> something "big" like all of mesa?
>> git clone git://anongit.freedesktop.org/mesa/demos
>> cd demos
>> ./autogen.sh
>> make -C src/xdemos glthreads
> Thanks, that was indeed relatively easy (and only required 7MiB of additional
> packages).
> Sadly, I cannot reproduce this hang, but I can easily reproduce the Xlib problem
> of "only progresses when an event is received" / "XNextEvent() in one threads
> blocks other threads from receiving a reply".

I get that when using DRI2 instead of DRI3.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the Xcb mailing list