weston issueshttps://gitlab.freedesktop.org/wayland/weston/-/issues2022-07-05T07:13:04Zhttps://gitlab.freedesktop.org/wayland/weston/-/issues/51760855b15 master: weston is not LTO ready2022-07-05T07:13:04ZTomasz Kłoczko60855b15 master: weston is not LTO readyWhen code is build with LTO optimisation build fails with:
```
[1/67] Generating git-version.h with a custom command
fatal: No names found, cannot describe anything.
[2/2] Linking target tests/test-ivi-layout.so
FAILED: tests/test-ivi-la...When code is build with LTO optimisation build fails with:
```
[1/67] Generating git-version.h with a custom command
fatal: No names found, cannot describe anything.
[2/2] Linking target tests/test-ivi-layout.so
FAILED: tests/test-ivi-layout.so
/usr/bin/gcc -o tests/test-ivi-layout.so tests/test-ivi-layout.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o tests/test-ivi-layout.so.p/ivi-layout-test-plugin.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,test-ivi-layout.so -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none '-Wl,-rpath,$ORIGIN/../libweston:$ORIGIN/../compositor' -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/libweston -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/compositor libweston/libweston-10.so.0.0.0 compositor/libexec_weston.so.0.0.0 /usr/lib64/libwayland-server.so /usr/lib64/libpixman-1.so /usr/lib64/libxkbcommon.so -Wl,--end-group
/usr/bin/ld: /tmp/cccjIhG6.lto.o: in function `runner_run_handler':
/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/../tests/ivi-layout-test-plugin.c:72: undefined reference to `__start_plugin_test_section'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/../tests/ivi-layout-test-plugin.c:72: undefined reference to `__stop_plugin_test_section'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
To reproduce that issue please use below script:
```shell
CFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
CXXFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong --m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -flto=auto -flto-partition=none -fuse-linker-plugin";
CC="/usr/bin/gcc"; CXX="/usr/bin/g++"; FC="/usr/bin/gfortran";
AR="/usr/bin/gcc-ar"; NM="/usr/bin/gcc-nm"; RANLIB="/usr/bin/gcc-ranlib";
export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB;
/usr/bin/meson --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=drm \
-D backend-drme=true \
-D backend-drm-screencast-vaapie=true \
-D backend-fbdeve=true \
-D backend-headlesse=true \
-D backend-rdpe=true \
-D backend-waylande=true \
-D backend-x11e=true \
-D color-management-colorde=true \
-D color-management-lcmse=true \
-D desktop-shell-client-default='weston-desktop-shell' \
-D doc=true \
-D image-jpege=true \
-D image-webpe=true \
-D launcher-loginde=true \
-D pipewiree=false \
-D remotinge=true \
-D renderer-gle=true \
-D resize-poole=true \
-D screensharee=true \
-D shell-desktope=true \
-D shell-fullscreene=true \
-D shell-ivie=true \
-D simple-clients=all \
-D systemde=true \
-D test-junit-xml=true \
-D tools=calibrator,debug,info,terminal,touch-calibrator \
-D wcap-decode=true \
-D weston-launche=true \
-D xwaylande=true \
/usr/bin/meson compile -C x86_64-redhat-linux-gnu -j 48 --verbose
```https://gitlab.freedesktop.org/wayland/weston/-/issues/51660855b15 master: test suite is failing2022-07-04T20:04:56ZTomasz Kłoczko60855b15 master: test suite is failing```console
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu'
[1/41] Generating git-version.h with a custom...```console
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu'
[1/41] Generating git-version.h with a custom command
fatal: No names found, cannot describe anything.
1/36 timespec OK 0.05s
2/36 bad-buffer OK 0.32s 1 subtests passed
3/36 color-manager OK 0.31s 1 subtests passed
4/36 devices ERROR 0.30s exit status 1
>>> MALLOC_PERTURB_=226 /home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/tests/test-devices
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stderr:
Iterating through 1 fixtures.
--- Fixture 1 ()...
Date: 2021-07-10 BST
[17:38:57.679] weston 9.0.90
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.90
[17:38:57.679] Command line: weston-test-devices --backend=headless-backend.so --debug --socket=test-devices --modules=/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/tests/test-plugin.so --width=320 --height=240 --no-config --shell=desktop-shell.so
[17:38:57.679] OS: Linux, 5.11.19-300.fc34.x86_64, #1 SMP Fri May 7 14:17:15 UTC 2021, x86_64
[17:38:57.679] Starting with no config file.
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[17:38:57.679] Output repaint window is 7 ms maximum.
[17:38:57.679] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/libweston/backend-headless/headless-backend.so'
[17:38:57.679] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[17:38:57.679] Color manager: no-op
[17:38:57.679] Output 'headless' enabled with head(s) headless
[17:38:57.679] Compositor capabilities:
arbitrary surface rotation: no
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: no
view mask clipping: no
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[17:38:57.679] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/desktop-shell/desktop-shell.so'
[17:38:57.680] launching '/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/clients/weston-keyboard'
[17:38:57.680] Loading module '/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/tests/test-plugin.so'
[17:38:57.688] launching '/home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/clients/weston-desktop-shell'
*** Run seat_destroy_and_recreate/1
test-client: got global pointer 100 100
test-client: got seat 0x7f3258006390 capabilities: 7
test-client: got seat 0x7f3258006390 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f3258006d60
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 0 0, surface 0x7f3258007240
test-client: got pointer frame
test-client: got seat 0x7f3258007910 capabilities: 7
test-client: got seat 0x7f3258007910 name: 'test-seat'
*** Result seat_destroy_and_recreate/1: ok
*** Run seats_have_names/1
test-client: got global pointer 100 100
test-client: got seat 0x7f32580075a0 capabilities: 7
test-client: got seat 0x7f32580075a0 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f32580063c0
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 0 0, surface 0x7f3258006f70
test-client: got pointer frame
*** Result seats_have_names/1: ok
*** Run get_device_after_destroy_multiple/1
test-client: got global pointer 100 100
test-client: got seat 0x7f3258007240 capabilities: 7
test-client: got seat 0x7f3258007240 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f3258006b70
test-client: got keyboard modifiers 0 0 0 0
test-client: got pointer enter 0 0, surface 0x7f32580067a0
test-client: got pointer frame
test-client: got pointer leave, surface 0x7f32580067a0
test-client: got pointer frame
test-client: got seat 0x7f3258007240 capabilities: 6
test-client: got seat 0x7f3258007240 capabilities: 4
test-client: got seat 0x7f3258007240 capabilities: 0
test-client: got seat 0x7f3258007240 capabilities: 1
test-client: got seat 0x7f3258007240 capabilities: 3
test-client: got seat 0x7f3258007240 capabilities: 7
test-client: got global pointer 100 100
test-client: got seat 0x7f3258007240 capabilities: 7
test-client: got seat 0x7f3258007240 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
test-client: got surface enter output 0x7f32580079f0
[17:38:57.752] libwayland: error in client communication (pid 2439756)
[17:38:57.752] Error: /home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/clients/weston-desktop-shell apparently cannot run at all.
Quitting...wl_registry@2: error 0: invalid global wl_seat (21)
--- Fixture 1 () fail: passed 2, skipped 0, failed 0, total 10
TAP parsing error: Too few tests run (expected 10, got 2)
(test program exited with status code 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
5/36 drm-formats OK 0.30s 18 subtests passed
6/36 drm-smoke SKIP 0.29s 0 subtests passed
7/36 internal-screenshot OK 0.27s 1 subtests passed
8/36 keyboard OK 0.27s 4 subtests passed
9/36 plugin-registry OK 0.23s 1 subtests passed
10/36 presentation OK 0.20s 1 subtests passed
11/36 roles OK 0.20s 2 subtests passed
12/36 string OK 0.19s 1 subtests passed
13/36 surface-global OK 0.15s 1 subtests passed
14/36 vertex-clip OK 0.13s 16 subtests passed
15/36 ivi-layout-client OK 0.09s 25 subtests passed
16/36 ivi-layout-internal OK 0.08s 1 subtests passed
17/36 ivi-shell-app OK 0.08s 1 subtests passed
18/36 config-parser OK 0.07s
19/36 text OK 0.15s 1 subtests passed
20/36 touch OK 0.14s 3 subtests passed
21/36 surface OK 0.17s 1 subtests passed
22/36 zuc OK 0.08s
23/36 alpha-blending OK 0.40s 3 subtests passed
24/36 event OK 0.36s 2 subtests passed
25/36 viewporter-shot OK 0.27s 2 subtests passed
26/36 pointer-shot OK 0.38s 2 subtests passed
27/36 pointer OK 0.40s 14 subtests passed
28/36 xwayland OK 0.32s 1 subtests passed
29/36 yuv-buffer OK 0.36s 4 subtests passed
30/36 linux-explicit-synchronization OK 0.55s 10 subtests passed
31/36 subsurface-shot OK 0.48s 2 subtests passed
32/36 subsurface OK 1.86s 23 subtests passed
33/36 viewporter OK 1.91s 76 subtests passed
34/36 buffer-transforms OK 2.80s 48 subtests passed
35/36 output-transforms OK 4.35s 56 subtests passed
36/36 output-damage OK 5.64s 42 subtests passed
Summary of Failures:
4/36 devices ERROR 0.30s exit status 1
Ok: 34
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 1
Timeout: 0
Full log written to /home/tkloczko/rpmbuild/BUILD/weston-9.0.0/x86_64-redhat-linux-gnu/meson-logs/testlog.txt
```
meson settings:
```spec
%meson \
-D backend-default=drm \
-D backend-drme=true \
-D backend-drm-screencast-vaapie=true \
-D backend-fbdeve=true \
-D backend-headlesse=true \
-D backend-rdpe=true \
-D backend-waylande=true \
-D backend-x11e=true \
-D color-management-colorde=true \
-D color-management-lcmse=true \
-D desktop-shell-client-default='weston-desktop-shell' \
-D doc=true \
-D image-jpege=true \
-D image-webpe=true \
-D launcher-loginde=true \
-D pipewiree=false \
-D remotinge=true \
-D renderer-gle=true \
-D resize-poole=true \
-D screensharee=true \
-D shell-desktope=true \
-D shell-fullscreene=true \
-D shell-ivie=true \
-D simple-clients=all \
-D systemde=true \
-D test-junit-xml=true \
-D tools=calibrator,debug,info,terminal,touch-calibrator \
-D wcap-decode=true \
-D weston-launche=true \
-D xwaylande=true \
%{nil}
```https://gitlab.freedesktop.org/wayland/weston/-/issues/514App unable to achieve 60 FPS with DRM_OUTPUT_PROPOSE_STATE_PLANES_ONLY/MIXED2022-11-22T08:43:23ZVivek KasireddyApp unable to achieve 60 FPS with DRM_OUTPUT_PROPOSE_STATE_PLANES_ONLY/MIXEDHi,
I am working on adding this support: https://lists.nongnu.org/archive/html/qemu-devel/2021-06/msg06482.html
If I force the DRM backend to use DRM_OUTPUT_PROPOSE_STATE_RENDERER_ONLY (by doing export WESTON_FORCE_RENDERER=1),
then eve...Hi,
I am working on adding this support: https://lists.nongnu.org/archive/html/qemu-devel/2021-06/msg06482.html
If I force the DRM backend to use DRM_OUTPUT_PROPOSE_STATE_RENDERER_ONLY (by doing export WESTON_FORCE_RENDERER=1),
then everything works as expected and I get 60 FPS. However, when the DRM backend flips my app's (Qemu UI) buffer onto a
hardware plane, I only get 30 FPS.
I noticed that when the backend uses DRM_OUTPUT_PROPOSE_STATE_PLANES_ONLY/MIXED, there are 3 references taken on
the client's buffer: one each in weston_surface_attach, gl_renderer_attach, drm_fb_set_buffer and the wl_buffer.release
event gets triggered from drm_fb_destroy (which comes in roughly 6-7 ms after submitting the repaint from the backend)
which is called from atomic_flip_handler. However, with RENDERER_ONLY, there are only 2 references taken: one each in
weston_surface_attach, gl_renderer_attach and the release event gets sent after gl_renderer_attach. And, it appears
the wl_buffer is submitted in frame callback for RENDERER_ONLY case whereas this is not the case for PLANES_ONLY/MIXED.
As far as my use-case is concerned, I am trying to share the Guest VM Compositor's (Weston with DRM backend) scanout FB with the Host compositor (Weston with DRM Backend) in a zero-copy way. All the rendering in the Guest VM is done via a passthrough GPU and Qemu UI gets access to the dmabuf associated with the Guest scanout FB. This scanout FB/dmabuf is wrapped in a wl_buffer via the linux-dmabuf protocol in the Qemu UI module and is sent to the Host compositor. The Guest will be blocked (it waits on a dma fence) until the Host compositor sends a wl_buffer.release event (which also signals the dma fence on which Guest is waiting) associated with the relevant wl_buffer/dmabuf. The Guest compositor's repaint cycle is directly tied to the release event (essentially acting as a vblank) and after a wl_buffer.release, it takes the Guest compositor roughly 10-12 ms to submit a new scanout FB.
Unlike https://cgit.freedesktop.org/wayland/weston/tree/clients/simple-dmabuf-egl.c, I can only work with 2 buffers as
opposed to 3 given my use-case. And, when I modified simple-dmabuf-egl.c (ran it as ./weston-simple-dmabuf-egl -e 0 -i 1 -s 1080 -g to mimic my use-case) to use only 2 buffers and submit the previous wl_buffer in frame_callback/redraw if there are no free buffers available, I only get 30 FPS with PLANES_ONLY/MIXED.
Initially, I was under the impression that I was not submitting the wl_buffer in the right window (frame callback) but
now I am wondering if it is even feasible to achieve 60 FPS with PLANES_ONLY/MIXED with only 2 buffers. Any comments about feasibility or other suggestions?https://gitlab.freedesktop.org/wayland/weston/-/issues/512How to run xwayland server2021-06-24T11:12:35ZWade XuHow to run xwayland serverDears
I have successfully installed wayland and weston on my board. And I can run weston shown on the monitor. Now I want to run LinuxCNC on my board.
As what I did before when I use X11, I ran the following cmd:
```
start...Dears
I have successfully installed wayland and weston on my board. And I can run weston shown on the monitor. Now I want to run LinuxCNC on my board.
As what I did before when I use X11, I ran the following cmd:
```
startx &
export DISPLAY=:0.0
xhost +
linuxcnc
```
But now I'm using wayland, I don't know what to do. If I run the linuxcnc on weston's terminal, it shows:
```
LINUXCNC - 2.9.0~pre0
application-specific initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: invalid command name "image"
while executing
"image create photo -file $f/$i.gif"
invoked from within
"if [file exists $f/$i.gif] {
return [image create photo -file $f/$i.gif]
}"
(procedure "linuxcnc::image_search" line 7)
invoked from within
"linuxcnc::image_search linuxcnc-wizard"
invoked from within
"set logo [linuxcnc::image_search linuxcnc-wizard]"
(file "/home/tsinglin/linuxcnc-dev/tcl/bin/pickconfig.tcl" line 31)
```
Can you tell me what to do now?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/509Finalizing a layer with views still on it2022-01-07T20:08:59ZLeandro RibeiroFinalizing a layer with views still on itIf you run Weston using the desktop-shell (I think that doesn't matter in which backend), start Weston terminal (for instance) and then press Ctrl+LAlt+backspace to quit, we hit this BUG:
```c
WL_EXPORT void weston_layer_fini(struct wes...If you run Weston using the desktop-shell (I think that doesn't matter in which backend), start Weston terminal (for instance) and then press Ctrl+LAlt+backspace to quit, we hit this BUG:
```c
WL_EXPORT void weston_layer_fini(struct weston_layer *layer)
{
wl_list_remove(&layer->link);
if (!wl_list_empty(&layer->view_list.link))
weston_log("BUG: finalizing a layer with views still on it.\n");
wl_list_remove(&layer->view_list.link);
}
```
I still didn't have the time to investigate.https://gitlab.freedesktop.org/wayland/weston/-/issues/506Qt UI is sheltered by weston2021-06-11T00:56:21ZWade XuQt UI is sheltered by westonDears
When I run my QT project,The QT UI is under the weston desktop. How can I set the weston to make QT show up?
Thanks
WadeDears
When I run my QT project,The QT UI is under the weston desktop. How can I set the weston to make QT show up?
Thanks
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/505Should a Xwayland bug2023-08-09T11:57:16ZAnterCreeperShould a Xwayland bugSorry, I am a freshman. Sorry for my bad English.
Here is the bug. While I open a pull-down menu,It will close automatically.
I guess it is caused by Xwayland because it happened on the fcitx and the wine applications.Sorry, I am a freshman. Sorry for my bad English.
Here is the bug. While I open a pull-down menu,It will close automatically.
I guess it is caused by Xwayland because it happened on the fcitx and the wine applications.https://gitlab.freedesktop.org/wayland/weston/-/issues/503Has no weston-flowers and weston-simple-egl2021-08-06T09:14:52ZWade XuHas no weston-flowers and weston-simple-eglDears
I've successfully installed weston-2.0.0 and get into the weston desktop. But I just have few options of weston- , without weston-gears, weston-flowers and weston-simple-egl.
Is there some arguments need I add when I run ...Dears
I've successfully installed weston-2.0.0 and get into the weston desktop. But I just have few options of weston- , without weston-gears, weston-flowers and weston-simple-egl.
Is there some arguments need I add when I run ./configure --enable-egl=yes --enable-drm-compositor=yes ?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/502libcairo.so.2: undefined symbol: FT_Done_MM_Var2021-05-21T08:11:18ZWade Xulibcairo.so.2: undefined symbol: FT_Done_MM_VarDears
I've installed weston and choose to execute it by systemd. But it still can't run correctly.
It shows me the following errors:
```
[02:58:58.829] Command line: weston
[02:58:58.829] OS: Linux, 4.19.72-cip10-rt4-yocto-sta...Dears
I've installed weston and choose to execute it by systemd. But it still can't run correctly.
It shows me the following errors:
```
[02:58:58.829] Command line: weston
[02:58:58.829] OS: Linux, 4.19.72-cip10-rt4-yocto-standard, #1 SMP PREEMPT RT Wed Apr 7 14:38:12 UTC 2021, aarch64
[02:58:58.830] Using config file '/etc/xdg/weston/weston.ini'
[02:58:58.830] Output repaint window is 34 ms maximum.
[02:58:58.831] Loading module '/usr/lib/libweston-2/wayland-backend.so'
[02:58:58.905] Failed to load module: /lib/aarch64-linux-gnu/libcairo.so.2: undefined symbol: FT_Done_MM_Var
[02:58:58.905] fatal: failed to create compositor backend
```
What cal I do now? I've already installed libfreetype3 and libcario.
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/501failed to create compositor backend2021-05-19T08:18:40ZWade Xufailed to create compositor backendDears
I've successfully installed weston. But When I run weston, there comes the following error.
```
[06:29:15.433] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop...Dears
I've successfully installed weston. But When I run weston, there comes the following error.
```
[06:29:15.433] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
Build: unknown (not built from git or tarball)
[06:29:15.433] Command line: weston
[06:29:15.433] OS: Linux, 4.19.72-cip10-rt4-yocto-standard, #1 SMP PREEMPT RT Wed Apr 7 14:38:12 UTC 2021, aarch64
[06:29:15.434] Using config file '/etc/xdg/weston/weston.ini'
[06:29:15.434] Output repaint window is 34 ms maximum.
[06:29:15.435] Loading module '/usr/lib/libweston-2/drm-backend.so'
[06:29:15.444] initializing drm backend
[06:29:15.445] logind: failed to get session seat
[06:29:15.445] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[06:29:15.445] fatal: drm backend should be run using weston-launch binary or as root
[06:29:15.446] fatal: failed to create compositor backend
```
And if I run weston-launch, It remindes me:
```
weston-launch: Permission denied. You should either:
- enable systemd session support for weston-launch.
- or add yourself to the 'weston-launch' group.
```
How can I fix this?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/500"/run/user/1000", which is not a directory.2021-05-19T06:15:39ZWade Xu"/run/user/1000", which is not a directory.Dears
I've successfully installed the weston. But when I run weston, there comes the error :
```
$ weston
Date: 2021-05-19 UTC
[02:55:11.520] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to:...Dears
I've successfully installed the weston. But when I run weston, there comes the error :
```
$ weston
Date: 2021-05-19 UTC
[02:55:11.520] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
Build: unknown (not built from git or tarball)
[02:55:11.520] Command line: weston
[02:55:11.520] OS: Linux, 4.19.72-cip10-rt4-yocto-standard, #1 SMP PREEMPT RT Wed Apr 7 14:38:12 UTC 2021, aarch64
[02:55:11.521] fatal: environment variable XDG_RUNTIME_DIR
is set to "/run/user/1000", which is not a directory.
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
```
I don't know why I don't have the /usr/run/1000 directory
Can someone help me?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/499"aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Done_MM_Var" when ...2021-05-19T01:50:24ZWade Xu"aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Done_MM_Var" when run makeDears
When I run make after ./configure ..... done. I encountered the following error.
```
CCLD weston-terminal
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Do...Dears
When I run make after ./configure ..... done. I encountered the following error.
```
CCLD weston-terminal
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Done_MM_Var'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:4696: weston-terminal] Error 1
```
I do have libcairo.so under my /usr/lib/aarch64-linux-gnu/
```
lrwxrwxrwx 1 root root 21 Jan 21 23:02 /usr/lib/aarch64-linux-gnu/libcairo.so -> libcairo.so.2.11600.0
```
what should I do now?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/497configure: error: weston-launch requires pam2021-05-12T09:26:08ZWade Xuconfigure: error: weston-launch requires pamDears
When I install weston under the debian10, there is an error occurred:
```
configure: error: weston-launch requires pam
```
And can see the pam modules by dpkg -l
```
ii libpam-modules:arm64 1.3.1-5 ...Dears
When I install weston under the debian10, there is an error occurred:
```
configure: error: weston-launch requires pam
```
And can see the pam modules by dpkg -l
```
ii libpam-modules:arm64 1.3.1-5 arm64 Pluggable Authentication Modules for PAM
ii libpam-modules-bin 1.3.1-5 arm64 Pluggable Authentication Modules for PAM - helper binaries
ii libpam-runtime 1.3.1-5 all Runtime support for the PAM library
ii libpam0g:arm64 1.3.1-5 arm64
```
Is there something I still need to install?
Thanks
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/495‘No package 'wayland-egl' found ’ when .configure --enable-egl --enable-drm-c...2021-05-11T00:50:15ZWade Xu‘No package 'wayland-egl' found ’ when .configure --enable-egl --enable-drm-compositorDears
I’m trying to migrate OpenGL ES3 from Renesas’s Yocto environment to debian buster. When I execute '.configure --enable-egl --enable-drm-compositor' to local compile weston, there is an error occurred.
```
configure: error: P...Dears
I’m trying to migrate OpenGL ES3 from Renesas’s Yocto environment to debian buster. When I execute '.configure --enable-egl --enable-drm-compositor' to local compile weston, there is an error occurred.
```
configure: error: Package requirements (egl glesv2 wayland-client wayland-egl) were not met:
No package 'wayland-egl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EGL_TESTS_CFLAGS
and EGL_TESTS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
```
but I do find the libwayland-egl.so.1.0.0 under the /usrlib
```
ls -ln /usr/lib/libwayland-egl.so*
lrwxrwxrwx 1 1000 1000 23 May 10 08:15 /usr/lib/libwayland-egl.so -> libwayland-egl.so.1.0.0
lrwxrwxrwx 1 1000 1000 23 May 10 07:47 /usr/lib/libwayland-egl.so.1 -> libwayland-egl.so.1.0.0
-rwxr-xr-x 1 0 0 4648 May 10 07:46 /usr/lib/libwayland-egl.so.1.0.0
```
attach is the log file
[weston.log](/uploads/86ac09a2ba3ae02483435b1de1515d59/weston.log)
what should I do now?
Thanks & Best Regards
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/493Failed to process Wayland connection: Connection reset by peerpipe_resource_g...2021-04-28T00:52:40ZWade XuFailed to process Wayland connection: Connection reset by peerpipe_resource_get_param: Assertion '0' failed.le or direction (search paths /usr/lib/dri)Dears
When I run the command 'weston --log=weston.log',there comes the following message.
`
Failed to process Wayland connection: Connection reset by peerpipe_resource_get_param: Assertion '0' failed.le or direction (search paths /...Dears
When I run the command 'weston --log=weston.log',there comes the following message.
`
Failed to process Wayland connection: Connection reset by peerpipe_resource_get_param: Assertion '0' failed.le or direction (search paths /usr/lib/dri)
failed to create display: Connection reset by peer
`
I'm using the default weston.ini file and running under wayland. But I don't know what's wrong in the log file.
The weston.ini and weston.log are in the attach file.
[weston.ini](/uploads/00361508dbe64b9b09aff817d1da861b/weston.ini)
[weston.log](/uploads/ff5beb770af9aa3252ed65e787efb765/weston.log)
What should I do now?
Thanks & Best Regards
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/492Weston: Starting with no config file2021-04-28T01:44:28ZWade XuWeston: Starting with no config fileHi
I'm a green hand about weston. I want to use weston under the wayland. When I run the command 'weston', the screen show the following messages:
```
Command line: weston
OS: Linux, 4.19.132-cip-rt59-yocto-standard, #3 SMP...Hi
I'm a green hand about weston. I want to use weston under the wayland. When I run the command 'weston', the screen show the following messages:
```
Command line: weston
OS: Linux, 4.19.132-cip-rt59-yocto-standard, #3 SMP PREEMPT RT Wed Apr 21 08:56:15 CST 2021, aarch64
malformed section header: [core]
Starting with no config file
Output repaint window is 7 ms maximum.
Loading module '/usr/lib/libweston-10/wayland-backend.so'
Error: Failed to connect to parent Wayland compositor: No such file or directory
display option: (none), WAYLAND_DISPLAY=wayland-0
fatal: failed to create compositor backend
```
and there is my weston.ini file:
```
[core]
repaint-window=34
require-input=false
[v4l2-renderer]
device-module=vsp2
[output]
name=LVDS-2
mode=off
[output]
name=HDMI-A-1
#mode=79.75 1920 1976 2168 2416 1080 1083 1088 1102 -hsync +vsync
mode=current
```
and my environment variables
```
SHELL=/bin/bash
PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/share/pkgconfig/
EDITOR=vim
XDG_SEAT=seat0
PWD=/home/tsinglin
LOGNAME=tsinglin
XDG_SESSION_TYPE=tty
HOME=/home/tsinglin
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
WAYLAND_DISPLAY=wayland-0
WESTON_CONFIG_FILE=/etc/xdg/weston/weston.ini
INVOCATION_ID=fe4e3dfbd8ab41d79b49dad181c478ce
XDG_SESSION_CLASS=user
TERM=linux
USER=tsinglin
SHLVL=1
WESTON_LAUNCHER_SOCK=6
XDG_VTNR=2
XDG_SESSION_ID=c1
LD_LIBRARY_PATH=/usr/lib
XDG_RUNTIME_DIR=/run/user/1000
WLD=/usr
JOURNAL_STREAM=8:8760
HUSHLOGIN=FALSE
PATH=/home/tsinglin/.local/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tsinglin/.local/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/mail/tsinglin
_=/usr/bin/env
OLDPWD=/mnt
```
Someone know what cause this?
Thanks
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/491"cannot open display" type issues2021-04-26T08:01:06Zdiamond man"cannot open display" type issues[weston.log](/uploads/3fc5566e6ce2d563c3d7281ba4f71092/weston.log)[weston.log](/uploads/3fc5566e6ce2d563c3d7281ba4f71092/weston.log)https://gitlab.freedesktop.org/wayland/weston/-/issues/490unpredictable weston-terminal w/o input devices2022-07-22T10:11:33ZPiotr Oniszczukunpredictable weston-terminal w/o input devicesHi,
I'm using weston9.0.0 with wayland1.19.0 and libinput1.17.1 (no systemd) in linux based appliance (minimyth2).
Issue i have is unpredictable behavior of weston-terminal when appliance has no keyb/mice connected
(it has only IR rem...Hi,
I'm using weston9.0.0 with wayland1.19.0 and libinput1.17.1 (no systemd) in linux based appliance (minimyth2).
Issue i have is unpredictable behavior of weston-terminal when appliance has no keyb/mice connected
(it has only IR remote not recognized by weston).
In such case launching weston-terminal gives v.show black screen and nothing more on screen.
All works correctly when keyb/mice are connected.
Also connecting keyb or mice shortly and disconnecting makes weston-terminal started to working ok without keyb/mice.
I don't have much ideas how to debug this issue as issue apperas only where there is no keyb/mice so interaction to gather more info is difficult - so i'm looking for advice how to move forward
pls advice
ps: weston log for boot without keyb/mice when weston-terminal failed:
```
Date: 2021-04-23 CEST
[13:37:39.632] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0
[13:37:39.632] Command line: /usr/bin/weston --log=/var/log/weston.log --config=/etc/weston-minimal.ini
[13:37:39.632] OS: Linux, 5.11.16, #1 SMP Thu Apr 22 20:50:33 CEST 2021, x86_64
[13:37:39.633] Using config file \'/etc/weston-minimal.ini\'
[13:37:39.651] Output repaint window is 7 ms maximum.
[13:37:39.660] Loading module \'/usr/lib/libweston-9/drm-backend.so\'
[13:37:39.661] initializing drm backend
[13:37:39.662] using /dev/dri/card0
[13:37:39.662] DRM: supports atomic modesetting
[13:37:39.662] DRM: supports GBM modifiers
[13:37:39.662] DRM: supports picture aspect ratio
[13:37:39.666] Loading module \'/usr/lib/libweston-9/gl-renderer.so\'
[13:37:39.935] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_device_base EGL_EXT_device_enumeration
EGL_EXT_device_query EGL_EXT_platform_base
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
EGL_EXT_platform_device EGL_EXT_platform_wayland
EGL_KHR_platform_wayland EGL_EXT_platform_x11
EGL_KHR_platform_x11 EGL_MESA_platform_xcb
EGL_MESA_platform_gbm EGL_KHR_platform_gbm
EGL_MESA_platform_surfaceless
[13:37:39.935] EGL version: 1.4
[13:37:39.935] EGL vendor: Mesa Project
[13:37:39.935] EGL client APIs: OpenGL OpenGL_ES
[13:37:39.935] EGL extensions: EGL_ANDROID_blob_cache
EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_config_attribs
EGL_KHR_create_context EGL_KHR_create_context_no_error
EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
EGL_MESA_query_driver EGL_WL_bind_wayland_display
[13:37:39.935] EGL_KHR_surfaceless_context available
[13:37:40.021] GL version: OpenGL ES 3.0 Mesa 21.1.0-rc2
[13:37:40.021] GLSL version: OpenGL ES GLSL ES 3.00
[13:37:40.021] GL vendor: Intel Open Source Technology Center
[13:37:40.021] GL renderer: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)
[13:37:40.021] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_element_index_uint GL_OES_fbo_render_mipmap
GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_OES_texture_npot
GL_OES_vertex_half_float GL_EXT_draw_instanced
GL_EXT_texture_sRGB_decode GL_OES_EGL_image
GL_OES_depth_texture GL_OES_packed_depth_stencil
GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render
GL_OES_get_program_binary GL_APPLE_texture_max_level
GL_EXT_discard_framebuffer GL_EXT_read_format_bgra
GL_EXT_frag_depth GL_NV_fbo_color_attachments
GL_OES_EGL_image_external GL_OES_EGL_sync
GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_EXT_occlusion_query_boolean GL_EXT_robustness
GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers
GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil
GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range
GL_KHR_debug GL_KHR_robustness GL_NV_pixel_buffer_object
GL_OES_depth_texture_cube_map GL_OES_required_internalformat
GL_OES_surfaceless_context GL_EXT_color_buffer_float
GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects
GL_EXT_shader_group_vote GL_EXT_shader_integer_mix
GL_INTEL_performance_query GL_EXT_base_instance
GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image
GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp
GL_KHR_blend_equation_advanced GL_KHR_context_flush_control
GL_OES_copy_image GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_sample_shading
GL_OES_sample_variables GL_OES_shader_multisample_interpolation
GL_OES_texture_border_clamp GL_EXT_blend_func_extended
GL_EXT_float_blend GL_EXT_texture_sRGB_R8 GL_KHR_no_error
GL_OES_EGL_image_external_essl3 GL_EXT_clip_cull_distance
GL_EXT_disjoint_timer_query
GL_EXT_texture_compression_s3tc_srgb
GL_MESA_shader_integer_functions GL_EXT_clip_control
GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc
GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage
GL_EXT_shader_framebuffer_fetch_non_coherent
GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render
GL_MESA_framebuffer_flip_y GL_EXT_demote_to_helper_invocation
GL_EXT_depth_clamp GL_EXT_texture_query_lod
[13:37:40.021] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[13:37:40.024] event1 - Power Button: not tagged as supported input device
[13:37:40.024] event1 - not using input device \'/dev/input/event1\'
[13:37:40.024] event2 - Video Bus: not tagged as supported input device
[13:37:40.024] event2 - not using input device \'/dev/input/event2\'
[13:37:40.024] event0 - Power Button: not tagged as supported input device
[13:37:40.024] event0 - not using input device \'/dev/input/event0\'
[13:37:40.024] event3 - HDA Intel PCH HDMI/DP,pcm=3: is tagged by udev as: Switch
[13:37:40.028] event3 - not using input device \'/dev/input/event3\'
[13:37:40.028] event4 - HDA Intel PCH HDMI/DP,pcm=7: is tagged by udev as: Switch
[13:37:40.028] event4 - not using input device \'/dev/input/event4\'
[13:37:40.029] event5 - HDA Intel PCH HDMI/DP,pcm=8: is tagged by udev as: Switch
[13:37:40.029] event5 - not using input device \'/dev/input/event5\'
[13:37:40.029] event6 - Media Center Ed. eHome Infrared Remote Transceiver (0471:0815): not tagged as supported input device
[13:37:40.029] event6 - not using input device \'/dev/input/event6\'
[13:37:40.029] event7 - eventlircd: not tagged as supported input device
[13:37:40.029] event7 - not using input device \'/dev/input/event7\'
[13:37:40.029] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option \'seat\', udev device property ID_SEAT)
[13:37:40.029] failed to create input devices. Continuing with no input devices ...
[13:37:40.134] DRM: head \'VGA-1\' found, connector 76 is disconnected.
[13:37:40.160] DRM: head \'HDMI-A-1\' found, connector 79 is connected, EDID make \'STK\', model \'S2-TEK TV\', serial \'SN-000000001\'
[13:37:40.397] DRM: head \'DP-1\' found, connector 87 is disconnected.
[13:37:40.399] DRM: head \'HDMI-A-2\' found, connector 92 is disconnected.
[13:37:40.400] DRM: head \'HDMI-A-3\' found, connector 96 is disconnected.
[13:37:40.400] DRM: head \'DP-2\' found, connector 100 is disconnected.
[13:37:40.400] DRM: head \'DP-3\' found, connector 104 is disconnected.
[13:37:40.400] Registered plugin API \'weston_drm_output_api_v1\' of size 24
[13:37:40.400] Chosen EGL config details: id: 5 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[13:37:40.400] Output HDMI-A-1 (crtc 45) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@60.0 16:9, 74.2 MHz
1920x1080@59.9 16:9, 74.2 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080@50.0 16:9, 74.2 MHz
1280x1024@75.0, 135.0 MHz
1280x960@60.0, 108.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0, 74.2 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@70.1, 75.0 MHz
1024x768@60.0, 65.0 MHz
832x624@74.6, 57.3 MHz
800x600@75.0, 49.5 MHz
800x600@72.2, 50.0 MHz
800x600@60.3, 40.0 MHz
800x600@56.2, 36.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x576@50.0 4:3, 27.0 MHz
720x576@50.0 4:3, 13.5 MHz
720x576@50.0 16:9, 13.5 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
720x480@60.0 16:9, 13.5 MHz
720x480@60.0 4:3, 13.5 MHz
720x480@59.9 16:9, 13.5 MHz
720x480@59.9 4:3, 13.5 MHz
640x480@75.0, 31.5 MHz
640x480@72.8, 31.5 MHz
640x480@66.7, 30.2 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[13:37:40.400] Output \'HDMI-A-1\' enabled with head(s) HDMI-A-1
[13:37:40.400] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[13:37:40.404] Loading module \'/usr/lib/weston/desktop-shell.so\'
[13:37:40.404] launching \'/usr/libexec/weston-keyboard\'
[13:37:40.404] launching \'/usr/libexec/weston-desktop-shell\'
```https://gitlab.freedesktop.org/wayland/weston/-/issues/489weston crash when we do power off / on2021-05-18T06:50:40ZRajavenu Kyathamweston crash when we do power off / onI am using weston 8.0. When I am pressing power off / on button (kind of mobile button), call comes to https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/input.c#L2188 then it crashes.
[06:02:52.018] egl image is NULL...I am using weston 8.0. When I am pressing power off / on button (kind of mobile button), call comes to https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/input.c#L2188 then it crashes.
[06:02:52.018] egl image is NULL
[06:02:52.035] egl image is NULL
[06:02:52.052] egl image is NULL
[06:02:52.069] egl image is NULL
[06:02:52.085] egl image is NULL
[06:02:52.101] egl image is NULL
[06:02:52.118] egl image is NULL
[06:02:52.135] egl image is NULL
[06:02:52.151] egl image is NULL
[06:02:52.171] egl image is NULL
[06:02:52.184] egl image is NULL
[06:02:52.201] egl image is NULL
[06:02:52.218] egl image is NULL
[06:02:52.234] egl image is NULL
[06:02:52.251] egl image is NULL
[06:02:52.262] caught signal 15
[06:02:52.263] backtrace:
[06:02:52.263] Obtained 8 stack frames.
[06:02:52.263] /usr/lib/weston/libexec_weston.so.0(+0x7434) [0x7f82621434]
[06:02:52.264] /usr/lib/weston/libexec_weston.so.0(+0x756c) [0x7f8262156c]
[06:02:52.264] /usr/lib/libwayland-server.so.0(+0xa16c) [0x7f8240e16c]
[06:02:52.264] /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xd0) [0x7f8240edf0]
[06:02:52.264] /usr/lib/libwayland-server.so.0(wl_display_run+0x2c) [0x7f8240c67c]
[06:02:52.264] /usr/lib/weston/libexec_weston.so.0(wet_main+0x1c44) [0x7f826265ec]
[06:02:52.265] /lib/libc.so.6(__libc_start_main+0xf0) [0x7f824c2118]
[06:02:52.265] weston(+0x6d8) [0x557ac2a6d8]
[06:02:52.265] destroy output while page flip pending
[06:02:52.279] background surface gone
[06:02:52.333] event4 - fts: device removed
[06:02:52.333] event0 - qpnp_pon: device removed
[06:02:52.333] event3 - gpio-keys: device removed
[06:02:52.333] event1 - qbt_key_input: device removed
[06:02:52.333] event6 - kona-mtp-snd-card Button Jack: device removed
[06:02:52.334] event5 - kona-mtp-snd-card Headset Jack: device removed
[06:02:52.335] destroy output while page flip pending
[06:02:52.335] egl image is NULL
[06:02:52.341] destroy output while page flip pending
[06:02:52.341] Output 'DSI-1' no heads left, disabling.https://gitlab.freedesktop.org/wayland/weston/-/issues/488Deprecate and eventually delete non-libseat launchers2024-03-06T08:41:25ZPekka Paalanenppaalanen@gmail.comDeprecate and eventually delete non-libseat launchers!589 added libseat based launcher. It was agreed that, given some conditions, this should allow us to drop all the other launchers.
Pre-conditions:
- [x] Have at last one stable release with libseat launcher used by default in the build...!589 added libseat based launcher. It was agreed that, given some conditions, this should allow us to drop all the other launchers.
Pre-conditions:
- [x] Have at last one stable release with libseat launcher used by default in the build configuration.
- [x] Announce the deprecation of the other launchers (e.g. in release notes).
- [x] OpenEmbedded has a recipe for libseat.
- [x] CI tests migrated from launcher-direct to libseat. (!594)
- [x] Documentation on how to use libseat with Weston. (!595)
Then, remove all the other launchers, and drop the launcher abstraction.