[Wayland-bugs] [Bug 60942] New: Threaded wayland EGL clients stall

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 15 21:09:21 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60942

          Priority: medium
            Bug ID: 60942
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Threaded wayland EGL clients stall
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: oreaus at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: wayland
           Product: Wayland

Created attachment 74924
  --> https://bugs.freedesktop.org/attachment.cgi?id=74924&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130216/73c6c1f3/attachment-0001.html>


More information about the Wayland-bugs mailing list