GNOME Bugzilla – Bug 702202
conform tests hang on wayland
Last modified: 2013-06-28 10:39:32 UTC
The following conform tests hang when ran on Wayland/Weston: export COGL_RENDERER=wayland export CLUTTER_BACKEND=wayland ./test-conformance -k --verbose -p /conform/texture/cairo/texture_cairo ./test-conformance -k --verbose -p /conform/texture/texture_fbo ./test-conformance -k --verbose -p /conform/actor/actor_offscreen_redirect These tests don't hang on other backends. System: wayland (master) heads/master-0-gbca4124 fontconfig (master) heads/master-0-gcd9b103 drm (master) heads/master-0-ga0178c0 mesa (master) heads/master-0-g6057d7b libxkbcommon (master) xkbcommon-0.3.1-0-g9f01bd1 pixman (master) heads/master-0-g279bdcd cairo (master) heads/master-0-gc51b850 weston (master) heads/master-0-g26ed73c cogl (cogl-1.16) heads/cogl-1.16-0-g534e535 clutter (clutter-1.16) heads/clutter-1.16-0-gfa933b5
Created attachment 247905 [details] [review] wayland: Do not poll the Wayland socket for events Since Cogl also polls on this file descriptor we can get into situations where our event source is woken up to handle events but those events have instead been handled by Cogl resulting in the source sitting in poll(). We can safely rely on Cogl to handle the polling on the event source and to dispatch those events.
Review of attachment 247905 [details] [review]: looks okay to me.
Created attachment 247911 [details] [review] wayland: Do not poll the Wayland socket for events Since Cogl also polls on this file descriptor we can get into situations where our event source is woken up to handle events but those events have instead been handled by Cogl resulting in the source sitting in poll(). We can safely rely on Cogl to handle the polling on the event source and to dispatch those events.
Created attachment 247914 [details] [review] wayland: Do not poll the Wayland socket for events Since Cogl also polls on this file descriptor we can get into situations where our event source is woken up to handle events but those events have instead been handled by Cogl resulting in the source sitting in poll(). We can safely rely on Cogl to handle the polling on the event source and to dispatch those events.
Attachment 247914 [details] pushed as cba63dd - wayland: Do not poll the Wayland socket for events