weston issueshttps://gitlab.freedesktop.org/wayland/weston/-/issues2024-03-05T10:09:24Zhttps://gitlab.freedesktop.org/wayland/weston/-/issues/825Pointer constraint is ignored before the first click on the surface in Warcra...2024-03-05T10:09:24ZLink MauvePointer constraint is ignored before the first click on the surface in Warcraft III running in wine-waylandAlexandros’s old Wine wayland branch uses pointer constraints and `wp_viewporter` to expose the same feature as mode switches but just for the one fullscreen surface.
Since the crash in #823 got resolved, the pointer constraint is still...Alexandros’s old Wine wayland branch uses pointer constraints and `wp_viewporter` to expose the same feature as mode switches but just for the one fullscreen surface.
Since the crash in #823 got resolved, the pointer constraint is still not applied correctly until the first click on the surface, before that the software pointer will appear to be stuck to its last position when the pointer is outside of the surface, and will teleport to the new position once it is back inside, which is not the expected behaviour when using pointer constraints.https://gitlab.freedesktop.org/wayland/weston/-/issues/880Copy/Paste into/out-of Weston from outside container2024-03-04T14:48:05ZDylan MorrollCopy/Paste into/out-of Weston from outside containerAs far as I can tell, unless I've missed something, there's no ability to paste into a Weston container from the clipboard of the surrounding container (or copy out of). I would find this very useful if it could be implemented! I've know...As far as I can tell, unless I've missed something, there's no ability to paste into a Weston container from the clipboard of the surrounding container (or copy out of). I would find this very useful if it could be implemented! I've known this feature in some VMs so it seems like it would be possible?
Thanks for the great project :)https://gitlab.freedesktop.org/wayland/weston/-/issues/883Can't move virtual mouse to different display2024-03-04T11:00:39Zkw avnetCan't move virtual mouse to different displayI have a setup consisting of two displays labelled "D1" and "D2".
When attaching a physical mouse, classified as a Mouse
`Mouse device: is tagged by udev as: Mouse` and place the cursor on the second screen (D2) and now move the cursor ...I have a setup consisting of two displays labelled "D1" and "D2".
When attaching a physical mouse, classified as a Mouse
`Mouse device: is tagged by udev as: Mouse` and place the cursor on the second screen (D2) and now move the cursor back to D1, everything
works as expected.
If I now to the same with a uinput virtual device also classified as a Mouse, the cursor get's stuck on 0x0 of the D2.
Extract from `weston-debug proto | grep wl_pointer` for the physical mouse
```
[2024-02-29 10:58:10.793][proto] client 0xaaaadcfb6910 ev wl_pointer@20.motion(15068241, 4.101562, 56.011719)
[2024-02-29 10:58:10.793][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:58:10.801][proto] client 0xaaaadcfb6910 ev wl_pointer@20.motion(15068249, 2.007812, 58.105469)
[2024-02-29 10:58:10.801][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:58:10.809][proto] client 0xaaaadcfb6910 ev wl_pointer@20.leave(974, wl_surface@32)
[2024-02-29 10:58:10.809][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:58:10.809][proto] client 0xaaaadcac0d20 ev wl_pointer@21.enter(975, wl_surface@14, 1277.820312, 59.152344)
[2024-02-29 10:58:10.809][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068257, 1277.820312, 59.152344)
[2024-02-29 10:58:10.817][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068265, 1273.312500, 60.281250)
[2024-02-29 10:58:10.825][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068273, 1268.710938, 62.582031)
[2024-02-29 10:58:10.833][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068281, 1262.632812, 63.796875)
[2024-02-29 10:58:10.838][proto] client 0xaaaadcac0d20 rq wl_pointer@21.set_cursor(975, wl_surface@13, 1, 1)
[2024-02-29 10:58:10.841][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068289, 1254.656250, 65.125000)
[2024-02-29 10:58:10.849][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068297, 1252.363281, 65.125000)
[2024-02-29 10:58:10.857][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068305, 1245.542969, 65.125000)
[2024-02-29 10:58:10.865][proto] client 0xaaaadcac0d20 ev wl_pointer@21.motion(15068313, 1235.367188, 65.125000)
```
and for the virtual device
```
[2024-02-29 10:55:26.632][proto] client 0xaaaadcfb6910 ev wl_pointer@20.enter(928, wl_surface@31, 0.000000, 0.000000)
[2024-02-29 10:55:26.632][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:55:26.632][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:55:26.634][proto] client 0xaaaadcfb6910 rq wl_pointer@20.set_cursor(928, wl_surface@40, 1, 1)
[2024-02-29 10:55:26.732][proto] client 0xaaaadcfb6910 ev wl_pointer@20.leave(929, wl_surface@31)
[2024-02-29 10:55:26.732][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:55:26.732][proto] client 0xaaaadcfb6910 ev wl_pointer@20.enter(930, wl_surface@31, 0.000000, 0.000000)
[2024-02-29 10:55:26.732][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:55:26.732][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:55:26.734][proto] client 0xaaaadcfb6910 rq wl_pointer@20.set_cursor(930, wl_surface@23, 1, 1)
[2024-02-29 10:55:26.832][proto] client 0xaaaadcfb6910 ev wl_pointer@20.leave(931, wl_surface@31)
[2024-02-29 10:55:26.832][proto] client 0xaaaadcfb6910 ev wl_pointer@20.frame()
[2024-02-29 10:55:26.832][proto] client 0xaaaadcfb6910 ev wl_pointer@20.enter(932, wl_surface@31, 0.000000, 0.000000)
```
Is that a known behavior?
Was there already a fix for that (I forced to use a weston 10.x branch for my test) I could backport?
Happy for some input
Reproduction
- run weston with two displays
- attach the physical mouse
- move the cursor to the 2nd screen
- try to iteratively move the cursor using a uinput virtual device (e.g. with the help of ydotool)
Expected behavior
- cursor can be move to the first screen
Actual behavior
- cursor get's stuck on 0x0 of the second screenhttps://gitlab.freedesktop.org/wayland/weston/-/issues/569application get first touch event while the screen is locked2024-02-29T14:41:43Zekapllajapplication get first touch event while the screen is lockedWhen using the screensaver on wayland, the screen fades out but all applications are still there and can get the first click/touch on the display. After the first click, the "Ulock your Desktop" gui is rendered, and from this moment all ...When using the screensaver on wayland, the screen fades out but all applications are still there and can get the first click/touch on the display. After the first click, the "Ulock your Desktop" gui is rendered, and from this moment all events are intercepted by the unlock window.
I just commented the line which turns off the backlight on _weston_compositor_sleep()_ and found out all layers are still there also when the screen is locked.
This is a picture describing the issue. The upper image is made when the screen is locked, then touching on the text input field, the Unlock image is displayed (middle image) and after touching on the green ball, the screen unlocks, and we can see the input field is selected and the keyboard is up.
![weston-screensaver](/uploads/d1dcac16dc09f725b527482f9d49cfc6/weston-screensaver.jpg)
The same issue can be verified also with the screen locked, if we touch on the terminal icon (top left corner), when the screen is unlocked, we can see the terminal is opened.
Debugging the screen locking mechanism (function _lock()_ on _shell.c_ file), _panel_layer_, _fullscreen_layer_, _input_panel_layer_ and _layer_ are hidden, the _lock_layer_ is set, and then the _weston_compositor_sleep()_ is called, which puts the compositor on the sleep status.
From what I sow, none of the previous functions takes effect until the next repaint, which doesn't occur because now the _compositor->state = WESTON_COMPOSITOR_SLEEPING_ is set.
I found a solution to this problem by patching _weston_output_maybe_repaint()_ to consider also this case (compositor on sleep status but _repaint_needed_).
With this patch, everything on screen is hidden, and I have no unwanted clicks/touches propagated into the applications after screen unlock.
I don't know if this is the correct solution, but I'm going to create a pull request and maybe we can discuss about it.https://gitlab.freedesktop.org/wayland/weston/-/issues/147Can click through the lock screen2024-02-29T14:41:43ZVal Packettval@packett.coolCan click through the lock screen- Weston locks the screen and turns it off
- I click the touchpad to wake the laptop
- A Firefox addon (password manager, even) pops up over the lock screen and I can interact with it
![wayland-screenshot-2018-09-18_13-46-00-fs8](/uploa...- Weston locks the screen and turns it off
- I click the touchpad to wake the laptop
- A Firefox addon (password manager, even) pops up over the lock screen and I can interact with it
![wayland-screenshot-2018-09-18_13-46-00-fs8](/uploads/5295e99e1cd52c8595a4007f0f989ade/wayland-screenshot-2018-09-18_13-46-00-fs8.png)
I guess the cursor was on that button and I never moved the cursor after locking (click was the first event). I have reproduced this a couple times.https://gitlab.freedesktop.org/wayland/weston/-/issues/882Weston error EGL 0x30022024-02-28T11:23:28ZNic GreenwayWeston error EGL 0x3002Hi All
I have a Qt 5.15 application running under Weston Wayland on Yocto Linux. It contains a Qt virtual keyboard on a popup dialog (application-modal), which generally works fine.
When I run the popup on a 4k monitor, or try to maxim...Hi All
I have a Qt 5.15 application running under Weston Wayland on Yocto Linux. It contains a Qt virtual keyboard on a popup dialog (application-modal), which generally works fine.
When I run the popup on a 4k monitor, or try to maximise it on a regular 1920x1080 monitor, the popup becomes a black rectangle, sometimes with a white flickering rectangle where the virtual keyboard should be. When this happens journalctl records:
`Feb 27 15:27:32 jetson-xavier-nx-devkit-tx2-nx weston[5632]: [15:27:32.512] failed to set stream consumer`
`Feb 27 15:27:32 jetson-xavier-nx-devkit-tx2-nx weston[5632]: [15:27:32.512] EGL error: 0x3002`
Any advice on how to proceed would be appreciated!https://gitlab.freedesktop.org/wayland/weston/-/issues/450xdg-shell: set_parent() should be a no-op when the parent surface passed is n...2024-02-28T10:22:02ZMarius Vladxdg-shell: set_parent() should be a no-op when the parent surface passed is null?This is more of a question rather an issue and would like to get some
feedback on the matter.
So, according to the XDG-Shell proto, for `set_parent()` the following is written:
> Setting a null parent for a child window removes any ...This is more of a question rather an issue and would like to get some
feedback on the matter.
So, according to the XDG-Shell proto, for `set_parent()` the following is written:
> Setting a null parent for a child window removes any parent-child
> relationship for the child. Setting a null parent for a window which
> currently has no parent is a no-op.
Now, in libweston-desktop, the implementation for `set_parent()` will make sure to
call `weston_desktop_xdg_toplevel_ensure_added()` no matter if the argument to parent
is null and there's no check if the current top level surface has any children.
For situations where the client issues a `set_parent()` for a top level
surface which wasn't even added until then, will this be considered as a no-op or
my interpretation of the above is faulty?
A consequence of that is that any property set to the top level surface, for instance,
if a client does the following:
```
wl_compositor@4.create_surface(new id wl_surface@38)
xdg_wm_base@18.get_xdg_surface(new id xdg_surface@39, wl_surface@1)
xdg_surface@39.get_toplevel(new id xdg_toplevel@40)
xdg_toplevel@40.set_parent(nil)
xdg_toplevel@40.set_title("title")
wl_surface@38.commit()
```
will result in the fact that `desktop_api.set_parent()` will not "see"/gain access to the properties
at that time.
Question is, should or shouldn't `weston_desktop_xdg_toplevel_ensure_added()` be deferred until
properties have been added, or alternatively, check if there are any children in case the parent arg
being passed is null. I guess that is even easier to check as if the top level surface wasn't even
added as it can't have any children obviously.
Notice that changing the order between setting the property and doing `set_parent()` will change
the outcome.https://gitlab.freedesktop.org/wayland/weston/-/issues/667Fullscreen windows should get pointer confinement activated immediately by de...2024-02-26T12:46:12Zmanuel alfayateFullscreen windows should get pointer confinement activated immediately by defaultCurrently, when pointer confinement is asking for a window, user has to click on the window for the confinement to actually happen.
That's a compositor policy, implemented on `maybe_enable_pointer_constraint()` here:
https://gitlab.freed...Currently, when pointer confinement is asking for a window, user has to click on the window for the confinement to actually happen.
That's a compositor policy, implemented on `maybe_enable_pointer_constraint()` here:
https://gitlab.freedesktop.org/wayland/weston/-/blob/main/libweston/input.c#L3729
However, in the case of fullscreen windows, they should have the pointer confinement granted.
Think of any fullscreen UI or game where the pointer is only supposed to move on a part of the screen: it's very strange to have users click on screen before pointer confinement happens in that case.
So, modification of `maybe_enable_pointer_constraint()` is needed to detect whether a window is fullscreen, and grant pointer confinement immediately in that case.https://gitlab.freedesktop.org/wayland/weston/-/issues/244libweston/DRM renderless (planes only) compositing mode2024-02-23T17:29:42ZPekka Paalanenppaalanen@gmail.comlibweston/DRM renderless (planes only) compositing modeThis is an idea suggestion and I have no personal interest in it for now. I just recalled some IRC discussions from months back.
Particularly on closed embedded systems (TVs, set-top-boxes, special video equipment, ...) the whole system...This is an idea suggestion and I have no personal interest in it for now. I just recalled some IRC discussions from months back.
Particularly on closed embedded systems (TVs, set-top-boxes, special video equipment, ...) the whole system from hardware to software may be designed so that all compositing needs should be satisfied by the display hardware, making renderers useless. That is, when things actually work as designed. It will allow to cut costs in hardware e.g. by choosing a very cheap and slow GPU, while still being able to push full framerate 4K whatever video through by using dedicated display hardware features.
To help people develop and push such systems in the wild, libweston/DRM could do a few things:
- Whenever libweston falls back to the renderer at all, make it print the reasons why it did so. This should likely just re-use the framework developed for solving #144.
- Make `zwp_linux_dmabuf` implementation (the check hook) verify that the created buffer at least has some chances of being scanout-able. Importing as a DRM FB would be the most reliable check, but if that is somehow not acceptable, then the very least the dmabuf format and modifier should be checked against the KMS supported formats and `IN_MODIFIERS`. If there it seems impossible to scan out the dmabuf directly, reject it, so the client can try something else. This might be crucial since normally client side doesn't really care and relies on luck for scanout-ability.
- The GL-renderer tint mode could be activated to show which parts are render-composited on screen.
- Make Pixman-renderer not reject dmabufs when renderless compositing mode is set. This will allow the system designer to avoid OpenGL completely. All dmabufs should be CPU-mmappable nowadays, so Pixman-renderer could support them instead of just not rendering.Marius VladMarius Vladhttps://gitlab.freedesktop.org/wayland/weston/-/issues/811Segfault when opening a program by pressing a stylus on a launcher2024-02-23T08:43:36ZLink MauveSegfault when opening a program by pressing a stylus on a launcher```rust
Program terminated with signal SIGSEGV, Segmentation fault.
#0 has_keyboard_focused_child_callback (surface=<optimized out>, user_data=0x7fffb8759357) at ../desktop-shell/shell.c:1619
1619 ../desktop-shell/shell.c: No such fi...```rust
Program terminated with signal SIGSEGV, Segmentation fault.
#0 has_keyboard_focused_child_callback (surface=<optimized out>, user_data=0x7fffb8759357) at ../desktop-shell/shell.c:1619
1619 ../desktop-shell/shell.c: No such file or directory.
[Current thread is 1 (Thread 0x7fb0e99cad00 (LWP 888708))]
(gdb) bt
#0 has_keyboard_focused_child_callback (surface=<optimized out>, user_data=0x7fffb8759357) at ../desktop-shell/shell.c:1619
#1 0x00007fb0e9fd8619 in weston_desktop_surface_foreach_child
(surface=0x557d22b348a0, callback=callback@entry=0x7fb0decb1b20 <has_keyboard_focused_child_callback>, user_data=user_data@entry=0x7fffb8759357) at ../libweston/desktop/surface.c:897
#2 0x00007fb0decb1c6e in has_keyboard_focused_child (shsurf=0x557d22913020) at ../desktop-shell/shell.c:1637
#3 sync_surface_activated_state (shsurf=<optimized out>) at ../desktop-shell/shell.c:1658
#4 0x00007fb0decb581e in shell_surface_deactivate (shsurf=<optimized out>) at ../desktop-shell/shell.c:1688
#5 activate (shell=shell@entry=0x557d22a00690, view=<optimized out>, seat=seat@entry=0x557d22125000, flags=1) at ../desktop-shell/shell.c:3702
#6 0x00007fb0decb6eba in map (shsurf=0x557d229ffdd0, shell=0x557d22a00690) at ../desktop-shell/shell.c:2328
#7 desktop_surface_committed (desktop_surface=<optimized out>, sx=<optimized out>, sy=<optimized out>, data=0x557d22a00690) at ../desktop-shell/shell.c:2382
#8 0x00007fb0e9fe0545 in weston_desktop_surface_surface_committed (listener=0x557d2297cf88, data=<optimized out>) at ../libweston/desktop/surface.c:193
#9 0x00007fb0e9fba849 in wl_signal_emit (data=0x557d22b6f1f0, signal=0x557d22b6f210) at /usr/include/wayland-server-core.h:496
#10 weston_surface_commit_state (surface=surface@entry=0x557d22b6f1f0, state=state@entry=0x557d22b6f318) at ../libweston/compositor.c:4432
#11 0x00007fb0e9fbb4d7 in weston_surface_commit (surface=0x557d22b6f1f0) at ../libweston/compositor.c:4446
#12 surface_commit (client=<optimized out>, resource=<optimized out>) at ../libweston/compositor.c:4531
#13 0x00007fb0e9ca44f6 in () at /usr/lib/libffi.so.8
#14 0x00007fb0e9ca0f5e in () at /usr/lib/libffi.so.8
#15 0x00007fb0e9ca3b73 in ffi_call () at /usr/lib/libffi.so.8
#16 0x00007fb0e9f8ea20 in wl_closure_invoke (closure=closure@entry=0x557d22b62a60, flags=flags@entry=2, target=<optimized out>,
target@entry=0x557d22925ce0, opcode=opcode@entry=6, data=<optimized out>, data@entry=0x557d22920200) at ../wayland/src/connection.c:1025
#17 0x00007fb0e9f8861f in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x557d22920200) at ../wayland/src/wayland-server.c:438
#18 0x00007fb0e9f8bd82 in wl_event_loop_dispatch (loop=0x557d22117480, timeout=<optimized out>, timeout@entry=-1) at ../wayland/src/event-loop.c:1104
#19 0x00007fb0e9f88ef7 in wl_display_run (display=display@entry=0x557d22117390) at ../wayland/src/wayland-server.c:1493
#20 0x00007fb0ea2b14cb in wet_main (argc=<optimized out>, argv=0x7fffb875a518, test_data=0x0) at ../compositor/main.c:4244
#21 0x00007fb0ea027cd0 in () at /usr/lib/libc.so.6
#22 0x00007fb0ea027d8a in __libc_start_main () at /usr/lib/libc.so.6
#23 0x0000557d212ce055 in _start ()
```https://gitlab.freedesktop.org/wayland/weston/-/issues/682Cut Your Test Runtime In Half With This One Weird Trick2024-02-22T14:31:29ZDaniel Stonedaniel@fooishbar.orgCut Your Test Runtime In Half With This One Weird TrickWeston's test runtime is dominated by output-damage. On my laptop (and this seems vaguely consistent with CI), it takes approx. 4.5sec to run. In this 4.5sec, it spawns a compositor 42 times (taking a screenshot twice each time), which s...Weston's test runtime is dominated by output-damage. On my laptop (and this seems vaguely consistent with CI), it takes approx. 4.5sec to run. In this 4.5sec, it spawns a compositor 42 times (taking a screenshot twice each time), which seems kind of unfortunate since we're losing parallelism on our long pole - everything else completes long before output-damage does.
But there's an easy way to reduce that 4.5s runtime to like 2s, and to reduce output-transforms from 3.5s to 1.3s! You can do it without touching the test suite or any of the tests, and by deleting a single character:
```diff
diff --git a/libweston/backend-headless/headless.c b/libweston/backend-headless/headless.c
index 83de39dc5..b121235fc 100644
--- a/libweston/backend-headless/headless.c
+++ b/libweston/backend-headless/headless.c
@@ -146,7 +146,7 @@ headless_output_repaint(struct weston_output *output_base,
pixman_region32_subtract(&ec->primary_plane.damage,
&ec->primary_plane.damage, damage);
- wl_event_source_timer_update(output->finish_frame_timer, 16);
+ wl_event_source_timer_update(output->finish_frame_timer, 1);
return 0;
}
```
Obviously this is not a serious suggestion to upstream this one patch, but yeah, we should really make the refresh period configurable, and push it as low as possible in the test suite unless we're actually, y'know, wanting to simulate 'real-world' timings.https://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/766Segfault when clicking on a fullscreen surface after coming back from another...2024-02-21T09:46:00ZLink MauveSegfault when clicking on a fullscreen surface after coming back from another TTYI had to unplug and plug back the external output in the meantime, perhaps this is related.
Here is the traceback:
```
Program terminated with signal SIGSEGV, Segmentation fault.
#0 wl_list_insert (list=0x0, elm=elm@entry=0x55b3394dc00...I had to unplug and plug back the external output in the meantime, perhaps this is related.
Here is the traceback:
```
Program terminated with signal SIGSEGV, Segmentation fault.
#0 wl_list_insert (list=0x0, elm=elm@entry=0x55b3394dc000) at ../wayland/src/wayland-util.c:47
47 ../wayland/src/wayland-util.c: No such file or directory.
[Current thread is 1 (Thread 0x7fc400d488c0 (LWP 116398))]
(gdb) bt
#0 wl_list_insert (list=0x0, elm=elm@entry=0x55b3394dc000) at ../wayland/src/wayland-util.c:47
#1 0x00007fc401344d26 in wl_signal_add (listener=0x55b3394dc000, signal=<optimized out>) at /usr/include/wayland-server-core.h:455
#2 0x00007fc3f6bf2f89 in shell_ensure_fullscreen_black_view (shsurf=0x55b3394cf8c0) at ../desktop-shell/shell.c:1944
#3 shell_configure_fullscreen (shsurf=shsurf@entry=0x55b3394cf8c0) at ../desktop-shell/shell.c:1979
#4 0x00007fc3f6bf6b52 in activate (shell=0x55b338bbd3c0, view=<optimized out>, seat=<optimized out>, flags=3) at ../desktop-shell/shell.c:3800
#5 0x00007fc40135cbde in weston_compositor_run_button_binding (state=<optimized out>, button=272, time=0x7fff2df98280, pointer=0x55b3394b3b80, compositor=0x55b338babfd0) at ../libweston/bindings.c:397
#6 weston_compositor_run_button_binding (state=<optimized out>, button=272, time=0x7fff2df98280, pointer=0x55b3394b3b80, compositor=0x55b338babfd0) at ../libweston/bindings.c:378
#7 notify_button (seat=<optimized out>, time=time@entry=0x7fff2df98280, button=272, state=state@entry=WL_POINTER_BUTTON_STATE_PRESSED) at ../libweston/input.c:2389
#8 0x00007fc4015a5e93 in handle_pointer_button (pointer_event=0x55b3395e2680, libinput_device=0x55b3393def20) at ../libweston/libinput-device.c:199
#9 evdev_device_process_event (event=0x55b3395e2680) at ../libweston/libinput-device.c:788
#10 udev_input_process_event (event=0x55b3395e2680) at ../libweston/libinput-seat.c:206
#11 process_event (event=0x55b3395e2680) at ../libweston/libinput-seat.c:216
#12 process_events (input=input@entry=0x55b338bb5b48) at ../libweston/libinput-seat.c:226
#13 0x00007fc4015a626d in udev_input_dispatch (input=0x55b338bb5b48) at ../libweston/libinput-seat.c:237
#14 libinput_source_dispatch (fd=<optimized out>, mask=<optimized out>, data=0x55b338bb5b48) at ../libweston/libinput-seat.c:247
#15 0x00007fc40130fb23 in wl_event_loop_dispatch (loop=0x55b338ba9c30, timeout=timeout@entry=-1) at ../wayland/src/event-loop.c:1027
#16 0x00007fc40130ce67 in wl_display_run (display=display@entry=0x55b338ba9b40) at ../wayland/src/wayland-server.c:1471
#17 0x00007fc4015c74d3 in wet_main (argc=<optimized out>, argv=0x7fff2df98e48, test_data=0x0) at ../compositor/main.c:4202
#18 0x00007fc4013b7850 in () at /usr/lib/libc.so.6
#19 0x00007fc4013b790a in __libc_start_main () at /usr/lib/libc.so.6
#20 0x000055b336e4d055 in _start ()
```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/418Cannot start weston on orangepi 3 (architecture=arm642024-02-20T14:29:48ZChen2008Cannot start weston on orangepi 3 (architecture=arm64I want test wayland work on my board,I want start weston,but it says:
```
Date: 2020-08-08 CST
[23:02:47.978] weston 8.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayl...I want test wayland work on my board,I want start weston,but it says:
```
Date: 2020-08-08 CST
[23:02:47.978] weston 8.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 8.0.0
[23:02:47.979] Command line: weston --modules=xwayland.so
[23:02:47.979] OS: Linux, 5.6.16-sunxi64, #7 SMP Fri Jul 24 01:39:42 CST 2020, aarch64
[23:02:47.998] Using config file '/root/.config/weston.ini'
[23:02:48.026] Output repaint window is 7 ms maximum.
[23:02:48.043] Loading module '/usr/lib/aarch64-linux-gnu/libweston-8/x11-backend.so'
[23:02:48.203] Loading module '/usr/lib/aarch64-linux-gnu/libweston-8/gl-renderer.so'
[23:02:48.434] EGL client extensions:
[23:02:48.435] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[23:02:48.435] failed to create display
[23:02:48.435] fatal: failed to create compositor backend
```
If I use drm backend,looks like this:
```
"drm-backend has not been destroyed.specfific platform support"
```
What should I do?https://gitlab.freedesktop.org/wayland/weston/-/issues/836If an xdg_popup isn't destroyed in response to xdg_popup.popup_done, switchin...2024-02-20T14:28:37ZKirill Primakvyivel@eclair.cafeIf an xdg_popup isn't destroyed in response to xdg_popup.popup_done, switching focus leads to NULL dereference(tested with 47d58f7f129649f45ff20efc12d060fe268af47f)
---
Tested with https://gitlab.freedesktop.org/vyivel/randfall/-/blob/main/cases/xdg_popup_interactive_ignore_popup_done.c
1) Open an popup by clicking on the toplevel surface
2) ...(tested with 47d58f7f129649f45ff20efc12d060fe268af47f)
---
Tested with https://gitlab.freedesktop.org/vyivel/randfall/-/blob/main/cases/xdg_popup_interactive_ignore_popup_done.c
1) Open an popup by clicking on the toplevel surface
2) Dismiss the popup by clicking anywhere else
3) Try to switch focus by clicking on another window or opening a new one
```
../desktop-shell/shell.c:1565:12: runtime error: member access within null pointer of type 'struct shell_surface'
AddressSanitizer:DEADLYSIGNAL
=================================================================
==55003==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000178 (pc 0x7fbe6dee4034 bp 0x7ffe5c9fe300 sp 0x7ffe5c9fe280 T0)
==55003==The signal is caused by a READ memory access.
==55003==Hint: address points to the zero page.
#0 0x7fbe6dee4034 in has_keyboard_focused_child_callback ../desktop-shell/shell.c:1565
#1 0x7fbe8414c16e in weston_desktop_surface_foreach_child ../libweston/desktop/surface.c:896
#2 0x7fbe6dee4342 in has_keyboard_focused_child ../desktop-shell/shell.c:1583
#3 0x7fbe6dee44b6 in sync_surface_activated_state ../desktop-shell/shell.c:1604
#4 0x7fbe6dee4803 in shell_surface_deactivate ../desktop-shell/shell.c:1634
#5 0x7fbe6defb198 in activate ../desktop-shell/shell.c:3637
#6 0x7fbe6deec6a7 in map ../desktop-shell/shell.c:2277
#7 0x7fbe6deed129 in desktop_surface_committed ../desktop-shell/shell.c:2331
#8 0x7fbe8413ab84 in weston_desktop_api_committed ../libweston/desktop/libweston-desktop.c:159
#9 0x7fbe84156fb8 in weston_desktop_xdg_toplevel_committed ../libweston/desktop/xdg-shell.c:793
#10 0x7fbe8415cfb4 in weston_desktop_xdg_surface_committed ../libweston/desktop/xdg-shell.c:1505
#11 0x7fbe84144471 in weston_desktop_surface_surface_committed ../libweston/desktop/surface.c:193
#12 0x7fbe8403f7ca in wl_signal_emit /usr/include/wayland-server-core.h:496
#13 0x7fbe8407cbd9 in weston_surface_commit_state ../libweston/compositor.c:4536
#14 0x7fbe8407ce75 in weston_surface_commit ../libweston/compositor.c:4551
#15 0x7fbe8407dc1b in surface_commit ../libweston/compositor.c:4636
#16 0x7fbe84505be5 in ffi_call_unix64 (/lib64/libffi.so.8+0x7be5) (BuildId: f5312719df7de0c6ae9d42ed18680d8016bb59d4)
#17 0x7fbe845024be in ffi_call_int.lto_priv.0 (/lib64/libffi.so.8+0x44be) (BuildId: f5312719df7de0c6ae9d42ed18680d8016bb59d4)
#18 0x7fbe8450518d in ffi_call (/lib64/libffi.so.8+0x718d) (BuildId: f5312719df7de0c6ae9d42ed18680d8016bb59d4)
#19 0x7fbe848fe842 in wl_closure_invoke.constprop.0 (/lib64/libwayland-server.so.0+0x9842) (BuildId: 5ba1da00efc72d602197f31c66d7d6516a9a62a3)
#20 0x7fbe849030b3 in wl_client_connection_data (/lib64/libwayland-server.so.0+0xe0b3) (BuildId: 5ba1da00efc72d602197f31c66d7d6516a9a62a3)
#21 0x7fbe849018e1 in wl_event_loop_dispatch (/lib64/libwayland-server.so.0+0xc8e1) (BuildId: 5ba1da00efc72d602197f31c66d7d6516a9a62a3)
#22 0x7fbe84902124 in wl_display_run (/lib64/libwayland-server.so.0+0xd124) (BuildId: 5ba1da00efc72d602197f31c66d7d6516a9a62a3)
#23 0x7fbe8531d468 in wet_main ../compositor/main.c:4369
#24 0x40116a in main ../compositor/executable.c:33
#25 0x7fbe84a49b89 in __libc_start_call_main (/lib64/libc.so.6+0x27b89) (BuildId: 7026fe8c129a523e07856d7c96306663ceab6e24)
#26 0x7fbe84a49c4a in __libc_start_main_alias_2 (/lib64/libc.so.6+0x27c4a) (BuildId: 7026fe8c129a523e07856d7c96306663ceab6e24)
#27 0x401084 in _start (/home/kira/opt/gfx/weston/build/compositor/weston+0x401084) (BuildId: d26bc6c92ffae07235b0fdfd3751e19b87681589)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ../desktop-shell/shell.c:1565 in has_keyboard_focused_child_callback
==55003==ABORTING
```https://gitlab.freedesktop.org/wayland/weston/-/issues/591Compositor shutdown sequencing2024-02-20T13:20:28ZPekka Paalanenppaalanen@gmail.comCompositor shutdown sequencingCurrently the compositor shutdown sequence is "abrupt". If anything calls `weston_compositor_exit()`, that will stop the main event loop ASAP, and after the event loop has stopped, then shutdown begins. This makes things like waiting for...Currently the compositor shutdown sequence is "abrupt". If anything calls `weston_compositor_exit()`, that will stop the main event loop ASAP, and after the event loop has stopped, then shutdown begins. This makes things like waiting for the final page flips to complete really awkward to implement.
I propose to have a "shutting down" compositor state during which the main event loop is still running.
Add `WESTON_COMPOSITOR_SHUTTING_DOWN` to the anonymous `enum` (and name the enum properly, and use the enum type in `struct weston_compositor::state`).
Create a `struct weston_compositor::state_change_signal` to replace all existing shutdown, idle, etc. signals. The argument to the signal listeners is a pointer to
```c
struct weston_compositor_state_change {
struct weston_compositor *compositor;
enum weston_compositor_state old_state;
enum weston_compositor_state new_state;
};
```
Add new field `struct weston_compositor::event_loop_ref` which is a reference count for keeping the main event loop alive. As long as the reference count is greater than zero, the main event loop keeps on running. This should probably make use of a `struct weston_refcount` that should be introduced to share the refcount handling code with e.g. `weston_surface`.
Shutdown sequence would be as follows:
1. Something calls `weston_compositor_exit()`, which causes the compositor to switch to `WESTON_COMPOSITOR_SHUTTING_DOWN` state and emitting `state_change_signal`.
- Plugins that respawn their helper clients handle the state change to SHUTTING_DOWN by marking their helper clients to not respawn anymore. They do not necessarily stop their helper clients yet.
- DRM-backend can take a ref on `event_loop_ref` if it has any pending operations on-going: page flips to complete, or even a whole new KMS state to be programmed in before it is safe to drop DRM master and let the next KMS client continue. Or, preferably, take the ref during normal flip operations, so that the state transition does not need extra code.
1. New Wayland client connections will be rejected, or the Wayland listening sockets are removed.
1. Shutdown timeout timer is installed. This will force the main event loop to stop after a timeout if the shutdown does not complete.
1. The main event loop keeps on running until `event_loop_ref` drops to zero.
1. All remaining Wayland clients are destroyed.
1. Compositor shutdown signal is emitted, and so on.
The above has been described in terms of shutdown, but we may actually need to do the same sequencing on VT-switch away, in order to sanitize KMS state for smooth hand-over. This probably requires another new state "going to switch away".
The above also gives shell plugins a good way to install shutdown animations regardless of what triggers a shutdown (or switch-out).https://gitlab.freedesktop.org/wayland/weston/-/issues/375Use cursor plane also with Pixman-renderer on DRM-backend2024-02-19T10:22:10ZPekka Paalanenppaalanen@gmail.comUse cursor plane also with Pixman-renderer on DRM-backendCurrently the DRM-backend depends on GBM for cursor planes, more specifically for the buffers for cursor planes. This means that cursor planes can be used only if GBM is initialized, which means using GL-renderer. Hence when using Pixman...Currently the DRM-backend depends on GBM for cursor planes, more specifically for the buffers for cursor planes. This means that cursor planes can be used only if GBM is initialized, which means using GL-renderer. Hence when using Pixman-renderer, cursor plane is not used.
It might be nice to be able to use the cursor plane also with Pixman-renderer. Repainting for only cursor motion with Pixman has a cost that could be avoided.
Should there be an alternative path to GBM, or should the GBM path be replaced completely?
Why did we use GBM for cursor buffers?https://gitlab.freedesktop.org/wayland/weston/-/issues/820Overlap output for RDP as a secondary backend2024-02-16T10:15:51ZMarius VladOverlap output for RDP as a secondary backendWith desktop-shell I noticed that the RDP backend gets an output that's overlapped with the DRM one, whereas with VNC
one gets shifted to my right so I suspect normally we shouldn't see outputs get overlapped.
/cc @pH5, @derekfWith desktop-shell I noticed that the RDP backend gets an output that's overlapped with the DRM one, whereas with VNC
one gets shifted to my right so I suspect normally we shouldn't see outputs get overlapped.
/cc @pH5, @derekf14.0.0https://gitlab.freedesktop.org/wayland/weston/-/issues/877Screen capture in a single output2024-02-16T10:15:51ZdiegonietoScreen capture in a single outputI am working in an embedded ARM device using a GStreamer & Qt application. I would like to capture the screen, which contains the camera input and some Qt widgets, to send that video stream to the GStreamer.
Using the drm backend I was ...I am working in an embedded ARM device using a GStreamer & Qt application. I would like to capture the screen, which contains the camera input and some Qt widgets, to send that video stream to the GStreamer.
Using the drm backend I was able to setup a `pipewire-output` which enables an additional virtual screen, but what I would like to do is to have that `pipewire` output from the main screen, the same content is actually being displayed in the monitor. Is there a way to do this? Thanks