Hello,
We are evaluating the iMX95 Verdin EVK 1.3 board and ran into an issue trying to launch the weston-imx95:4 docker container. The steps we did are the following:
- Built the torizon-docker OS image following the guidelines
- Flashed the image onto the board
- Created the following docker-compose file to launch weston:
services:
weston:
image: torizon/weston-imx95:4
container_name: weston
environment:
- ACCEPT_FSL_EULA=1
network_mode: host
cap_add:
- CAP_SYS_TTY_CONFIG
volumes:
- type: bind
source: /tmp
target: /tmp
- type: bind
source: /dev
target: /dev
- type: bind
source: /run/udev
target: /run/udev
device_cgroup_rules:
- 'c 4:0 rmw'
- 'c 4:1 rmw'
- 'c 4:7 rmw'
- 'c 13:* rmw'
- 'c 226:* rmw'
- 'c 199:0 rmw'
- 'c 253:* rmw'
When running docker compose up, the weston container fails with a egl initialization error:
Attaching to weston
weston | Switching VT tty7 to text mode if currently in graphics mode
weston | Switching to VT 7
weston | SoC is: 'i.MX95'
weston | SoC has GPU: true
weston | SoC has DPU: true
weston | Removing previously created '.X*-lock' entries under /tmp before starting Weston. Pass 'IGNORE_X_LOCKS=1' environment variable to Weston container to disable this behavior.
weston | dos2unix: converting file /etc/xdg/weston/weston.ini to Unix format...
weston | dos2unix: converting file /etc/xdg/weston-dev/weston.ini to Unix format...
weston | 00:00:00.000 [INFO] [seatd/seat.c:39] Created VT-bound seat seat0
weston | 00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started
weston | Date: 2025-09-24 UTC
weston | [15:54:16.038] weston 12.0.4
weston | https://wayland.freedesktop.org
weston | Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
weston | Build: 12.0.4
weston | [15:54:16.039] Command line: weston -Bdrm-backend.so -Swayland-0
weston | [15:54:16.039] OS: Linux, 6.6.52-lts-next-ge0f9e2afd4cf, #1-Torizon SMP PREEMPT Tue Nov 19 23:01:49 UTC 2024, aarch64
weston | [15:54:16.039] Flight recorder: enabled
weston | [15:54:16.039] Using config file '/etc/xdg/weston/weston.ini'
weston | [15:54:16.040] Output repaint window is 7 ms maximum.
weston | [15:54:16.040] Loading module '/usr/lib/aarch64-linux-gnu/libweston-12/drm-backend.so'
weston | [15:54:16.059] initializing drm backend
weston | [15:54:16.059] Trying libseat launcher...
weston | 00:00:00.036 [INFO] [seatd/server.c:145] New client connected (pid: 28, uid: 1000, gid: 1000)
weston | 00:00:00.036 [INFO] [seatd/seat.c:170] Added client 7 to seat0
weston | 00:00:00.036 [INFO] [seatd/seat.c:480] Opened client 7 on seat0
weston | [15:54:16.060] [libseat/libseat.c:73] Seat opened with backend 'seatd'
weston | [15:54:16.060] [libseat/backend/seatd.c:212] Enabling seat
weston | [15:54:16.060] libseat: session control granted
weston | [15:54:16.063] using /dev/dri/card0
weston | [15:54:16.063] DRM: supports atomic modesetting
weston | [15:54:16.063] DRM: supports GBM modifiers
weston | [15:54:16.063] DRM: does not support async page flipping
weston | [15:54:16.063] DRM: supports picture aspect ratio
weston | [15:54:16.064] failed to initialize egl
weston | 00:00:00.040 [INFO] [seatd/seat.c:418] No clients on seat0 to activate
weston | 00:00:00.041 [INFO] [seatd/seat.c:524] Closed client 7 on seat0
weston | 00:00:00.041 [INFO] [seatd/seat.c:192] Removed client 7 from seat0
weston | 00:00:00.041 [INFO] [seatd/client.c:471] Client disconnected
weston | [15:54:16.065] fatal: failed to create compositor backend
weston | Internal warning: debug scope 'drm-backend' has not been destroyed.
weston | 00:00:00.062 [INFO] [seatd/seatd.c:218] seatd stopped
weston | Switching back to vt 7
We’ve seen a somewhat similar issue discussed here, but the log in that other one at least showed some EGL initialization steps, in our case there are none.
Any help appreciated.