[Bug 84252] DRI3 rendering gets stuck waiting for present idle notify event
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 17 00:46:35 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=84252
--- Comment #32 from Axel Davy <axel.davy at ens.fr> ---
libxcb seems to suffer some issues, and that's potentially the problem here.
Here a dri3 client implementation with workaround to make threading work:
https://github.com/axeldavy/Xnine/blob/master/dri3.c
As you can see, presenting is done with a separate xcb connection than for
everything else. That prevent a bug when a client is waiting for events in a
thread, and with the same connection you present a pixmap.
Also there is some care to prevent two clients from dispatch present events at
the same time.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150317/e8d3e208/attachment.html>
More information about the intel-gfx-bugs
mailing list