Weston (Kiosk Mode) Launches Black Screen in X11
The normal mode works fine. Whin I add client=
to the config, things get messy. Here is the conig
[launcher]
icon=/usr/share/icons/Adwaita/32x32/ui/checkbox-symbolic.symbolic.png
path=/usr/bin/foot
[core]
idle-time=0
seat=seat-0
[shell]
background-image=/home/vehementham/.local/share/wallpapers/wallpaper.JPG
client=/usr/bin/foot
Here is the output of weston --shell=kiosk-shell.so
Date: 2023-11-15 CST
[14:39:18.619] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[14:39:18.619] Command line: weston --shell=kiosk-shell.so
[14:39:18.619] OS: Linux, 6.1.60-gentoo-dist-hardened, #1 SMP PREEMPT_DYNAMIC Sun Nov 12 08:36:48 CST 2023, x86_64
[14:39:18.619] Flight recorder: enabled
[14:39:18.619] Using config file '/home/vehementham/.config/weston.ini'
[14:39:18.619] Output repaint window is 7 ms maximum.
[14:39:18.619] Loading module '/usr/lib64/libweston-11/x11-backend.so'
[14:39:18.627] Loading module '/usr/lib64/libweston-11/gl-renderer.so'
libEGL warning: DRI2: failed to authenticate
[14:39:18.649] warning: failed to query rendering device from EGL
[14:39:18.649] EGL version: 1.5
[14:39:18.649] EGL vendor: Mesa Project
[14:39:18.649] EGL client APIs: OpenGL OpenGL_ES
[14:39:18.649] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[14:39:18.649] EGL features:
EGL Wayland extension: no
context priority: no
buffer age: no
partial update: no
swap buffers with damage: no
configless context: yes
surfaceless context: yes
dmabuf support: no
[14:39:18.658] GL version: OpenGL ES 3.2 Mesa 23.1.8
[14:39:18.659] GLSL version: OpenGL ES GLSL ES 3.20
[14:39:18.659] GL vendor: Mesa
[14:39:18.659] GL renderer: llvmpipe (LLVM 16.0.6, 256 bits)
[14:39:18.668] GL ES 3.2 - renderer features:
read-back format: ARGB8888
wl_shm 10 bpc formats: yes
wl_shm 16 bpc formats: yes
wl_shm half-float formats: yes
internal R and RG formats: yes
OES_EGL_image_external: yes
[14:39:18.668] Using gl renderer
[14:39:18.675] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[14:39:18.675] Color manager: no-op
[14:39:18.675] Output 'screen0' attempts EOTF mode: SDR
[14:39:18.675] Output 'screen0' using color profile: built-in default sRGB SDR profile
[14:39:18.676] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
[14:39:18.676] x11 output 1024x600, window id 27262981
[14:39:18.676] Output 'screen0' enabled with head(s) screen0
[14:39:18.676] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: yes
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[14:39:18.677] libwayland: unable to lock lockfile /run/user/1000/wayland-1.lock, maybe another compositor is running
[14:39:18.677] Loading module '/usr/lib64/weston/kiosk-shell.so'
[14:39:18.730] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
[14:39:20.267] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
[14:39:21.906] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
I compiled Weston on Gentoo
USE="X desktop drm fullscreen gles2 jpeg* kiosk pipewire resize-optimization seatd suid -editor -examples -headless -ivi -lcms -rdp -remoting -screen-sharing -systemd -test -wayland-compositor -webp -xwayland"
Edited by VehementHam