Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

RFC: colibri-imx8: Fix chromium gallery app for Torizon 7. DO NOT MERGE YET#13

Draft
drewmoseley wants to merge 1 commit into
torizon:torizon-6from
drewmoseley:main
Draft

RFC: colibri-imx8: Fix chromium gallery app for Torizon 7. DO NOT MERGE YET#13
drewmoseley wants to merge 1 commit into
torizon:torizon-6from
drewmoseley:main

Conversation

@drewmoseley

Copy link
Copy Markdown
Contributor

@drewmoseley

Copy link
Copy Markdown
Contributor Author

Hi all. I noticed that running the current demo gallery app on the 7.1 release of Torizon for the colibri-imx8 fails with the following log:

Switching VT tty1 to text mode if currently in graphics mode
Switching VT mode of /dev/tty1 to text
Switching to VT 7
SoC is: 'i.MX8QXP'
SoC has GPU: true
SoC has DPU: true
g2d implementation: dpu
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.
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: 2025-02-11 UTC
[14:20:43.785] 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
[14:20:43.786] Command line: weston -Bdrm-backend.so --current-mode -Swayland-0
[14:20:43.786] OS: Linux, 6.6.54-7.1.0-g3493ccd66900, #1-Torizon SMP PREEMPT Tue Dec 17 21:04:41 UTC 2024, aarch64
[14:20:43.786] Flight recorder: enabled
[14:20:43.787] Using config file '/etc/xdg/weston/weston.ini'
[14:20:43.789] Output repaint window is 7 ms maximum.
[14:20:43.789] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[14:20:43.809] initializing drm backend
[14:20:43.810] Trying libseat launcher...
00:00:00.080 [INFO] [seatd/server.c:145] New client connected (pid: 31, uid: 1000, gid: 1000)
00:00:00.081 [INFO] [seatd/seat.c:170] Added client 7 to seat0
00:00:00.081 [INFO] [seatd/seat.c:480] Opened client 7 on seat0
[14:20:43.811] libseat: session control granted
[14:20:43.820] using /dev/dri/card1
[14:20:43.820] DRM: supports atomic modesetting
[14:20:43.820] DRM: supports GBM modifiers
[14:20:43.820] DRM: supports picture aspect ratio
[14:20:43.820] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
[14:20:43.839] 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
[14:20:43.840] failed to initialize display
[14:20:43.840] EGL error state: EGL_NOT_INITIALIZED (0x3001)
[14:20:43.840] failed to initialize egl
00:00:00.111 [INFO] [seatd/seat.c:418] No clients on seat0 to activate
00:00:00.111 [INFO] [seatd/seat.c:524] Closed client 7 on seat0
00:00:00.111 [INFO] [seatd/seat.c:192] Removed client 7 from seat0
00:00:00.111 [INFO] [seatd/client.c:471] Client disconnected
[14:20:43.841] fatal: failed to create compositor backend
Internal warning: debug scope 'drm-backend' has not been destroyed.
00:00:00.120 [INFO] [seatd/seatd.c:218] seatd stopped
Switching back to vt 1

Looking at the current docs, I modified the appropriate file as shown in this PR.

I think we need to do something a bit more rigorous here to make sure we catch these things early.

Geting proper automation is certainly one aspect. Ideally we would test all of these apps across all the modules and on at least the latest 2 Torizon OS releases.

It's not clear if we need to have different versions of these apps for different OS versions or how best to handle the matrix of board/demo app/OS version combinations.

@drewmoseley

Copy link
Copy Markdown
Contributor Author

NOTE: DO NOT MERGE THIS AS IS. THIS DOES WORK BUT NEEDS MORE THOUGHT BEFORE MERGING.

At a minimum this new version of the docker-compose file will need to be canonicalized.

@leonheldattoradex
leonheldattoradex marked this pull request as draft May 23, 2025 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant