Hi,
I hope all is well. I’m looking for some assistance in getting Weston to work on a Raspberry Pi 4. Our software currently runs on the Verdin iMX8M Plus with TorizonOS, but for testing purposes, we’d like to run it on a Raspberry Pi 4.
I’ve installed TorizonCore 6.6.0-devel-20240226040722+build.0 (kirkstone) aarch64 with kernel version 5.15.92-torizon-standard. However, when I try to start the Weston container, the screen goes black for a moment and then an error message appears.
I’ve copied the details of the error below. Any help or guidance would be greatly appreciated!
Weston.ini
cat /home/torizon/weston/weston.ini
[core]
require-input=false
xwayland=true
idle-time=0
modules=screen-share.so
[shell]
background-color=0xFF10273E
panel-position=none
num-workspaces=1
locking=false
[output]
#I've tried card0-HDMI-A-1, card1 and HDMI-A-1
iame=card0
transform=rotate-270
ls -l /dev/dri
drwxr-xr-x 2 root root 100 Sep 7 11:16 by-path
crw-rw---- 1 root video 226, 0 Sep 7 11:16 card0
crw-rw---- 1 root video 226, 1 Sep 7 11:16 card1
crw-rw-rw- 1 root render 226, 128 Sep 7 11:16 renderD128
ls /sys/class/drm
card0 card0-HDMI-A-1 card1 renderD128 version
Docker command
docker run -e ACCEPT_FSL_EULA=1 -e IGNORE_X_LOCKS=1 --rm --name=weston --net=host --cap-add CAP_SYS_TTY_CONFIG -v /home/torizon/weston/:/etc/xdg/weston/ -v /dev:/dev -v /tmp:/tmp -v /run/udev/:/run/udev/ --device-cgroup-rule='c 4:* rmw' --device-cgroup-rule='c 13:* rmw' --device-cgroup-rule='c 199:* rmw' --device-cgroup-rule='c 226:* rmw' --privileged torizon/weston-vivante:3 weston-launch
Error Message
Switching VT tty1 to text mode if currently in graphics mode
Switching to VT 7
Cannot detect SoC! Assuming it's GPU-capable.
SoC has GPU: true
SoC has DPU: false
g2d implementation: viv
dos2unix: converting file /etc/xdg/weston/weston.ini to Unix format...
dos2unix: converting file /etc/xdg/weston-dev/weston.ini to Unix format...
00:00:00.000 [INFO] [seatd/seat.c:39] Created VT-bound seat seat0
00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started
Date: 2024-09-09 UTC
[00:20:34.900] weston 10.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-5.15.52-2.1.0-10-g9452feba
[00:20:34.901] Command line: weston -Bdrm-backend.so --current-mode -Swayland-0 weston-launch
[00:20:34.901] OS: Linux, 5.15.92-torizon-standard, #1 SMP PREEMPT Mon Apr 3 01:29:01 UTC 2023, aarch64
[00:20:34.901] Flight recorder: enabled
[00:20:34.902] Using config file '/etc/xdg/weston/weston.ini'
[00:20:34.902] Output repaint window is 7 ms maximum.
[00:20:34.903] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[00:20:34.917] initializing drm backend
[00:20:34.917] Trying libseat launcher...
00:00:00.065 [INFO] [seatd/server.c:145] New client connected (pid: 24, uid: 1000, gid: 1000)
00:00:00.066 [INFO] [seatd/seat.c:170] Added client 7 to seat0
00:00:00.067 [INFO] [00:20:34.921] libseat: session control granted
[seatd/seat.c:480] Opened client 7 on seat0
[00:20:34.932] using /dev/dri/card0
[00:20:34.933] DRM: supports atomic modesetting
[00:20:34.933] DRM: supports GBM modifiers
[00:20:34.934] DRM: supports picture aspect ratio
[00:20:34.935] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
[00:20:34.951] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_EXT_device_query
EGL_EXT_device_drm EGL_EXT_device_drm_render_node
EGL_KHR_platform_gbm
[ 1] Failed to open device: No such file or directory, Try again...
[ 2] Failed to open device: No such file or directory, Try again...
[ 3] Failed to open device: No such file or directory, Try again...
[ 4] Failed to open device: No such file or directory, Try again...
[ 5] _OpenDevice(1249): FATAL: Failed to open device, errno=No such file or directory.
[ 6] Failed to open device: No such file or directory, Try again...
[ 7] Failed to open device: No such file or directory, Try again...
[ 8] Failed to open device: No such file or directory, Try again...
[ 9] Failed to open device: No such file or directory, Try again...
[ 10] _OpenDevice(1249): FATAL: Failed to open device, errno=No such file or directory.
00:00:08.110 [INFO] [seatd/client.c:471] Client disconnected
00:00:08.112 [INFO] [seatd/seat.c:418] No clients on seat0 to activate
Switching back to vt 1
00:00:08.261 [INFO] [seatd/seat.c:524] Closed client 7 on seat0
00:00:08.262 [INFO] [seatd/seat.c:192] Removed client 7 from seat0
00:00:08.329 [INFO] [seatd/seatd.c:218] seatd stopped
Thanks in advance!