<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - DRI3 rendering gets stuck waiting for present idle notify event"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84252#c32">Comment # 32</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - DRI3 rendering gets stuck waiting for present idle notify event"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84252">bug 84252</a>
from <span class="vcard"><a class="email" href="mailto:axel.davy@ens.fr" title="Axel Davy <axel.davy@ens.fr>"> <span class="fn">Axel Davy</span></a>
</span></b>
<pre>libxcb seems to suffer some issues, and that's potentially the problem here.
Here a dri3 client implementation with workaround to make threading work:
<a href="https://github.com/axeldavy/Xnine/blob/master/dri3.c">https://github.com/axeldavy/Xnine/blob/master/dri3.c</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>