[Wayland-bugs] [Bug 90434] weston's toytoolkit hangs on some versions of Mesa, on some hardware platforms
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 13 04:40:23 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90434
Bug ID: 90434
Summary: weston's toytoolkit hangs on some versions of Mesa, on
some hardware platforms
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: weston
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: nerdopolis1 at verizon.net
Created attachment 115738
--> https://bugs.freedesktop.org/attachment.cgi?id=115738&action=edit
running Weston with WAYLAND_DEBUG=server
>From Pekka Paalanen on https://bugs.freedesktop.org/show_bug.cgi?id=86701 :
"The tooltip is a sub-surface (due to migration to xdg-shell). Sub-surfaces
start in synchronized mode, and the mode is never changed here. That means the
frame callback cannot trigger, until the parent wl_surface is committed.
Toytoolkit or weston-desktop-shell does not commit the parent before EGL starts
waiting for the sub-surface's frame callback, which causes the hang.
The immediate thing to investigate is whether EGL even gives the app a chance
to commit the parent wl_surface (which also is a EGLSurface when you use
cairo-egl). If the answer is yes, there is nothing wrong in Mesa, and the bug
is in toytoolkit.
Whether the answer is yes or no, this issue needs to be filed as a separate bug
against Weston's toytoolkit.
As fixing the toytoolkit is very low priority (and I would assume hardware
accelerated GL to be broken the same way), the solution for end users is: do
not configure Weston using --with-cairo=gl nor --with-cairo=glesv2; use the
default --with-cairo=image.
A quick'n'dirty fix would be to set the tooltip sub-surface to desync mode when
it's created. That should avoid the hang, but it may be arguably a wrong
solution. One must be able to use the synchronized mode even with EGL surfaces,
so making sure it can work is essential."
--
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/20150513/168df2ca/attachment.html>
More information about the wayland-bugs
mailing list