<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Threaded wayland EGL clients stall"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60942">60942</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Threaded wayland EGL clients stall
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>oreaus@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>wayland
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=74924" name="attach_74924" title="Patch to make simple-egl use a separate thread for rendering">attachment 74924</a> <a href="attachment.cgi?id=74924&action=edit" title="Patch to make simple-egl use a separate thread for rendering">[details]</a></span>
Patch to make simple-egl use a separate thread for rendering
I am trying to port a threaded client to wayland but I have run across what I
believe to be a bug. The scenario is:
1) Client starts a rendering thread that handles EGL init
2) Client starts a main loop back in the main thread that calls
wl_display_dispatch()
Expected: EGL calls return and succeed
Actual: EGL calls stall and to do not return
After toying with this a bit, I decided to try making weston's simple-egl
threaded to see what happens. I noticed the same problem. So, I am posting a
patch to have simple-egl run egl setup in a different thread and the backtrace
I get from gdb. I'm not sure if this is a bug in wayland or my code.
I am running latest wayland/mesa/weston stack from git. OS is x86_64. Intel
Sandybridge GPU. Kernel 3.5.0-24-generic.
Thanks.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>