[Xcb] [Bug 84252] DRI3 rendering gets stuck waiting for present idle notify event

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 12 06:24:42 PDT 2015


--- Comment #54 from Uli Schlachter <psychon at znc.in> ---
Created attachment 116463
  --> https://bugs.freedesktop.org/attachment.cgi?id=116463&action=edit
Make _xcb_in_wake_up_next_reader() wake up threads in

Can someone check if this patch for libxcb also fixes the bug?

This replaces half of Michel's patch, so you would still need this part from
that other patch (this part is already committed to libxcb's git master, so you
could also just test master + this patch):

diff --git a/src/xcb_in.c b/src/xcb_in.c
index 623a0a8..2ce5a56 100644
--- a/src/xcb_in.c
+++ b/src/xcb_in.c
@@ -761,6 +761,7 @@ xcb_generic_event_t
*xcb_wait_for_special_event(xcb_connection_t *c,
         if(!_xcb_conn_wait(c, &se->special_event_cond, 0, 0))

+    _xcb_in_wake_up_next_reader(c);
     return event;

Thanks for testing

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150612/1010ffa7/attachment.html>

More information about the Xcb mailing list