GNOME Bugzilla – Bug 696107
Conformance test "actor-offscreen-redirect" fails on Wayland/Weston
Last modified: 2021-06-10 11:34:15 UTC
The clutter conform test "/conform/actor/actor_offscreen_redirect" fails on Wayland/Weston with the following report: GTest: random seed: R02S9588d4b835146e1c8eba812ab2f8e4fa GTest: run: /conform/actor/actor_offscreen_redirect ** ERROR:actor-offscreen-redirect.c:145:verify_results: assertion failed (ABS ((int) expected_color_green - (int) pixel[1]) <= 2): (255 <= 2) (MSG: ERROR:actor-offscreen-redirect.c:145:verify_results: assertion failed (ABS ((int) expected_color_green - (int) pixel[1]) <= 2): (255 <= 2)) Aborted (core dumped) The test passes fine on X11. Steps: 1. Launch Weston (drm or x11 backend) 2. export CLUTTER_BACKEND=wayland 3. export COGL_RENDERER=egl_wayland 4. In clutter/tests/conform directory, execute "./test-conformance -k --verbose -p /conform/actor/actor_offscreen_redirect" Source: wayland (master) heads/master-0-g8f1386f drm (master) heads/master-0-g36a2daa macros (master) heads/master-0-gc98b41d glproto (master) heads/master-0-g8e3407e dri2proto (master) heads/master-0-gead89ad mesa (master) heads/master-0-g03eef7f kbproto (master) heads/master-0-gf7022f5 libX11 (master) libX11-1.5.99.901-0-g3996543 libxkbcommon (master) heads/master-0-gbb620df pixman (master) heads/master-0-gaaae3d8 cairo (master) heads/master-0-gc141615 weston (master) heads/master-0-ge7144fd glib (master) heads/master-0-g55a235d atk (master) heads/master-0-g5101781 cogl (cogl-1.14) heads/cogl-1.14-0-g92c1d7a clutter (clutter-1.14) heads/clutter-1.14-0-g305616a
It looks like this also fails when using Cogl's EGL X backend so it maybe be a problem with EGL rather than specifically a Wayland problem. When the first test using an offscreen buffer is used the stage seems to get cleared to fully transparent black at some point so the red rectangle gets blended with black instead of white. I haven't been able to work out why this is happening though.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of clutter, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a ticket at https://gitlab.gnome.org/GNOME/clutter/-/issues/ Thank you for your understanding and your help.