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

          Priority: medium
            Bug ID: 60942
          Assignee: [email protected]
           Summary: Threaded wayland EGL clients stall
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to