weston issueshttps://gitlab.freedesktop.org/wayland/weston/-/issues2024-02-22T14:29:41Zhttps://gitlab.freedesktop.org/wayland/weston/-/issues/879Follow-up from "Speed up tests runtime": reduce HIGHEST_OUTPUT_REFRESH usage2024-02-22T14:29:41ZPekka Paalanenppaalanen@gmail.comFollow-up from "Speed up tests runtime": reduce HIGHEST_OUTPUT_REFRESH usageThe following discussion from !1405 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1405#note_2291969): (+3 comments)
> I'd rather the test suite defaults to rep...The following discussion from !1405 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1405#note_2291969): (+3 comments)
> I'd rather the test suite defaults to repaint-only-on-capture, and then test fixtures that need a timed cadence override that explicitly. That way we get a good picture of which tests might be timing sensitive and/or could be fixed to not need it.
>
> To me the main point of this MR is stop using an arbitrary timeout and just run as fast as the CPU goes whenever possible.
There are tests that really need `HIGHEST_OUTPUT_REFRESH` and then there are those who should not need it (work by repaint on capture only) but for some reason still wait for frame callbacks. See the above thread for more details.
Go through each test and drop `HIGHEST_OUTPUT_REFRESH` if possible by adjusting code to not need to wait for frame callbacks anymore and rely on screen capturing instead.https://gitlab.freedesktop.org/wayland/weston/-/issues/796Xwayland test intermittently fails with timeout2023-08-09T11:58:14ZDaniel Stonedaniel@fooishbar.orgXwayland test intermittently fails with timeoutSometimes Xwayland fails with a timeout. It's not really clear why, but for some reason the client doesn't seem to get its `PROPERTY_NOTIFY` back, so presumably there's a race ... somewhere.
Compositor log:
```
[12:49:31.079] created w...Sometimes Xwayland fails with a timeout. It's not really clear why, but for some reason the client doesn't seem to get its `PROPERTY_NOTIFY` back, so presumably there's a race ... somewhere.
Compositor log:
```
[12:49:31.079] created wm, root 1298
[2023-08-09 12:49:31.080][xwm-wm-x11] XCB_CREATE_NOTIFY (window 2097153, at (0, 0), width 10, height 10, ours)
[2023-08-09 12:49:31.080][xwm-wm-x11] XCB_CREATE_NOTIFY (window 2097154, at (0, 0), width 8192, height 8192, ours)
[2023-08-09 12:49:31.082][xwm-wm-x11] XCB_CREATE_NOTIFY (window 2097191, at (0, 0), width 10, height 10, ours)
[2023-08-09 12:49:31.082][xwm-wm-x11] XCB_CREATE_NOTIFY (window 4194305, at (100, 100), width 100, height 100)
handle_event_set_pending: Added pending event id 28 - name PROPERTY_NOTIFY, wid 4194305
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
[2023-08-09 12:49:31.099][xwm-wm-x11] XCB_MAPPING_NOTIFY
[2023-08-09 12:49:31.099][xwm-wm-x11] XCB_MAPPING_NOTIFY
[2023-08-09 12:49:31.100][xwm-wm-x11] XCB_PROPERTY_NOTIFY: window 4194305, _NET_WM_NAME: STRING/8, length 20 (value_len 20): "Xwayland Test Window"
```
Test backtrace:
```
(gdb) t a a bt
Thread 2 (Thread 0x7f44f592b6c0 (LWP 699519) "client"):
#0 0x00007f44f9af7450 in ppoll () at /lib64/libc.so.6
#1 0x00007f44fa091302 in ppoll () at /lib64/libasan.so.8
#2 0x00000000002266b0 in poll_for_event (conn=0x62a00000c200) at ../tests/xcb-client-helper.c:393
#3 0x0000000000226e0f in handle_events_x11 (window=0x60e000007120) at ../tests/xcb-client-helper.c:481
#4 0x0000000000212d64 in handle_events_and_check_flags (win=0x60e000007120, flag=PROPERTY_NAME) at ../tests/xcb-client-helper.h:193
#5 0x00000000002137cc in xwayland_client_test (_wet_suite_data=0x611000000918) at ../tests/xwayland-test.c:135
#6 0x000000000021362d in wrapxwayland_client_test (_wet_suite_data=0x611000000918, data=0x0) at ../tests/xwayland-test.c:115
#7 0x0000000000222fcd in run_test (suite_data=0x611000000918, fixture_nr=1, t=0x210e80 <testxwayland_client_test>, data=0x0, iteration=0) at ../tests/weston-test-runner.c:169
#8 0x0000000000223688 in run_case (suite_data=0x611000000918, t=0x210e80 <testxwayland_client_test>, test_data=0x0, iteration=0) at ../tests/weston-test-runner.c:284
#9 0x000000000022340f in for_each_test_case (data=0x611000000918, cb=0x2234f2 <run_case>) at ../tests/weston-test-runner.c:242
#10 0x000000000022395e in testsuite_run (data=0x611000000918) at ../tests/weston-test-runner.c:319
#11 0x00007f44f83188cd in client_thread_routine (data_=0x611000000918) at ../tests/weston-test.c:639
#12 0x00007f44f9a7e907 in start_thread () at /lib64/libc.so.6
#13 0x00007f44f9b04870 in clone3 () at /lib64/libc.so.6
Thread 1 (Thread 0x7f44f8d4d940 (LWP 699514) "test-xwayland"):
#0 0x00007f44f9b04c72 in epoll_wait () at /lib64/libc.so.6
#1 0x00007f44f9d7eae2 in wl_event_loop_dispatch (loop=0x60d000000450, timeout=timeout@entry=-1) at ../src/event-loop.c:1004
#2 0x00007f44f9d7c8a5 in wl_display_run (display=0x611000000b80) at ../src/wayland-server.c:1493
#3 0x00007f44f9fe3cf6 in wet_main (argc=1, argv=0x60e0000003c0, test_data=0x7f44f6f00140) at ../compositor/main.c:4244
#4 0x0000000000220faf in execute_compositor (setup=0x7f44f6f00030, data=0x611000000918) at ../tests/weston-test-fixture-compositor.c:410
#5 0x00000000002248c1 in weston_test_harness_execute_as_client (harness=0x611000000900, setup=0x7f44f6f00030) at ../tests/weston-test-runner.c:536
#6 0x0000000000212f06 in fixture_setup (harness=0x611000000900) at ../tests/xwayland-test.c:63
#7 0x0000000000212f81 in fixture_setup_run_ (harness=0x611000000900, arg_=0x0) at ../tests/xwayland-test.c:65
#8 0x0000000000224ee1 in main (argc=1, argv=0x7ffd74051968) at ../tests/weston-test-runner.c:684
```https://gitlab.freedesktop.org/wayland/weston/-/issues/768Remove global variable from test suite2023-06-30T11:43:28ZDaniel Stonedaniel@fooishbar.orgRemove global variable from test suiteThe following discussion from !1286 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1286#note_1978625):
> Maybe this is the trick to get rid of
> ```
> s...The following discussion from !1286 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1286#note_1978625):
> Maybe this is the trick to get rid of
> ```
> static const struct weston_test_run_info *test_run_info_;
> ```
> as well, in another MR.https://gitlab.freedesktop.org/wayland/weston/-/issues/756cleanup after cairo / xwayland / font map hash table destroy2023-06-07T12:06:27ZMarius Vladcleanup after cairo / xwayland / font map hash table destroyStarting with commit 823580e07094feab7d2a8a229fd7bd3a81dab5bc, the headless backend explicitly calls `cleanup_after_cairo()`
which seems to trigger an assert within cairo, when `cairo_debug_reset_static_data()` is called. This happens *o...Starting with commit 823580e07094feab7d2a8a229fd7bd3a81dab5bc, the headless backend explicitly calls `cleanup_after_cairo()`
which seems to trigger an assert within cairo, when `cairo_debug_reset_static_data()` is called. This happens *only*
when we run xwayland-test, and it happens once in a few runs, suggesting a race somewhere.
I initially thought this might be a result of `cairo_xcb_surface_create_with_xrender_format()` which still holds a reference
somehow. But going a bit deeper it seems that the specific assert would reference the same hash table (which the current code should
release all possible references), the font_map one, while `cairo_xcb_surface_create_with_xrender_format()` operates on a distinct hash table.
The trace looks like this:
```
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007f29e32dbd2f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 0x00007f29e328cef2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007f29e3277472 in __GI_abort () at ./stdlib/abort.c:79
#4 0x00007f29e3277395 in __assert_fail_base
(fmt=0x7f29e33eba70 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f29e357e47b "hash_table->live_entries == 0", file=file@entry=0x7f29e357e467 "../src/cairo-hash.c", line=line@entry=219, function=function@entry=0x7f29e357e5c0 <__PRETTY_FUNCTION__.8> "_cairo_hash_table_destroy") at ./assert/assert.c:92
#5 0x00007f29e3285df2 in __GI___assert_fail
(assertion=0x7f29e357e47b "hash_table->live_entries == 0", file=0x7f29e357e467 "../src/cairo-hash.c", line=219, function=0x7f29e357e5c0 <__PRETTY_FUNCTION__.8> "_cairo_hash_table_destroy") at ./assert/assert.c:101
#6 0x00007f29e346ee6d in _cairo_hash_table_destroy (hash_table=0x55cf02eaf320) at ../src/cairo-hash.c:219
#7 0x00007f29e34bc48a in _cairo_scaled_font_map_destroy () at ../src/cairo-scaled-font.c:460
#8 0x00007f29e34622c1 in cairo_debug_reset_static_data () at ../src/cairo-debug.c:67
#9 0x00007f29e36dde10 in cleanup_after_cairo () at ../shared/cairo-util.c:700
#10 0x00007f29e36db9fa in headless_destroy (backend=0x55cf02e0b160) at ../libweston/backend-headless/headless.c:511
#11 0x00007f29e371438b in weston_compositor_destroy (compositor=0x55cf02e01c30) at ../libweston/compositor.c:8968
#12 0x00007f29e3776597 in wet_main (argc=1, argv=0x55cf02dfff00, test_data=0x7ffc85f2eff0) at ../compositor/main.c:4220
#13 0x000055cf02bb3d97 in execute_compositor (setup=0x7ffc85f2f060, data=0x55cf02dff998) at ../tests/weston-test-fixture-compositor.c:410
#14 0x000055cf02bb56e5 in weston_test_harness_execute_as_client (harness=0x55cf02dff980, setup=0x7ffc85f2f060) at ../tests/weston-test-runner.c:534
#15 0x000055cf02badb72 in fixture_setup (harness=0x55cf02dff980) at ../tests/xwayland-test.c:61
#16 0x000055cf02badb90 in fixture_setup_run_ (harness=0x55cf02dff980, arg_=0x0) at ../tests/xwayland-test.c:63
#17 0x000055cf02bb597d in main (argc=1, argv=0x7ffc85f2f248) at ../tests/weston-test-runner.c:682
```
The way that we handled this previously, like in fb57ce17ef3f9, was to explicitly call `pango_cairo_font_map_set_default(NULL)`. Instrumenting cairo when creating/insert/removing and destroying entries in that font_map hash table shows that there's still a cached version of a hash entry, but that there's *no holdover* that still references it . Now in normal runs, `_cairo_scaled_font_map_destroy()` would perform removal
from the font_map hash table, when it detects *at least a holdover*, and finally when `_cairo_hash_table_destroy()` is called, there are no entries left in that font map hash table.
For runs that trigger the assert `_cairo_scaled_font_map_destroy()` will skip removal of entries as that holdover is 0. It seems to suggest that there's window of time where the holdovers and the hash table entries are out-of-sync / or some kind of thread race, happening internally.
For `pango_cairo_font_map_set_default()`, the docs say:
```
" * Note that since Pango 1.32.6, the default fontmap is per-thread.
* This function only changes the default fontmap for
* the current thread. Default fontmaps of existing threads
* are not changed. Default fontmaps of any new threads will
* still be created using [func@PangoCairo.FontMap.new]."
```
What I've also noticed that building with -fsantize=address I can't trigger the issue, even after a few hundred of times. Might explain why I have not seen it before in CI, but I'm not excluding it.
So far, I've tried a couple of things, but I can still trigger it:
- add `pango_cairo_font_map_set_default(NULL)` in `weston_wm_destroy()` respectively `weston_wm_window_destroy()`
- in weston-test-runner.c add a `atexit(3)` to explicitly call `cleanup_after_cairo()` in that function, rather
than doing it in headless backend.
Maybe another set of eyes can over these might trigger some follow-up I could try.https://gitlab.freedesktop.org/wayland/weston/-/issues/739Test-failures on big-endian architectures2023-04-17T14:17:43Zmatoro1Test-failures on big-endian architecturesHi, I am observing a specific subset of tests which fail with assertion failures on all big-endian architectures. There are additional failures on some specific architectures, but all big-endian arches have this subset of failures in co...Hi, I am observing a specific subset of tests which fail with assertion failures on all big-endian architectures. There are additional failures on some specific architectures, but all big-endian arches have this subset of failures in common:
```
Summary of Failures:
5/41 alpha-blending ERROR 3.10s killed by signal 6 SIGABRT
6/41 buffer-transforms ERROR 3.79s killed by signal 6 SIGABRT
13/41 output-transforms ERROR 0.19s killed by signal 6 SIGABRT
15/41 internal-screenshot ERROR 0.57s killed by signal 6 SIGABRT
16/41 output-damage ERROR 0.37s killed by signal 6 SIGABRT
18/41 pointer-shot ERROR 0.28s killed by signal 6 SIGABRT
19/41 single-pixel-buffer ERROR 0.21s killed by signal 6 SIGABRT
27/41 viewporter-shot ERROR 0.24s killed by signal 6 SIGABRT
32/41 yuv-buffer ERROR 0.59s killed by signal 6 SIGABRT
39/41 subsurface-shot ERROR 1.98s killed by signal 6 SIGABRT
40/41 color-icc-output ERROR 0.67s killed by signal 6 SIGABRT
Ok: 29
Expected Fail: 0
Fail: 11
Unexpected Pass: 0
Skipped: 1
Timeout: 0
```
I confirmed this on ppc64 BE and mips64 BE, both had identical failures, here is a sample log from the former: [testlog.txt](/uploads/ebdd9d34fb6fdf4a042b09a6fa409c72/testlog.txt)
This can be cross-referenced with Debian CI. Although note that Debian has 11.0.0 in experimental, and it is showing a segfault in the `xwayland` test that I do not see, so feel free to ignore that one.
s390x: https://buildd.debian.org/status/fetch.php?pkg=weston&arch=s390x&ver=11.0.0-2&stamp=1674156095&raw=1
```
Summary of Failures:
2/45 alpha-blending ERROR 0.05s killed by signal 6 SIGABRT
4/45 buffer-transforms ERROR 0.07s killed by signal 6 SIGABRT
10/45 internal-screenshot ERROR 0.07s killed by signal 6 SIGABRT
14/45 output-damage ERROR 0.09s killed by signal 6 SIGABRT
15/45 output-transforms ERROR 0.06s killed by signal 6 SIGABRT
18/45 pointer-shot ERROR 0.06s killed by signal 6 SIGABRT
23/45 single-pixel-buffer ERROR 0.06s killed by signal 6 SIGABRT
24/45 subsurface-shot ERROR 0.35s killed by signal 6 SIGABRT
30/45 viewporter-shot ERROR 0.06s killed by signal 6 SIGABRT
31/45 yuv-buffer ERROR 0.18s killed by signal 6 SIGABRT
35/45 color-icc-output ERROR 0.36s killed by signal 6 SIGABRT
38/45 xwayland ERROR 0.02s killed by signal 11 SIGSEGV
Ok: 32
Expected Fail: 0
Fail: 12
Unexpected Pass: 0
Skipped: 1
Timeout: 0
```
hppa: https://buildd.debian.org/status/fetch.php?pkg=weston&arch=hppa&ver=11.0.0-2&stamp=1674158398&raw=1
```
Summary of Failures:
2/45 alpha-blending ERROR 0.70s killed by signal 6 SIGABRT
6/45 buffer-transforms ERROR 1.36s killed by signal 6 SIGABRT
11/45 internal-screenshot ERROR 1.71s killed by signal 6 SIGABRT
14/45 output-transforms ERROR 0.82s killed by signal 6 SIGABRT
17/45 output-damage ERROR 1.67s killed by signal 6 SIGABRT
21/45 pointer-shot ERROR 1.91s killed by signal 6 SIGABRT
23/45 single-pixel-buffer ERROR 1.75s killed by signal 6 SIGABRT
28/45 viewporter-shot ERROR 1.38s killed by signal 6 SIGABRT
29/45 subsurface-shot ERROR 4.85s killed by signal 6 SIGABRT
35/45 yuv-buffer ERROR 8.95s killed by signal 6 SIGABRT
36/45 color-icc-output ERROR 7.72s killed by signal 6 SIGABRT
38/45 xwayland ERROR 0.90s killed by signal 11 SIGSEGV
Ok: 32
Expected Fail: 0
Fail: 12
Unexpected Pass: 0
Skipped: 1
Timeout: 0
```
powerpc: https://buildd.debian.org/status/fetch.php?pkg=weston&arch=powerpc&ver=11.0.0-2&stamp=1674157443&raw=1
```
Summary of Failures:
5/45 alpha-blending ERROR 0.06s killed by signal 6 SIGABRT
6/45 buffer-transforms ERROR 0.07s killed by signal 6 SIGABRT
10/45 internal-screenshot ERROR 0.20s killed by signal 6 SIGABRT
13/45 output-damage ERROR 0.20s killed by signal 6 SIGABRT
14/45 output-transforms ERROR 0.19s killed by signal 6 SIGABRT
16/45 pointer-shot ERROR 0.18s killed by signal 6 SIGABRT
19/45 single-pixel-buffer ERROR 0.18s killed by signal 6 SIGABRT
25/45 viewporter-shot ERROR 0.14s killed by signal 6 SIGABRT
29/45 xwayland ERROR 0.08s killed by signal 11 SIGSEGV
34/45 yuv-buffer ERROR 0.17s killed by signal 6 SIGABRT
41/45 subsurface-shot ERROR 0.37s killed by signal 6 SIGABRT
43/45 color-icc-output ERROR 0.57s killed by signal 6 SIGABRT
Ok: 17
Expected Fail: 0
Fail: 12
Unexpected Pass: 0
Skipped: 16
Timeout: 0
```
sparc64: https://buildd.debian.org/status/fetch.php?pkg=weston&arch=sparc64&ver=11.0.0-2&stamp=1674157483&raw=1
```
Summary of Failures:
4/45 alpha-blending ERROR 0.10s killed by signal 6 SIGABRT
5/45 buffer-transforms ERROR 0.11s killed by signal 6 SIGABRT
7/45 color-manager ERROR 0.30s killed by signal 10 SIGBUS
11/45 internal-screenshot ERROR 0.50s killed by signal 6 SIGABRT
14/45 output-damage ERROR 0.46s killed by signal 6 SIGABRT
15/45 output-transforms ERROR 0.45s killed by signal 6 SIGABRT
17/45 pointer-shot ERROR 0.42s killed by signal 6 SIGABRT
20/45 single-pixel-buffer ERROR 0.39s killed by signal 6 SIGABRT
26/45 viewporter-shot ERROR 0.29s killed by signal 6 SIGABRT
30/45 xwayland ERROR 0.20s killed by signal 11 SIGSEGV
34/45 color-metadata-parsing ERROR 0.25s killed by signal 10 SIGBUS
35/45 yuv-buffer ERROR 0.37s killed by signal 10 SIGBUS
41/45 subsurface-shot ERROR 0.50s killed by signal 6 SIGABRT
42/45 color-icc-output ERROR 0.31s killed by signal 10 SIGBUS
Ok: 13
Expected Fail: 0
Fail: 14
Unexpected Pass: 0
Skipped: 18
Timeout: 0
```
As you can see we have a specific subset of 11 tests that fail on all big-endian platforms (none of these tests have assertion failures on LE platforms, including ppc64le where all tests pass for me). sparc has additional issues (the SIGBUS tests) due to its strict alignment requirements, but is otherwise identical to all other BE platforms.
Is there any way these assertion failures could be looked at for users of BE platforms? Thanks!https://gitlab.freedesktop.org/wayland/weston/-/issues/734Test ORIGIN_BOTTOM_LEFT buffer composition2023-04-05T12:27:24ZPekka Paalanenppaalanen@gmail.comTest ORIGIN_BOTTOM_LEFT buffer compositionI don't think we have any test in the test suite that would reliably exercise `ORIGIN_BOTTOM_LEFT` buffers. We should have one that applies to both GL and Pixman renderers.
Only dmabuf buffers could end up with `ORIGIN_BOTTOM_LEFT` via ...I don't think we have any test in the test suite that would reliably exercise `ORIGIN_BOTTOM_LEFT` buffers. We should have one that applies to both GL and Pixman renderers.
Only dmabuf buffers could end up with `ORIGIN_BOTTOM_LEFT` via `ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT`, and people have been keen on deleting any use of that flag. Only `simple-dmabuf-v4l` might use it if the V4L2 device indicates so. But dmabuf does not apply with Pixman renderer.
With `wl_shm`, we have no protocol to indicate bottom-left origin, so a test will need to quirk that somehow.
Pixman-renderer never even checks `buffer_origin`, but it has not needed to, because it cannot get bottom-left origin buffers.
Neither does DRM-backend check `buffer_origin` when driving KMS, and theoretically that is a reachable bug.
GL-renderer has code to handle `buffer_origin`.https://gitlab.freedesktop.org/wayland/weston/-/issues/729Weston test suite is failing - EGL Surfaceless platform cannot be used2024-02-20T14:31:32ZTomasz KłoczkoWeston test suite is failing - EGL Surfaceless platform cannot be usedLooks like something is wong with test suite
<details>
```console
+ cd weston-11.0.1
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: no work to do.
ninja: Entering directory `/home/tkloczko/r...Looks like something is wong with test suite
<details>
```console
+ cd weston-11.0.1
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: no work to do.
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu'
[1/52] Generating git-version.h with a custom command
1/45 bad-buffer OK 0.05s 1 subtests passed
2/45 color-metadata-errors OK 0.04s 33 subtests passed
3/45 color-manager ERROR 0.03s exit status 1
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston MALLOC_PERTURB_=241 /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-color-manager
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
Iterating through 1 fixtures.
--- Fixture 1 ()...
Date: 2023-03-06 UTC
[20:58:33.189] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:33.189] Command line: weston-test-color-manager --backend=headless-backend.so --debug --socket=test-color-manager --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --config=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-manager.ini --use-gl --shell=weston-test-desktop-shell.so
[20:58:33.189] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:33.189] Flight recorder: enabled
[20:58:33.189] Using config file '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-manager.ini'
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:33.189] Output repaint window is 7 ms maximum.
[20:58:33.189] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/color-lcms/color-lcms.so'
[20:58:33.190] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so'
[20:58:33.190] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so'
[20:58:33.191] warning: EGL_EXT_platform_base not supported.
[20:58:33.191] Error: EGL surfaceless platform cannot be used.
[20:58:33.191] fatal: failed to create compositor backend
--- Fixture 1 () fail: passed 0, skipped 0, failed 0, total 1
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 1, got 0)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
4/45 custom-env OK 0.03s 8 subtests passed
5/45 drm-formats OK 0.02s 18 subtests passed
6/45 alpha-blending ERROR 0.09s exit status 1
>>> MALLOC_PERTURB_=161 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-alpha-blending
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
Iterating through 3 fixtures.
--- Fixture 1 (pixman)...
Date: 2023-03-06 UTC
[20:58:33.167] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:33.167] Command line: weston-test-alpha-blending --backend=headless-backend.so --debug --socket=test-alpha-blending --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=768 --height=16 --no-config --use-pixman --shell=weston-test-desktop-shell.so
[20:58:33.167] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:33.167] Flight recorder: enabled
[20:58:33.167] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:33.167] Output repaint window is 7 ms maximum.
[20:58:33.167] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so'
[20:58:33.168] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[20:58:33.168] Color manager: no-op
[20:58:33.168] Output 'headless' attempts EOTF mode: SDR
[20:58:33.168] Output 'headless' using color profile: built-in default sRGB SDR profile
[20:58:33.168] Output 'headless' enabled with head(s) headless
[20:58:33.168] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[20:58:33.168] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/weston-test-desktop-shell.so'
[20:58:33.168] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so'
*** Run pixman alpha_blend/1
test-client: got global pointer 100 100
test-client: got seat 0x7fb208006240 capabilities: 7
test-client: got seat 0x7fb208006240 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7fb208006ce0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/alpha_blend-00.png vs. shot ./alpha_blend-f01-00.png: PASS
check_blend_pattern error statistics, 767 samples, value range 0.0 - 255.0:
ch r (signed):
min 0.00000 at rgb( 0.00, 0.00, 0.00)
max 0.00002 at rgb( 0.00, 188.31, 255.00)
avg 0.00000
ch g (signed):
min -0.49805 at rgb( 0.00, 0.00, 255.00)
max 0.49804 at rgb( 0.00, 0.00, 255.00)
avg 0.00000
ch b (signed):
min 0.00000 at rgb( 0.00, 0.00, 0.00)
max 0.00000 at rgb( 0.00, 0.00, 0.00)
avg 0.00000
rgb two-norm:
min 0.00000 at rgb( 0.00, 0.00, 0.00)
max 0.49805 at rgb( 0.00, 0.00, 255.00)
avg 0.24934
*** Result pixman alpha_blend/1: ok
--- Fixture 1 (pixman) ok: passed 1, skipped 0, failed 0, total 1
--- Fixture 2 (GL)...
[20:58:33.223] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:33.223] Command line: weston-test-alpha-blending --backend=headless-backend.so --debug --socket=test-alpha-blending --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=768 --height=16 --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:33.223] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:33.223] Flight recorder: enabled
[20:58:33.223] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:33.223] Output repaint window is 7 ms maximum.
[20:58:33.223] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:33.223] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so'
[20:58:33.224] warning: EGL_EXT_platform_base not supported.
[20:58:33.224] Error: EGL surfaceless platform cannot be used.
[20:58:33.224] fatal: failed to create compositor backend
--- Fixture 2 (GL) fail: passed 0, skipped 0, failed 0, total 1
--- Fixture 3 (GL sRGB EOTF)...
[20:58:33.231] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:33.231] Command line: weston-test-alpha-blending --backend=headless-backend.so --debug --socket=test-alpha-blending --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=768 --height=16 --config=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-alpha-blending.ini --use-gl --shell=weston-test-desktop-shell.so
[20:58:33.231] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:33.231] Flight recorder: enabled
[20:58:33.231] Using config file '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-alpha-blending.ini'
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:33.231] Output repaint window is 7 ms maximum.
[20:58:33.231] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/color-lcms/color-lcms.so'
[20:58:33.232] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:33.232] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:33.232] warning: EGL_EXT_platform_base not supported.
[20:58:33.232] Error: EGL surfaceless platform cannot be used.
[20:58:33.232] fatal: failed to create compositor backend
--- Fixture 3 (GL sRGB EOTF) fail: passed 0, skipped 0, failed 0, total 1
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 3, got 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
7/45 buffer-transforms ERROR 1.34s exit status 1
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston MALLOC_PERTURB_=150 /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-buffer-transforms
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
*** Result pixman 2 90 buffer_transform/5: ok
*** Run pixman 2 90 buffer_transform/6
buffer_transform-f03-e05: output_2-90_buffer_1-FLIPPED_180
test-client: got global pointer 100 100
test-client: got seat 0x7ff71c00c1e0 capabilities: 7
test-client: got seat 0x7ff71c00c1e0 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7ff71c00aa80
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-90_buffer_1-FLIPPED_180-00.png vs. shot ./buffer_transform-f03-e05-00.png: PASS
*** Result pixman 2 90 buffer_transform/6: ok
*** Run pixman 2 90 buffer_transform/7
buffer_transform-f03-e06: output_2-90_buffer_1-FLIPPED_270
test-client: got global pointer 100 100
test-client: got seat 0x7ff71c009b20 capabilities: 7
test-client: got seat 0x7ff71c009b20 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7ff71c00a310
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-90_buffer_1-FLIPPED_270-00.png vs. shot ./buffer_transform-f03-e06-00.png: PASS
*** Result pixman 2 90 buffer_transform/7: ok
*** Run pixman 2 90 buffer_transform/8
buffer_transform-f03-e07: output_2-90_buffer_2-NORMAL
test-client: got global pointer 100 100
test-client: got seat 0x7ff71c005420 capabilities: 7
test-client: got seat 0x7ff71c005420 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7ff71c0051c0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-90_buffer_2-NORMAL-00.png vs. shot ./buffer_transform-f03-e07-00.png: PASS
*** Result pixman 2 90 buffer_transform/8: ok
*** Run pixman 2 90 buffer_transform/9
buffer_transform-f03-e08: output_2-90_buffer_2-180
test-client: got global pointer 100 100
test-client: got seat 0x7ff71c00b190 capabilities: 7
test-client: got seat 0x7ff71c00b190 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7ff71c005420
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-90_buffer_2-180-00.png vs. shot ./buffer_transform-f03-e08-00.png: PASS
*** Result pixman 2 90 buffer_transform/9: ok
*** Run pixman 2 90 buffer_transform/10
buffer_transform-f03-e09: output_2-90_buffer_2-FLIPPED
test-client: got global pointer 100 100
test-client: got seat 0x7ff71c00db60 capabilities: 7
test-client: got seat 0x7ff71c00db60 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7ff71c007b40
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-90_buffer_2-FLIPPED-00.png vs. shot ./buffer_transform-f03-e09-00.png: PASS
*** Result pixman 2 90 buffer_transform/10: ok
*** Run pixman 2 90 buffer_transform/11
buffer_transform-f03-e10: output_2-90_buffer_3-NORMAL
test-client: got global pointer 100 100
test-client: got seat 0x7ff71c00aab0 capabilities: 7
test-client: got seat 0x7ff71c00aab0 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7ff71c0051c0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-90_buffer_3-NORMAL-00.png vs. shot ./buffer_transform-f03-e10-00.png: PASS
*** Result pixman 2 90 buffer_transform/11: ok
*** Run pixman 2 90 buffer_transform/12
buffer_transform-f03-e11: output_2-90_buffer_3-FLIPPED_90
test-client: got global pointer 100 100
test-client: got seat 0x7ff71c00aa80 capabilities: 7
test-client: got seat 0x7ff71c00aa80 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7ff71c0051c0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-90_buffer_3-FLIPPED_90-00.png vs. shot ./buffer_transform-f03-e11-00.png: PASS
*** Result pixman 2 90 buffer_transform/12: ok
--- Fixture 3 (pixman 2 90) ok: passed 12, skipped 0, failed 0, total 12
--- Fixture 4 (GL 2 90)...
[20:58:34.489] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:34.489] Command line: weston-test-buffer-transforms --backend=headless-backend.so --debug --socket=test-buffer-transforms --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=162 --height=120 --scale=2 --transform=rotate-90 --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:34.489] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:34.489] Flight recorder: enabled
[20:58:34.489] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:34.489] Output repaint window is 7 ms maximum.
[20:58:34.489] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:34.489] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:34.489] warning: EGL_EXT_platform_base not supported.
[20:58:34.489] Error: EGL surfaceless platform cannot be used.
[20:58:34.489] fatal: failed to create compositor backend
--- Fixture 4 (GL 2 90) fail: passed 0, skipped 0, failed 0, total 12
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 48, got 24)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
8/45 devices OK 2.47s 10 subtests passed
9/45 drm-smoke SKIP 0.02s 0 subtests passed
10/45 timespec OK 0.06s
11/45 internal-screenshot OK 0.34s 1 subtests passed
12/45 keyboard OK 0.33s 4 subtests passed
13/45 matrix OK 0.31s 7 subtests passed
14/45 plugin-registry OK 0.28s 1 subtests passed
15/45 pointer-shot ERROR 0.26s exit status 1
>>> MALLOC_PERTURB_=104 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-pointer-shot
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
Iterating through 2 fixtures.
--- Fixture 1 (pixman)...
Date: 2023-03-06 UTC
[20:58:35.791] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.791] Command line: weston-test-pointer-shot --backend=headless-backend.so --debug --socket=test-pointer-shot --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --use-pixman --shell=weston-test-desktop-shell.so
[20:58:35.791] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.791] Flight recorder: enabled
[20:58:35.791] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.791] Output repaint window is 7 ms maximum.
[20:58:35.791] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so'
[20:58:35.791] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[20:58:35.791] Color manager: no-op
[20:58:35.791] Output 'headless' attempts EOTF mode: SDR
[20:58:35.791] Output 'headless' using color profile: built-in default sRGB SDR profile
[20:58:35.792] Output 'headless' enabled with head(s) headless
[20:58:35.792] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[20:58:35.792] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/weston-test-desktop-shell.so'
[20:58:35.792] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so'
*** Run pixman pointer_cursor_retains_committed_buffer_after_reenter/1
test-client: got global pointer 100 100
test-client: got seat 0x7fdce0006240 capabilities: 7
test-client: got seat 0x7fdce0006240 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got global pointer 0 0
test-client: got surface enter output 0x7fdce0006ce0
test-client: got surface enter output 0x7fdce0006ce0
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 0 0, surface 0x7fdce0008500
test-client: got pointer frame
test-client: got pointer leave, surface 0x7fdce0008500
test-client: got pointer frame
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 50 50, surface 0x7fdce0008270
test-client: got pointer frame
test-client: got pointer motion 50 50
test-client: got global pointer 100 100
test-client: got surface enter output 0x7fdce0006ce0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/pointer_cursor_reenter-00.png vs. shot ./pointer_cursor_retains_committed_buffer_after_reenter-f01-00.png: PASS
test-client: got pointer leave, surface 0x7fdce0008270
test-client: got pointer frame
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 150 150, surface 0x7fdce0008500
test-client: got pointer frame
test-client: got pointer motion 150 150
test-client: got global pointer 150 150
test-client: got surface leave output 0x7fdce0006ce0
test-client: got surface enter output 0x7fdce0006ce0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/pointer_cursor_reenter-01.png vs. shot ./pointer_cursor_retains_committed_buffer_after_reenter-f01-01.png: PASS
test-client: got pointer leave, surface 0x7fdce0008500
test-client: got pointer frame
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 99 99, surface 0x7fdce0008270
test-client: got pointer frame
test-client: got pointer motion 99 99
test-client: got global pointer 149 149
test-client: got surface leave output 0x7fdce0006ce0
test-client: got surface enter output 0x7fdce0006ce0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/pointer_cursor_reenter-02.png vs. shot ./pointer_cursor_retains_committed_buffer_after_reenter-f01-02.png: PASS
*** Result pixman pointer_cursor_retains_committed_buffer_after_reenter/1: ok
--- Fixture 1 (pixman) ok: passed 1, skipped 0, failed 0, total 1
--- Fixture 2 (GL)...
[20:58:35.911] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.911] Command line: weston-test-pointer-shot --backend=headless-backend.so --debug --socket=test-pointer-shot --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:35.911] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.911] Flight recorder: enabled
[20:58:35.911] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.911] Output repaint window is 7 ms maximum.
[20:58:35.911] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:35.911] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so'
[20:58:35.913] warning: EGL_EXT_platform_base not supported.
[20:58:35.913] Error: EGL surfaceless platform cannot be used.
[20:58:35.913] fatal: failed to create compositor backend
--- Fixture 2 (GL) fail: passed 0, skipped 0, failed 0, total 1
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 2, got 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
16/45 presentation OK 0.25s 1 subtests passed
17/45 roles OK 0.24s 2 subtests passed
18/45 single-pixel-buffer ERROR 0.24s exit status 1
>>> MALLOC_PERTURB_=119 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-single-pixel-buffer
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
Iterating through 2 fixtures.
--- Fixture 1 (pixman)...
Date: 2023-03-06 UTC
[20:58:35.822] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.822] Command line: weston-test-single-pixel-buffer --backend=headless-backend.so --debug --socket=test-single-pixel-buffer --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --use-pixman --shell=weston-test-desktop-shell.so --logger-scopes=log,test-harness-plugin
[20:58:35.822] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.822] Flight recorder: enabled
[20:58:35.822] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.822] Output repaint window is 7 ms maximum.
[20:58:35.822] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so'
[20:58:35.822] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[20:58:35.822] Color manager: no-op
[20:58:35.822] Output 'headless' attempts EOTF mode: SDR
[20:58:35.822] Output 'headless' using color profile: built-in default sRGB SDR profile
[20:58:35.823] Output 'headless' enabled with head(s) headless
[20:58:35.823] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[20:58:35.823] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/weston-test-desktop-shell.so'
[20:58:35.823] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so'
Creating a thread for running tests...
*** Run pixman solid_buffer_argb_u32/1
test-client: got global pointer 100 100
test-client: got seat 0x7f7304006240 capabilities: 7
test-client: got seat 0x7f7304006240 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f7304006ce0
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 36 36, surface 0x7f7304008460
test-client: got pointer frame
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/single-pixel-buffer-00.png vs. shot ./solid_buffer_argb_u32-f01-00.png: PASS
libwayland: warning: queue 0x7f7304000d00 destroyed while proxies still attached:
libwayland: wp_single_pixel_buffer_manager_v1@15 still attached
*** Result pixman solid_buffer_argb_u32/1: ok
Received thread event mask 0x4
Test thread reaped.
--- Fixture 1 (pixman) ok: passed 1, skipped 0, failed 0, total 1
--- Fixture 2 (GL)...
[20:58:35.884] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.884] Command line: weston-test-single-pixel-buffer --backend=headless-backend.so --debug --socket=test-single-pixel-buffer --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --use-gl --shell=weston-test-desktop-shell.so --logger-scopes=log,test-harness-plugin
[20:58:35.884] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.884] Flight recorder: enabled
[20:58:35.884] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.884] Output repaint window is 7 ms maximum.
[20:58:35.884] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:35.884] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so'
[20:58:35.885] warning: EGL_EXT_platform_base not supported.
[20:58:35.885] Error: EGL surfaceless platform cannot be used.
[20:58:35.885] fatal: failed to create compositor backend
--- Fixture 2 (GL) fail: passed 0, skipped 0, failed 0, total 1
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 2, got 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
19/45 string OK 0.23s 1 subtests passed
20/45 surface OK 0.20s 1 subtests passed
21/45 surface-global OK 0.20s 1 subtests passed
22/45 text OK 0.19s 1 subtests passed
23/45 touch OK 0.18s 3 subtests passed
24/45 viewporter-shot ERROR 0.17s exit status 1
>>> MALLOC_PERTURB_=98 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-viewporter-shot
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
Iterating through 2 fixtures.
--- Fixture 1 (pixman)...
Date: 2023-03-06 UTC
[20:58:35.893] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.893] Command line: weston-test-viewporter-shot --backend=headless-backend.so --debug --socket=test-viewporter-shot --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --use-pixman --shell=weston-test-desktop-shell.so
[20:58:35.893] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.893] Flight recorder: enabled
[20:58:35.893] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.893] Output repaint window is 7 ms maximum.
[20:58:35.893] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so'
[20:58:35.893] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[20:58:35.893] Color manager: no-op
[20:58:35.893] Output 'headless' attempts EOTF mode: SDR
[20:58:35.893] Output 'headless' using color profile: built-in default sRGB SDR profile
[20:58:35.894] Output 'headless' enabled with head(s) headless
[20:58:35.894] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[20:58:35.894] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/weston-test-desktop-shell.so'
[20:58:35.894] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so'
*** Run pixman viewport_upscale_solid/1
test-client: got global pointer 100 100
test-client: got seat 0x7fbee0006240 capabilities: 7
test-client: got seat 0x7fbee0006240 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7fbee0006ce0
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 81 81, surface 0x7fbee0008460
test-client: got pointer frame
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/viewport_upscale_solid-00.png vs. shot ./viewport_upscale_solid-f01-00.png: PASS
*** Result pixman viewport_upscale_solid/1: ok
--- Fixture 1 (pixman) ok: passed 1, skipped 0, failed 0, total 1
--- Fixture 2 (GL)...
[20:58:35.957] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.957] Command line: weston-test-viewporter-shot --backend=headless-backend.so --debug --socket=test-viewporter-shot --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:35.957] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.957] Flight recorder: enabled
[20:58:35.957] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.957] Output repaint window is 7 ms maximum.
[20:58:35.958] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:35.958] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so'
[20:58:35.959] warning: EGL_EXT_platform_base not supported.
[20:58:35.959] Error: EGL surfaceless platform cannot be used.
[20:58:35.959] fatal: failed to create compositor backend
--- Fixture 2 (GL) fail: passed 0, skipped 0, failed 0, total 1
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 2, got 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
25/45 yuv-buffer ERROR 0.16s exit status 1
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston MALLOC_PERTURB_=34 /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-yuv-buffer
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
sample_color_pre_curve_lut_2d(float x, compile_const int row)
{
float tx = lut_texcoord(x, color_pre_curve_lut_scale_offset);
return texture2D(color_pre_curve_lut_2d,
vec2(tx, (float(row) + 0.5) / 4.0)).x;
}
vec3
color_pre_curve(vec3 color)
{
vec3 ret;
if (c_color_pre_curve == SHADER_COLOR_CURVE_IDENTITY) {
return color;
} else if (c_color_pre_curve == SHADER_COLOR_CURVE_LUT_3x1D) {
ret.r = sample_color_pre_curve_lut_2d(color.r, 0);
ret.g = sample_color_pre_curve_lut_2d(color.g, 1);
ret.b = sample_color_pre_curve_lut_2d(color.b, 2);
return ret;
} else {
/* Never reached, bad c_color_pre_curve. */
return vec3(1.0, 0.3, 1.0);
}
}
vec3
sample_color_mapping_lut_3d(vec3 color)
{
vec3 pos, ret = vec3(0.0, 0.0, 0.0);
#if DEF_COLOR_MAPPING == SHADER_COLOR_MAPPING_3DLUT
pos = lut_texcoord(color, color_mapping_lut_scale_offset);
ret = texture3D(color_mapping_lut_3d, pos).rgb;
#endif
return ret;
}
vec3
color_mapping(vec3 color)
{
if (c_color_mapping == SHADER_COLOR_MAPPING_IDENTITY)
return color;
else if (c_color_mapping == SHADER_COLOR_MAPPING_3DLUT)
return sample_color_mapping_lut_3d(color);
else /* Never reached, bad c_color_mapping. */
return vec3(1.0, 0.3, 1.0);
}
vec4
color_pipeline(vec4 color)
{
/* Ensure straight alpha */
if (c_input_is_premult) {
if (color.a == 0.0)
color.rgb = vec3(0, 0, 0);
else
color.rgb *= 1.0 / color.a;
}
color.rgb = color_pre_curve(color.rgb);
color.rgb = color_mapping(color.rgb);
return color;
}
void
main()
{
vec4 color;
/* Electrical (non-linear) RGBA values, may be premult or not */
color = sample_input_texture();
if (c_need_color_pipeline)
color = color_pipeline(color); /* Produces straight alpha */
/* Ensure pre-multiplied for blending */
if (!c_input_is_premult || c_need_color_pipeline)
color.rgb *= color.a;
color *= view_alpha;
if (c_green_tint)
color = vec4(0.0, 0.3, 0.0, 0.2) + color * 0.8;
gl_FragColor = color;
}
-----------------------------------------------------------------------------
Cached GLSL programs:
id: (used secs ago) description +/-flags
Total: 0 programs.
[20:58:35.900] warning: EGL_EXT_platform_base not supported.
[20:58:35.900] Error: EGL surfaceless platform cannot be used.
[20:58:35.900] fatal: failed to create compositor backend
--- Fixture 1 () fail: passed 0, skipped 0, failed 0, total 5
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 5, got 0)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
26/45 safe-signal OK 0.16s 1 subtests passed
27/45 safe-signal-output-removal OK 0.15s 1 subtests passed
28/45 vertex-clip OK 0.14s 16 subtests passed
29/45 color-metadata-parsing ERROR 0.13s exit status 1
>>> MALLOC_PERTURB_=41 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-color-metadata-parsing
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
Iterating through 1 fixtures.
--- Fixture 1 ()...
Date: 2023-03-06 UTC
[20:58:35.936] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.937] Command line: weston-test-color-metadata-parsing --backend=headless-backend.so --debug --socket=test-color-metadata-parsing --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --config=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-metadata-parsing.ini --use-gl --shell=weston-test-desktop-shell.so
[20:58:35.937] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.937] Flight recorder: enabled
[20:58:35.937] Using config file '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-metadata-parsing.ini'
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.937] Output repaint window is 7 ms maximum.
[20:58:35.937] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/color-lcms/color-lcms.so'
[20:58:35.937] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so'
[20:58:35.937] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so'
[20:58:35.938] warning: EGL_EXT_platform_base not supported.
[20:58:35.938] Error: EGL surfaceless platform cannot be used.
[20:58:35.938] fatal: failed to create compositor backend
--- Fixture 1 () fail: passed 0, skipped 0, failed 0, total 1
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 1, got 0)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
30/45 ivi-layout-client OK 0.11s 25 subtests passed
31/45 ivi-layout-internal OK 0.10s 1 subtests passed
32/45 ivi-shell-app OK 0.09s 1 subtests passed
33/45 config-parser OK 0.09s
34/45 lcms-util OK 0.13s 6 subtests passed
35/45 event OK 0.37s 2 subtests passed
36/45 zuc OK 0.08s
37/45 color-icc-output ERROR 0.15s exit status 1
>>> MALLOC_PERTURB_=216 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-color-icc-output
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[20:58:35.941] Output repaint window is 7 ms maximum.
[20:58:35.941] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/color-lcms/color-lcms.so' already loaded
[20:58:35.941] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:35.941] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:35.941] warning: EGL_EXT_platform_base not supported.
[20:58:35.941] Error: EGL surfaceless platform cannot be used.
[20:58:35.941] fatal: failed to create compositor backend
--- Fixture 2 (sRGB->adobeRGB) fail: passed 0, skipped 0, failed 0, total 2
--- Fixture 3 (sRGB->BT2020)...
[20:58:35.947] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.947] Command line: weston-test-color-icc-output --backend=headless-backend.so --debug --socket=test-color-icc-output --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=256 --height=24 --config=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-icc-output.ini --use-gl --shell=weston-test-desktop-shell.so
[20:58:35.947] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.947] Flight recorder: enabled
[20:58:35.947] Using config file '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-icc-output.ini'
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.947] Output repaint window is 7 ms maximum.
[20:58:35.947] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/color-lcms/color-lcms.so' already loaded
[20:58:35.947] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:35.947] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:35.947] warning: EGL_EXT_platform_base not supported.
[20:58:35.947] Error: EGL surfaceless platform cannot be used.
[20:58:35.947] fatal: failed to create compositor backend
--- Fixture 3 (sRGB->BT2020) fail: passed 0, skipped 0, failed 0, total 2
--- Fixture 4 (sRGB->sRGB)...
DToB->BToD roundtrip error statistics, 97336 samples, value range 0.0 - 255.0:
ch r (signed):
min -0.00647 at rgb( 79.00, 255.00, 255.00)
max 0.10676 at rgb( 10.00, 223.00, 239.00)
avg 0.00523
ch g (signed):
min -0.00383 at rgb( 151.00, 207.00, 239.00)
max 0.04781 at rgb( 255.00, 9.00, 255.00)
avg 0.00063
ch b (signed):
min -0.00358 at rgb( 255.00, 167.00, 1.00)
max 0.01190 at rgb( 159.00, 223.00, 10.00)
avg 0.00122
rgb two-norm:
min 0.00000 at rgb( 0.00, 0.00, 0.00)
max 0.10680 at rgb( 10.00, 223.00, 239.00)
avg 0.00658
[20:58:35.995] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:35.995] Command line: weston-test-color-icc-output --backend=headless-backend.so --debug --socket=test-color-icc-output --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=256 --height=24 --config=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-icc-output.ini --use-gl --shell=weston-test-desktop-shell.so
[20:58:35.995] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:35.995] Flight recorder: enabled
[20:58:35.995] Using config file '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-icc-output.ini'
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:35.995] Output repaint window is 7 ms maximum.
[20:58:35.995] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/color-lcms/color-lcms.so' already loaded
[20:58:35.995] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:35.995] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:35.995] warning: EGL_EXT_platform_base not supported.
[20:58:35.995] Error: EGL surfaceless platform cannot be used.
[20:58:35.995] fatal: failed to create compositor backend
--- Fixture 4 (sRGB->sRGB) fail: passed 0, skipped 0, failed 0, total 2
--- Fixture 5 (sRGB->adobeRGB)...
DToB->BToD roundtrip error statistics, 97336 samples, value range 0.0 - 255.0:
ch r (signed):
min -0.00363 at rgb( 207.00, 167.00, 207.00)
max 1.61298 at rgb( 0.00, 255.00, 255.00)
avg 0.01180
ch g (signed):
min -0.05186 at rgb( 191.00, 1.00, 231.00)
max 1.63569 at rgb( 247.00, 0.00, 167.00)
avg 0.00836
ch b (signed):
min -0.04061 at rgb( 255.00, 39.00, 1.00)
max 0.67677 at rgb( 119.00, 239.00, 0.00)
avg 0.00331
rgb two-norm:
min 0.00000 at rgb( 0.00, 0.00, 0.00)
max 1.63569 at rgb( 247.00, 0.00, 167.00)
avg 0.02356
[20:58:36.042] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:36.042] Command line: weston-test-color-icc-output --backend=headless-backend.so --debug --socket=test-color-icc-output --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=256 --height=24 --config=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-icc-output.ini --use-gl --shell=weston-test-desktop-shell.so
[20:58:36.042] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:36.042] Flight recorder: enabled
[20:58:36.042] Using config file '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/test-color-icc-output.ini'
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:36.042] Output repaint window is 7 ms maximum.
[20:58:36.042] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/color-lcms/color-lcms.so' already loaded
[20:58:36.042] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:36.042] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:36.042] warning: EGL_EXT_platform_base not supported.
[20:58:36.042] Error: EGL surfaceless platform cannot be used.
[20:58:36.042] fatal: failed to create compositor backend
--- Fixture 5 (sRGB->adobeRGB) fail: passed 0, skipped 0, failed 0, total 2
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 10, got 0)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
38/45 xwayland OK 0.13s 1 subtests passed
39/45 pointer OK 0.40s 14 subtests passed
40/45 linux-explicit-synchronization OK 0.54s 10 subtests passed
41/45 subsurface-shot ERROR 0.66s exit status 1
>>> MALLOC_PERTURB_=196 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-subsurface-shot
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
presentation clock resolution: 0.000000001 s
[20:58:35.852] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/weston-test-desktop-shell.so'
[20:58:35.852] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so'
Creating a thread for running tests...
*** Run pixman subsurface_z_order/1
test-client: got global pointer 100 100
test-client: got seat 0x7f43f0006240 capabilities: 7
test-client: got seat 0x7f43f0006240 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f43f0006ce0
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 0 50, surface 0x7f43f0008460
test-client: got pointer frame
test-client: got pointer leave, surface 0x7f43f0008460
test-client: got pointer frame
test-client: got global pointer 2 30
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_z_order-00.png vs. shot ./subsurface_z_order-f01-00.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_z_order-01.png vs. shot ./subsurface_z_order-f01-01.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_z_order-02.png vs. shot ./subsurface_z_order-f01-02.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_z_order-03.png vs. shot ./subsurface_z_order-f01-03.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_z_order-04.png vs. shot ./subsurface_z_order-f01-04.png: PASS
*** Result pixman subsurface_z_order/1: ok
*** Run pixman subsurface_sync_damage_buffer/1
test-client: got global pointer 2 30
test-client: got seat 0x7f43f00099a0 capabilities: 7
test-client: got seat 0x7f43f00099a0 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f43f00084a0
test-client: got global pointer 2 30
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_sync_damage_buffer-00.png vs. shot ./subsurface_sync_damage_buffer-f01-00.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_sync_damage_buffer-01.png vs. shot ./subsurface_sync_damage_buffer-f01-01.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_sync_damage_buffer-02.png vs. shot ./subsurface_sync_damage_buffer-f01-02.png: PASS
*** Result pixman subsurface_sync_damage_buffer/1: ok
*** Run pixman subsurface_empty_mapping/1
test-client: got global pointer 2 30
test-client: got seat 0x7f43f00077a0 capabilities: 7
test-client: got seat 0x7f43f00077a0 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f43f0005710
test-client: got global pointer 2 30
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-00.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-01.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-02.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-03.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-04.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-05.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-06.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-01.png vs. shot ./subsurface_empty_mapping-f01-07.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-01.png vs. shot ./subsurface_empty_mapping-f01-08.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-01.png vs. shot ./subsurface_empty_mapping-f01-09.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-00.png vs. shot ./subsurface_empty_mapping-f01-10.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/subsurface_empty_mapping-01.png vs. shot ./subsurface_empty_mapping-f01-11.png: PASS
*** Result pixman subsurface_empty_mapping/1: ok
Received thread event mask 0x4
Test thread reaped.
--- Fixture 1 (pixman) ok: passed 3, skipped 0, failed 0, total 3
--- Fixture 2 (GL)...
[20:58:36.472] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:36.472] Command line: weston-test-subsurface-shot --backend=headless-backend.so --debug --socket=test-subsurface-shot --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --use-gl --shell=weston-test-desktop-shell.so --logger-scopes=log,test-harness-plugin
[20:58:36.472] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:36.472] Flight recorder: enabled
[20:58:36.472] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:36.472] Output repaint window is 7 ms maximum.
[20:58:36.472] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:36.473] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so'
[20:58:36.475] warning: EGL_EXT_platform_base not supported.
[20:58:36.475] Error: EGL surfaceless platform cannot be used.
[20:58:36.475] fatal: failed to create compositor backend
--- Fixture 2 (GL) fail: passed 0, skipped 0, failed 0, total 3
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 6, got 3)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
42/45 output-damage ERROR 1.65s exit status 1
>>> MALLOC_PERTURB_=247 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-output-damage
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[20:58:37.246] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:37.246] Command line: weston-test-output-damage --backend=headless-backend.so --debug --socket=test-output-damage --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=162 --height=120 --scale=2 --transform=flipped --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:37.246] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:37.246] Flight recorder: enabled
[20:58:37.246] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:37.246] Output repaint window is 7 ms maximum.
[20:58:37.246] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:37.246] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:37.246] warning: EGL_EXT_platform_base not supported.
[20:58:37.246] Error: EGL surfaceless platform cannot be used.
[20:58:37.246] fatal: failed to create compositor backend
--- Fixture 39 (GL shadow 2 FLIPPED) fail: passed 0, skipped 0, failed 0, total 1
--- Fixture 40 (pixman 3 FLIPPED_270)...
[20:58:37.258] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:37.258] Command line: weston-test-output-damage --backend=headless-backend.so --debug --socket=test-output-damage --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=108 --height=80 --scale=3 --transform=flipped-rotate-270 --no-config --use-pixman --shell=weston-test-desktop-shell.so
[20:58:37.258] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:37.258] Flight recorder: enabled
[20:58:37.258] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:37.259] Output repaint window is 7 ms maximum.
[20:58:37.259] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:37.259] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[20:58:37.259] Color manager: no-op
[20:58:37.259] Output 'headless' attempts EOTF mode: SDR
[20:58:37.259] Output 'headless' using color profile: built-in default sRGB SDR profile
[20:58:37.259] Output 'headless' enabled with head(s) headless
[20:58:37.259] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[20:58:37.259] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/weston-test-desktop-shell.so' already loaded
[20:58:37.259] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so' already loaded
*** Run pixman 3 FLIPPED_270 output_damage/1
output_damage-f40: output-damage_3-FLIPPED_270
test-client: got global pointer 100 100
test-client: got seat 0x7f4204006270 capabilities: 7
test-client: got seat 0x7f4204006270 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f4204006d10
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 81 81, surface 0x7f4204006370
test-client: got pointer frame
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output-damage_3-FLIPPED_270-01.png vs. shot ./output_damage-f40-01.png: PASS
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output-damage_3-FLIPPED_270-02.png vs. shot ./output_damage-f40-02.png: PASS
*** Result pixman 3 FLIPPED_270 output_damage/1: ok
--- Fixture 40 (pixman 3 FLIPPED_270) ok: passed 1, skipped 0, failed 0, total 1
--- Fixture 41 (GL no-shadow 3 FLIPPED_270)...
[20:58:37.356] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:37.356] Command line: weston-test-output-damage --backend=headless-backend.so --debug --socket=test-output-damage --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=108 --height=80 --scale=3 --transform=flipped-rotate-270 --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:37.356] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:37.356] Flight recorder: enabled
[20:58:37.356] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:37.356] Output repaint window is 7 ms maximum.
[20:58:37.356] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:37.356] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:37.356] warning: EGL_EXT_platform_base not supported.
[20:58:37.356] Error: EGL surfaceless platform cannot be used.
[20:58:37.356] fatal: failed to create compositor backend
--- Fixture 41 (GL no-shadow 3 FLIPPED_270) fail: passed 0, skipped 0, failed 0, total 1
--- Fixture 42 (GL shadow 3 FLIPPED_270)...
[20:58:37.372] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:37.372] Command line: weston-test-output-damage --backend=headless-backend.so --debug --socket=test-output-damage --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=108 --height=80 --scale=3 --transform=flipped-rotate-270 --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:37.372] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:37.372] Flight recorder: enabled
[20:58:37.372] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:37.372] Output repaint window is 7 ms maximum.
[20:58:37.372] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:37.372] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:37.372] warning: EGL_EXT_platform_base not supported.
[20:58:37.372] Error: EGL surfaceless platform cannot be used.
[20:58:37.372] fatal: failed to create compositor backend
--- Fixture 42 (GL shadow 3 FLIPPED_270) fail: passed 0, skipped 0, failed 0, total 1
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 42, got 14)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
43/45 output-transforms ERROR 1.98s exit status 1
>>> MALLOC_PERTURB_=65 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/compositor:/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-output-transforms
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
test-client: got global pointer 100 100
test-client: got seat 0x7f2270001b80 capabilities: 7
test-client: got seat 0x7f2270001b80 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f22700018d0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_2-FLIPPED_buffer_2-90-00.png vs. shot ./output_transform-f25-e01-00.png: PASS
*** Result pixman 2 FLIPPED output_transform/2: ok
--- Fixture 25 (pixman 2 FLIPPED) ok: passed 2, skipped 0, failed 0, total 2
--- Fixture 26 (GL 2 FLIPPED)...
[20:58:37.565] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:37.565] Command line: weston-test-output-transforms --backend=headless-backend.so --debug --socket=test-output-transforms --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=162 --height=120 --scale=2 --transform=flipped --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:37.565] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:37.565] Flight recorder: enabled
[20:58:37.565] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:37.566] Output repaint window is 7 ms maximum.
[20:58:37.566] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:37.566] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:37.566] warning: EGL_EXT_platform_base not supported.
[20:58:37.566] Error: EGL surfaceless platform cannot be used.
[20:58:37.566] fatal: failed to create compositor backend
--- Fixture 26 (GL 2 FLIPPED) fail: passed 0, skipped 0, failed 0, total 2
--- Fixture 27 (pixman 3 FLIPPED_270)...
[20:58:37.581] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:37.581] Command line: weston-test-output-transforms --backend=headless-backend.so --debug --socket=test-output-transforms --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=108 --height=80 --scale=3 --transform=flipped-rotate-270 --no-config --use-pixman --shell=weston-test-desktop-shell.so
[20:58:37.581] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:37.581] Flight recorder: enabled
[20:58:37.581] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:37.581] Output repaint window is 7 ms maximum.
[20:58:37.581] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:37.581] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[20:58:37.581] Color manager: no-op
[20:58:37.581] Output 'headless' attempts EOTF mode: SDR
[20:58:37.581] Output 'headless' using color profile: built-in default sRGB SDR profile
[20:58:37.582] Output 'headless' enabled with head(s) headless
[20:58:37.582] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[20:58:37.582] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/weston-test-desktop-shell.so' already loaded
[20:58:37.582] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so' already loaded
*** Run pixman 3 FLIPPED_270 output_transform/1
output_transform-f27-e00: output_3-FLIPPED_270_buffer_1-NORMAL
test-client: got global pointer 100 100
test-client: got seat 0x7f22700021b0 capabilities: 7
test-client: got seat 0x7f22700021b0 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f22700065e0
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_3-FLIPPED_270_buffer_1-NORMAL-00.png vs. shot ./output_transform-f27-e00-00.png: PASS
*** Result pixman 3 FLIPPED_270 output_transform/1: ok
*** Run pixman 3 FLIPPED_270 output_transform/2
output_transform-f27-e01: output_3-FLIPPED_270_buffer_2-90
test-client: got global pointer 100 100
test-client: got seat 0x7f2270006160 capabilities: 7
test-client: got seat 0x7f2270006160 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f2270005380
Screenshot has been captured
Verify reference image /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/tests/reference/output_3-FLIPPED_270_buffer_2-90-00.png vs. shot ./output_transform-f27-e01-00.png: PASS
*** Result pixman 3 FLIPPED_270 output_transform/2: ok
--- Fixture 27 (pixman 3 FLIPPED_270) ok: passed 2, skipped 0, failed 0, total 2
--- Fixture 28 (GL 3 FLIPPED_270)...
[20:58:37.711] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[20:58:37.711] Command line: weston-test-output-transforms --backend=headless-backend.so --debug --socket=test-output-transforms --modules=/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=108 --height=80 --scale=3 --transform=flipped-rotate-270 --no-config --use-gl --shell=weston-test-desktop-shell.so
[20:58:37.711] OS: Linux, 6.1.10-200.fc37.x86_64, #1 SMP PREEMPT_DYNAMIC Mon Feb 6 23:56:48 UTC 2023, x86_64
[20:58:37.711] Flight recorder: enabled
[20:58:37.711] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[20:58:37.711] Output repaint window is 7 ms maximum.
[20:58:37.711] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so' already loaded
[20:58:37.712] Module '/home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu/libweston/renderer-gl/gl-renderer.so' already loaded
[20:58:37.712] warning: EGL_EXT_platform_base not supported.
[20:58:37.712] Error: EGL surfaceless platform cannot be used.
[20:58:37.712] fatal: failed to create compositor backend
--- Fixture 28 (GL 3 FLIPPED_270) fail: passed 0, skipped 0, failed 0, total 2
(test program exited with status code 1)
TAP parsing error: Too few tests run (expected 56, got 28)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
44/45 viewporter OK 1.91s 76 subtests passed
45/45 subsurface OK 2.54s 23 subtests passed
Summary of Failures:
3/45 color-manager ERROR 0.03s exit status 1
6/45 alpha-blending ERROR 0.09s exit status 1
7/45 buffer-transforms ERROR 1.34s exit status 1
15/45 pointer-shot ERROR 0.26s exit status 1
18/45 single-pixel-buffer ERROR 0.24s exit status 1
24/45 viewporter-shot ERROR 0.17s exit status 1
25/45 yuv-buffer ERROR 0.16s exit status 1
29/45 color-metadata-parsing ERROR 0.13s exit status 1
37/45 color-icc-output ERROR 0.15s exit status 1
41/45 subsurface-shot ERROR 0.66s exit status 1
42/45 output-damage ERROR 1.65s exit status 1
43/45 output-transforms ERROR 1.98s exit status 1
Ok: 32
Expected Fail: 0
Fail: 12
Unexpected Pass: 0
Skipped: 1
Timeout: 0
```
</details>
Meson output:
<details>
```console
+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D backend-default=wayland -D backend-drm-screencast-vaapi=true -D backend-drm=true -D backend-headless=true -D backend-rdp=true -D backend-wayland=true -D backend-x11=true -D color-management-lcms=true -D demo-clients=true -D doc=false -D image-jpeg=true -D image-webp=true -D pipewire=true -D remoting=true -D renderer-gl=true -D resize-pool=true -D screenshare=true -D shell-desktop=true -D shell-fullscreen=true -D shell-ivi=true -D shell-kiosk=true -D simple-clients=all -D systemd=true -D test-junit-xml=true -D tools=calibrator,debug,info,terminal,touch-calibrator -D wcap-decode=true -D xwayland=true
The Meson build system
Version: 1.0.1
Source dir: /home/tkloczko/rpmbuild/BUILD/weston-11.0.1
Build dir: /home/tkloczko/rpmbuild/BUILD/weston-11.0.1/x86_64-redhat-linux-gnu
Build type: native build
Project name: weston
Project version: 11.0.1
C compiler for the host machine: /usr/bin/gcc (gcc 13.0.1 "gcc (GCC) 13.0.1 20230304 (Red Hat 13.0.1-0)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.40-2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-shift-negative-value: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-pedantic: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Header "sys/sysmacros.h" has symbol "major" : YES
Checking for function "mkostemp" : YES
Checking for function "strchrnul" : YES
Checking for function "initgroups" : YES
Checking for function "posix_fallocate" : YES
Checking for function "memfd_create" : YES
Has header "linux/sync_file.h" : YES
Message: The default backend is wayland
Found pkg-config: /usr/bin/pkg-config (1.9.4)
Run-time dependency xkbcommon found: YES 1.5.0
Run-time dependency wayland-server found: YES 1.21.91
Run-time dependency wayland-client found: YES 1.21.91
Run-time dependency pixman-1 found: YES 0.42.2
Run-time dependency libinput found: YES 1.22.1
Run-time dependency libevdev found: YES 1.13.0
Library m found: YES
Library dl found: YES
Run-time dependency libdrm found: YES 2.4.115
Run-time dependency threads found: YES
Run-time dependency lcms2 found: YES 2.14
Program python3 found: YES (/usr/bin/python3)
Configuring version.h using configuration
Found pkg-config: /usr/bin/pkg-config (1.9.4)
Build-time dependency wayland-scanner found: YES 1.21.91
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency wayland-protocols found: YES 1.31
Run-time dependency xcb found: YES 1.15
Run-time dependency cairo found: YES 1.17.8
Run-time dependency libpng found: YES 1.6.39
Run-time dependency pango found: YES 1.50.14
Run-time dependency pangocairo found: YES 1.50.14
Run-time dependency fontconfig found: YES 2.14.2
Run-time dependency glib-2.0 found: YES 2.75.4
Run-time dependency libjpeg found: YES 2.1.5.1
Run-time dependency libwebp found: YES 1.3.0
Run-time dependency egl found: YES 1.5
WARNING: Already generated a pkg-config file for weston-11
Run-time dependency libsystemd found: YES 251
Run-time dependency dbus-1 found: YES 1.14.6
Run-time dependency libseat found: YES 0.7.0
Run-time dependency libudev found: YES 251
Dependency egl found: YES 1.5 (cached)
Run-time dependency glesv2 found: YES 3.2
Dependency libudev found: YES 251 (cached)
Dependency libudev found: YES 251 (cached)
Run-time dependency gbm found: YES 23.0.0
Run-time dependency libva found: YES 1.17.0
Run-time dependency libva-drm found: YES 1.17.0
Dependency threads found: YES unknown (cached)
Run-time dependency freerdp2 found: YES 2.10.0
Run-time dependency freerdp-server2 found: YES 2.10.0
Run-time dependency winpr2 found: YES 2.10.0
Dependency wayland-client found: YES 1.21.91 (cached)
Run-time dependency wayland-cursor found: YES 1.21.91
Run-time dependency wayland-egl found: YES 18.1.0
Dependency xcb found: YES 1.15 (cached)
Run-time dependency xcb-shm found: YES 1.15
Run-time dependency x11 found: YES 1.8.4
Run-time dependency x11-xcb found: YES 1.8.4
Run-time dependency xcb-xkb found: YES 1.15
Run-time dependency xwayland found: YES 23.0.99.901
Dependency xcb found: YES 1.15 (cached)
Run-time dependency xcb-composite found: YES 1.15
Run-time dependency xcb-shape found: YES 1.15
Run-time dependency xcb-xfixes found: YES 1.15
Run-time dependency xcursor found: YES 1.2.1
Run-time dependency cairo-xcb found: YES 1.17.8
Dependency libsystemd found: YES 251 (cached)
Configuring weston.ini using configuration
Configuring weston.ini using configuration
Run-time dependency gstreamer-1.0 found: YES 1.22.0
Run-time dependency gstreamer-allocators-1.0 found: YES 1.22.0
Run-time dependency gstreamer-app-1.0 found: YES 1.22.0
Run-time dependency gstreamer-video-1.0 found: YES 1.22.0
Run-time dependency gobject-2.0 found: YES 2.75.4
Dependency glib-2.0 found: YES 2.75.4 (cached)
Run-time dependency libpipewire-0.3 found: YES 0.3.66
Run-time dependency libspa-0.2 found: YES 0.2
Dependency wayland-cursor found: YES 1.21.91 (cached)
Library util found: YES
Dependency gbm found: YES 23.0.0 (cached)
Dependency libudev found: YES 251 (cached)
Dependency gbm found: YES 23.0.0 (cached)
Dependency egl found: YES 1.5 (cached)
Dependency glesv2 found: YES 3.2 (cached)
Dependency gbm found: YES 23.0.0 (cached)
Dependency egl found: YES 1.5 (cached)
Dependency glesv2 found: YES 3.2 (cached)
Dependency gbm found: YES 23.0.0 (cached)
Dependency egl found: YES 1.5 (cached)
Dependency wayland-egl found: YES 18.1.0 (cached)
Dependency glesv2 found: YES 3.2 (cached)
Dependency wayland-cursor found: YES 1.21.91 (cached)
Dependency wayland-cursor found: YES 1.21.91 (cached)
Dependency cairo found: YES 1.17.8 (cached)
Dependency pangocairo found: YES 1.50.14 (cached)
Dependency gobject-2.0 found: YES 2.75.4 (cached)
Dependency egl found: YES 1.5 (cached)
Dependency glesv2 found: YES 3.2 (cached)
Dependency wayland-egl found: YES 18.1.0 (cached)
Dependency cairo found: YES 1.17.8 (cached)
Dependency cairo found: YES 1.17.8 (cached)
Dependency libudev found: YES 251 (cached)
Run-time dependency libxml-2.0 found: YES 2.10.3
Dependency x11 found: YES 1.8.4 (cached)
Configuring test-config.h using configuration
Dependency libudev found: YES 251 (cached)
Configuring weston.1 using configuration
Configuring weston-bindings.7 using configuration
Configuring weston-debug.1 using configuration
Configuring weston.ini.5 using configuration
Configuring weston-drm.7 using configuration
Configuring weston-rdp.7 using configuration
Configuring config.h using configuration
Message: Documentation will not be built. Use -Ddoc to build it.
Build targets in project: 195
NOTICE: Future-deprecated features used:
* 0.56.0: {'dependency.get_pkgconfig_variable'}
* 0.62.0: {'pkgconfig.generate variable for builtin directories'}
weston 11.0.1
User defined options
auto_features : enabled
bindir : /usr/bin
buildtype : plain
datadir : /usr/share
includedir : /usr/include
infodir : /usr/share/info
libdir : /usr/lib64
libexecdir : /usr/libexec
localedir : /usr/share/locale
localstatedir : /var
mandir : /usr/share/man
prefix : /usr
sbindir : /usr/sbin
sharedstatedir : /var/lib
sysconfdir : /etc
wrap_mode : nodownload
backend-default : wayland
backend-drm : true
backend-drm-screencast-vaapi: true
backend-headless : true
backend-rdp : true
backend-wayland : true
backend-x11 : true
color-management-lcms : true
demo-clients : true
doc : false
image-jpeg : true
image-webp : true
pipewire : true
remoting : true
renderer-gl : true
resize-pool : true
screenshare : true
shell-desktop : true
shell-fullscreen : true
shell-ivi : true
shell-kiosk : true
simple-clients : all
systemd : true
test-junit-xml : true
tools : calibrator,debug,info,terminal,touch-calibrator
wcap-decode : true
xwayland : true
```
</details>https://gitlab.freedesktop.org/wayland/weston/-/issues/663Follow-up from "protocol: add wl_compositor.error.bad_parent"2022-09-09T07:51:45ZPekka Paalanenppaalanen@gmail.comFollow-up from "protocol: add wl_compositor.error.bad_parent"The following discussion from wayland!264 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/264#note_1537544): (+1 comment)
> The first commit is good.
>
...The following discussion from wayland!264 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/264#note_1537544): (+1 comment)
> The first commit is good.
>
> ----
>
> FWIW, Weston's test suite already checks that:
> - `test_subsurface_paradox`: making a surface into its own child produces BAD_SURFACE
> - `test_subsurface_loop_paradox`: creating a sub-surface loop with three surfaces produces BAD_SURFACE
The mentioned MR changes the required error code. Weston and its test suite needs to be updated.https://gitlab.freedesktop.org/wayland/weston/-/issues/573weston_test.move_pointer() sends wl_pointer.motion() event during DnD session2022-04-11T21:48:06ZMax Ihlenfeldtweston_test.move_pointer() sends wl_pointer.motion() event during DnD sessionChromium uses `weston_test` for its automated Wayland tests. During my work on these tests, I noticed that a `weston_test.move_pointer()` request during an active drag and drop session leads to a `wl_pointer.motion` event, and not a `wl_...Chromium uses `weston_test` for its automated Wayland tests. During my work on these tests, I noticed that a `weston_test.move_pointer()` request during an active drag and drop session leads to a `wl_pointer.motion` event, and not a `wl_data_device.motion` event.
If I understand correctly, the `weston_test` interface is not really meant to be used by something other than `weston`'s own tests. But it would be great if this could be fixed nonetheless, as Chromium's Wayland testing would not be possible without `weston_test`.https://gitlab.freedesktop.org/wayland/weston/-/issues/494Use paint nodes everywhere2024-01-22T13:00:35ZPekka Paalanenppaalanen@gmail.comUse paint nodes everywhereMR !612 introduces "paint nodes" as suggested by @daniels.
The following discussion from !582 should be addressed:
- @daniels started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/582#note_895765): (+11...MR !612 introduces "paint nodes" as suggested by @daniels.
The following discussion from !582 should be addressed:
- @daniels started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/582#note_895765): (+11 comments)
In that thread, a plan was drafted for making use of paint nodes to resolve several internal design problems in libweston. This plan, when fully realized, should:
- allow overlapping `weston_output`s with correct damage tracking
- simplify `weston_view` handling vs. sub-surfaces
- help DRM-backend with KMS plane vs. view related bookkeeping
- provide per-output z-ordered view repaint lists optimized for each output
- allow caching the total geometric transformation from buffer to output pixel coordinates
Many new tests will be needed to minimize regressions:
- [ ] Ensuring damage is correctly handled with damage from clients, and view map, unmap, move, resize, restack. (This should be correct already.)
- [ ] Check that damage masked by unchanged opaque regions gets correctly ignored on repainting an output. (This should happen already too.)
- [ ] In-compositor inflicted damage does not result in texture uploads (#3).
- [ ] Test everything also multiple outputs, and views spanning multiple outputs.
Issues from !612:
- [x] `weston_output` `paint_node_z_order_list` needs to be pruned; build it so that it contains only those paint nodes that actually affect the output.
From https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/582#note_899406:
- `weston_view` is retained as the structure for the frontend window manager to place surfaces into the scene graph, which are placed in layer lists
- [x] we create a new structure for the backends (including renderer) to consume as part of repaint (call it `weston_paint_node`) containing view ptr + link, output ptr + link, and surface ptr + link; it's placed in a list in `weston_view`, with `weston_compositor_build_view_list` creating it for every `weston_view` + `weston_output` combination if not already existing, and `weston_output_destroy`/`weston_view_destroy` destroying any paint nodes which reference that output/view (!612)
- [x] we create a `weston_paint_node->color_state` which this patchset can use to cache the core color state without the need for surface/view/output destroy listeners, since it will be explicitly destroyed from either surface -> view -> paint_node destruction or output -> paint_node destruction (!582)
- [x] output repaint (backend and renderer) is changed to iterate paint-nodes rather than views, albeit mostly just back-referencing to views for everything (!612)
- [ ] over time, we hollow out `weston_view` as things like damage/geometry/plane/etc migrate to `weston_paint_node`, being constructed from surface+view as required (e.g. `weston_surface_damage` calls through to `weston_view_damage`, however this just iterates the list of paint-nodes and applies damage to those, at this point we could probably make the paint-node damage be pre-transformed to output co-ordinate space too, as well as handling occlusion)
- [ ] `view_list` becomes completely untouched by backends at this point, being used only by middle end surface (e.g. surface damage -> paint-node damage via views) and input picking (global co-ord -> surface+co-ord via views)
- [ ] `weston_paint_node` gains a `root_view` member, referring to the view which was actually created by the frontend rather than internal
- [ ] input picking is refactored: touch events (being derived from output co-ordinates) pick a paint-node directly, pointer events (being derived from global co-ordinates) are transformed to output co-ordinate space and then pick a paint-node, focus is stored as a root-view + surface pair (and we eventually create a more sensible focus interface for frontends but this is already too long to get into)
- [ ] middle-end paint-node generation is refactored: rather than generating views as required (e.g. materialising views for subsurfaces), it begins from a root view, directly materialising paint nodes as required for every surface+output combination under that root view (perhaps generating multiple paint-nodes for each render key such as blended-under vs. unoccluded, etc)
From https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/582#note_901104:
- [ ] At a later point, paint nodes later get their own `transform` member (transformed into output space and clipped for occlusion), which the backend and renderers are modified to use during repaint, initially just derived from the `weston_view`. At a further later point (either commit or MR), the view's `transform` is removed, with each paint-node's transform being derived from the *root* view's geometry + (sub)surface transform + output transform.
From https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/582#note_901163:
> The path to sensible damage tracking looks quite similar, I think, and *definitely* comes after the above movement of transform, but also comes somewhere before being able to move away from views in the backend/renderer.
>
> In rough order, here's what I see we need to do:
1. [x] Everything remains as is, nothing is touched
1. [x] Paint nodes gain a `damage` member, and `view_accumulate_damage` propagates the damage region down to each paint node for that view, transformed to the output and clipped to the paint node's total clip (i.e. none if occluded)
1. [x] `output_accumulate_damage` is changed to accumulate from all the paint nodes for that output, rather than from the view
1. [ ] `output_accumulate_damage` is changed to only flush surface damage for surfaces whose paint nodes on that output contain active damage, which means we no longer flush surface damage for occluded surfaces (the first client-visible behaviour change)
1. [ ] `weston_view_damage` is introduced to damage a region (or all) of a view, which internally calls a new `weston_paint_node_damage()` for all of its paint nodes
1. [x] `weston_view->plane` is moved to the paint node, with damage incurred from plane changes being placed on the paint node rather than the whole view
1. \[everything after this point is a little hazy as it's too far in the future to say confidently, but in broad strokes ...\]
1. [x] the logic for incurring damage from subsurface stacking/geometry changes and view transform updates (e.g. moving a view), is moved to act on paint nodes, if a paint node changes position or is added/removed within the stack, it is that operation of manipulating the paint nodes which incurs damage, rather than the current mechanism of surface commit -> subsurface commit -> subsurface z-order stack change -> damage all surfaces -> schedule repaint for involved outputs -> \[wait for output repaint\] -> accumulate surface damage into view damage -> reduce view damage into paint-node damage
1. [x] `weston_surface_damage` callers are migrated to damage either paint nodes (for low-level operations), or damage views (for window-management operations) which in turn damage paint nodes
1. [x] view damage is removed, since it is no longer used by anyone and no longer makes sense at this point
1. [x] We now have one less obstacle in the way of requiring one view per (sub)surface in the scene graph, and we've fixed #3, and we can finally have outputs which overlap in global co-ordinate space
> Suffice to say, this is a lot of work, but it can at least be done incrementally, and gives us a lot of good intermediate points to write new tests against: with the new model separating client-provoked damage from WM-provoked damage, we have semantics we can reason about and validate at each point.https://gitlab.freedesktop.org/wayland/weston/-/issues/425Replace hand-crafted pixel format conversion routines with Pixman calls2020-10-08T12:17:32ZLeandro RibeiroReplace hand-crafted pixel format conversion routines with Pixman callsThe following discussion from !458 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/458#note_596068): (+2 comments)
> Oh my, I didn't even realize these were dupl...The following discussion from !458 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/458#note_596068): (+2 comments)
> Oh my, I didn't even realize these were duplicated already.
>
> They should be replaced with `pixman_image_composite32()` calls, but that's another story. Just leave them here.
Instead of writing our own functions to copy the screenshot to the client buffer, it is better to use `pixman` functions instead.https://gitlab.freedesktop.org/wayland/weston/-/issues/355Add dmabuf tests to exercise color format conversion shaders2021-05-31T12:34:06ZPekka Paalanenppaalanen@gmail.comAdd dmabuf tests to exercise color format conversion shadersThe GL-renderer supports a good bunch of pixel formats, and it has a selection of shaders to manually convert YUV to RGB.
Write some screenshooting-based tests that prepare a `wl_buffer` with a given pixel format, commit it into a windo...The GL-renderer supports a good bunch of pixel formats, and it has a selection of shaders to manually convert YUV to RGB.
Write some screenshooting-based tests that prepare a `wl_buffer` with a given pixel format, commit it into a window, and take a screenshot to ensure it shows up correctly. Do this for such pixel formats that you get most, if not all, fragment shader pieces in GL-renderer exercised.
This likely requires creating `zwp_linux_dmabuf` buffers manually. See e.g. `simple-dmabuf-egl.c`.
#354 takes care of the usual RGB formats, those do not need to be tested here.
This depends on #310 for infrastructure.Pekka Paalanenppaalanen@gmail.comPekka Paalanenppaalanen@gmail.comhttps://gitlab.freedesktop.org/wayland/weston/-/issues/354Add tests for RGB565, XRGB8888 and ARGB8888 pixel formats2020-12-17T09:34:10ZPekka Paalanenppaalanen@gmail.comAdd tests for RGB565, XRGB8888 and ARGB8888 pixel formatsThis is to ensure that pixel formats RGB565, XRGB8888 and ARGB8888 are rendered correctly. Some tests already depend of XRGB and ARGB, but there are special cases to test for:
- RGB565 in general is not used yet
- with XRGB8888, ensure t...This is to ensure that pixel formats RGB565, XRGB8888 and ARGB8888 are rendered correctly. Some tests already depend of XRGB and ARGB, but there are special cases to test for:
- RGB565 in general is not used yet
- with XRGB8888, ensure the X channel is really ignored, regardless of `wl_surface` opaque region
- with ARGB8888, ensure the A channel is used outside of opaque region and ignored inside of opaque region
Ignoring A channel inside opaque region is not a protocol requirement but a workaround for Xwayland. Xwayland used to mess up in some cases by leaving garbage in the A channel.
This needs to run over both pixman and GL renderers. Hence this depends on #310 for infrastructure.https://gitlab.freedesktop.org/wayland/weston/-/issues/344Remove environment variables that were used by the old test harness2020-01-21T10:57:06ZPekka Paalanenppaalanen@gmail.comRemove environment variables that were used by the old test harnessThe following discussion from !287 should be addressed:
- [ ] @daniels started a [discussion](https://gitlab.freedesktop.org/wayland/weston/merge_requests/287#note_389488): (+3 comments)
> Shouldn't this be removed in the commit w...The following discussion from !287 should be addressed:
- [ ] @daniels started a [discussion](https://gitlab.freedesktop.org/wayland/weston/merge_requests/287#note_389488): (+3 comments)
> Shouldn't this be removed in the commit which moves `tests: migrate internal-screenshot`? After that, the only users of the reference path have the C definition.
We should remove environment variables like `WESTON_TEST_REFERENCE_PATH` and `WESTON_MODULE_MAP`. These were only used by the test suite and are nowadays automatically set or have working defaults. There should be no need to pick them up from the environment anymore.
`WESTON_TEST_OUTPUT_PATH` might be still useful, might not.
`WESTON_DATA_DIR` is used by `shared/file-util.c`, but it probably should go as well.
However, one thing to consider is if people want to run a cross-built test suite. If anyone does, they might already be overriding e.g. `WESTON_TEST_REFERENCE_PATH`.
I suspect that `WESTON_MODULE_MAP` is already abused to load custom renderers or backends, but that we don't care about.https://gitlab.freedesktop.org/wayland/weston/-/issues/335Take advantage of flight recorder in tests2019-12-12T14:10:30ZPekka Paalanenppaalanen@gmail.comTake advantage of flight recorder in testsTests should enable all existing log scopes for the flight recorder. When a test fails, the flight recorder log needs to be dumped. This may provide valuable insight into why the test failed.
For tests to be able to do this, we probably...Tests should enable all existing log scopes for the flight recorder. When a test fails, the flight recorder log needs to be dumped. This may provide valuable insight into why the test failed.
For tests to be able to do this, we probably need more `wet_*()` API for setting up the scopes and maybe triggering the dump. !287 adds a piece of test oriented API, and this could go alongside that.
This task depends on #311 and #144 for the replacement macros for asserts.https://gitlab.freedesktop.org/wayland/weston/-/issues/327EPIC: XWM testing2022-09-21T14:01:50ZPekka Paalanenppaalanen@gmail.comEPIC: XWM testingWeston has a built-in X11 window manager (XWM). Weston test suite has exactly one test touching Xwayland: a smoke test that only checks if Xwayland started.
XWM is a hard thing to develop. You have to know both the old X11 world and Wes...Weston has a built-in X11 window manager (XWM). Weston test suite has exactly one test touching Xwayland: a smoke test that only checks if Xwayland started.
XWM is a hard thing to develop. You have to know both the old X11 world and Weston's internals including libweston-desktop and desktop-shell. XWM is also making blocking X11 roundtrips to Xwayland, and Xwayland makes Wayland calls to Weston, so the danger of deadlocking is obvious, although mostly relying on Xwayland never making a blocking Wayland roundtrip. XWM must handle two asynchronous protocol streams simultaneously and correlate between them: Wayland and X11. The X11 window management side is full of arcane magic, forgotten specs, and races.
All that makes XWM extremely fragile, and we have no automated tests to ensure even the simplest cases work correctly, not to mention the more "interesting" ones that decades of badly written X11 apps have imposed on traditional X11 window managers.
Figure out how we could get XWM properly tested e.g. with screenshot-based tests.
I would not like to introduce a huge amount of X11 programs in the Weston repository, but then again is there any other option to exercise XWM in a controlled fashion?https://gitlab.freedesktop.org/wayland/weston/-/issues/311Test harness re-design, step 2: asserts, checks, and runners2021-07-12T10:37:04ZPekka Paalanenppaalanen@gmail.comTest harness re-design, step 2: asserts, checks, and runnersThe following discussion from !287 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/merge_requests/287#note_282295): (+1 comment)
> Since we are running all tests of one program w...The following discussion from !287 should be addressed:
- [ ] @pq started a [discussion](https://gitlab.freedesktop.org/wayland/weston/merge_requests/287#note_282295): (+1 comment)
> Since we are running all tests of one program without forking, any test that fails an `assert()` or such will cause the whole program to quit, meaning that following tests in the program will not be run.
The question about what to replace asserts with is part of a bigger question if we should be using a ready-made test framework. Evaluate Check, gtest, whatever C test frameworks there are, and also the ZUC framework that exists already in Weston but is underused. Some evaluation criteria are:
- allows us to not `fork()`
- does not need environment variable setup or special command line options
- makes tests easier to write
- makes tests more clear to read
- if it replaces the Meson test runner, it provides reports suitable for Gitlab consumption
Most of the above are goals from #289 and !287.https://gitlab.freedesktop.org/wayland/weston/-/issues/309Measure test coverage2021-03-09T10:11:10ZPekka Paalanenppaalanen@gmail.comMeasure test coverageWe have a test suite in Weston (soon looking quite different under the hood due to !287), we assume we are poor with test coverage, but how poor are we exactly?
Experiment with [Meson's coverage support](https://mesonbuild.com/Unit-test...We have a test suite in Weston (soon looking quite different under the hood due to !287), we assume we are poor with test coverage, but how poor are we exactly?
Experiment with [Meson's coverage support](https://mesonbuild.com/Unit-tests.html#coverage) and see what we can get out.
Gitlab seems to be very limited with its [coverage reporting support](https://docs.gitlab.com/ee/user/project/pipelines/settings.html#test-coverage-parsing), but I'm thinking of something more like... [sunburst charts](https://plot.ly/python/sunburst-charts/) where the center is the project root directory with the total coverage percentage, and directories and files fan out from it, having source code files at the leaves. With color coding for coverage. So on a glance you can see that `fullscreen-shell/*` is completely untested but has little code, much of `clients/*` is never exercised but is not that much code either, `libweston/*` is (hopefully!) a little better and contains a huge load of code, and so on.
How to publish a chart from e.g. a CI run is a good question.
What would be most interesting is how each MR changes the coverage numbers, but I have no idea how that could be implemented.
It would also be nice to compare coverage reports, so that when you add a new test, you can see exactly which bits of code started being tested.https://gitlab.freedesktop.org/wayland/weston/-/issues/305Manual DRM-backend smoke-test with VKMS2020-05-26T09:30:02ZPekka Paalanenppaalanen@gmail.comManual DRM-backend smoke-test with VKMSAdd a test in the test suite that runs Weston/DRM/pixman using the non-default seat `seat-vkms`. Whether this actually runs depends on whether there is a DRM device available on `seat-vkms`, otherwise the test is skipped. Input devices a...Add a test in the test suite that runs Weston/DRM/pixman using the non-default seat `seat-vkms`. Whether this actually runs depends on whether there is a DRM device available on `seat-vkms`, otherwise the test is skipped. Input devices are not required or used.
I call this a manual test, because this test would depend on the local system setup to have VKMS kernel module loaded and `seat-vkms` configured.
It requires Weston to be able to start on a non-default seat with normal user permissions: either the user must have access to the VKMS DRM device, or logind needs to be able to hand that out. `weston-launch` cannot be used, because it would require root permissions to install as setuid-root, and without setuid-root it cannot provide anything useful.
Weston on non-default seat depends also on skipping all VT/tty setup.
This task depends on !287.https://gitlab.freedesktop.org/wayland/weston/-/issues/301WLCS support2022-09-13T15:14:10ZPekka Paalanenppaalanen@gmail.comWLCS supportEmbrace [Wayland Conformance Test Suite](https://github.com/MirServer/wlcs): make it possible to run WLCS against Weston.
After that is done, follow-up work would include:
- fix all bugs it finds
- make it part of Weston CIEmbrace [Wayland Conformance Test Suite](https://github.com/MirServer/wlcs): make it possible to run WLCS against Weston.
After that is done, follow-up work would include:
- fix all bugs it finds
- make it part of Weston CIChristopher James Halse RogersChristopher James Halse Rogers