Hi,
I’ve been using Uno for GUI development on a imx8m mini and it was working so far. However, we decided to move to a imx8m Plus this week and I was surprised to see the GUI running incredibly slow.
I’m going to try to break down what we have:
- imx8m Plus
- CSI display
- OS based on Torizon 6.6.1 with added drivers
- weston container based on torizon/weston-vivante:2 image (enabling usage of csi display in weston config file)
- Uno container based on torizon/dotnet-uno-debug:3.1.0-8.0.2 image
I understand that Toradex decided to move away from Uno but I don’t think this is related to Uno itself, I’m trying to understand if GPU for example is being used on the Plus, because everything was fine with the Mini.
I had a look around (here and here) and it seems like the torizon/weston-imx8:4 is used. I tried to run it (again, enabling the usage of CSI), and I’m getting failed to initialize g2d renderer
before the container closes. Is this only for Torizon 7? Here’s the entire output:
Attaching to weston-weston-imx8-1
weston-weston-imx8-1 | Switching VT tty1 to text mode if currently in graphics mode
weston-weston-imx8-1 | Switching to VT 7
weston-weston-imx8-1 | SoC is: 'i.MX8MP'
weston-weston-imx8-1 | SoC has GPU: true
weston-weston-imx8-1 | SoC has DPU: false
weston-weston-imx8-1 | g2d implementation: viv
weston-weston-imx8-1 | 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-weston-imx8-1 | dos2unix: converting file /etc/xdg/weston/weston.ini to Unix format...
weston-weston-imx8-1 | dos2unix: converting file /etc/xdg/weston-dev/weston.ini to Unix format...
weston-weston-imx8-1 | 00:00:00.000 [INFO] [seatd/seat.c:39] Created VT-bound seat seat0
weston-weston-imx8-1 | 00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started
weston-weston-imx8-1 | Date: 2025-06-27 UTC
weston-weston-imx8-1 | [12:04:04.971] weston 12.0.4
weston-weston-imx8-1 | https://wayland.freedesktop.org
weston-weston-imx8-1 | Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
weston-weston-imx8-1 | Build: 12.0.4
weston-weston-imx8-1 | [12:04:04.972] Command line: weston -Bdrm-backend.so -Swayland-0 --use-g2d
weston-weston-imx8-1 | [12:04:04.972] OS: Linux, 5.15.148-6.6.1-devel+git.23a8e831749d, #1-TorizonCore SMP PREEMPT Tue Apr 25 12:27:41 UTC 2023, aarch64
weston-weston-imx8-1 | [12:04:04.972] Flight recorder: enabled
weston-weston-imx8-1 | [12:04:04.972] Using config file '/etc/xdg/weston-dev/weston.ini'
weston-weston-imx8-1 | [12:04:04.972] Output repaint window is 7 ms maximum.
weston-weston-imx8-1 | [12:04:04.973] Loading module '/usr/lib/aarch64-linux-gnu/libweston-12/drm-backend.so'
weston-weston-imx8-1 | [12:04:04.980] initializing drm backend
weston-weston-imx8-1 | [12:04:04.980] Trying libseat launcher...
weston-weston-imx8-1 | 00:00:00.020 [INFO] [seatd/server.c:145] New client connected (pid: 29, uid: 1000, gid: 1000)
weston-weston-imx8-1 | 00:00:00.020 [INFO] [seatd/seat.c:170] Added client 7 to seat0
weston-weston-imx8-1 | 00:00:00.020 [INFO] [seatd/seat.c:480] Opened client 7 on seat0
weston-weston-imx8-1 | [12:04:04.981] [libseat/libseat.c:73] Seat opened with backend 'seatd'
weston-weston-imx8-1 | [12:04:04.981] [libseat/backend/seatd.c:212] Enabling seat
weston-weston-imx8-1 | [12:04:04.981] libseat: session control granted
weston-weston-imx8-1 | [12:04:04.986] using /dev/dri/card0
weston-weston-imx8-1 | [12:04:04.986] DRM: supports atomic modesetting
weston-weston-imx8-1 | [12:04:04.986] DRM: does not support GBM modifiers
weston-weston-imx8-1 | [12:04:04.986] DRM: does not support async page flipping
weston-weston-imx8-1 | [12:04:04.986] DRM: supports picture aspect ratio
weston-weston-imx8-1 | [12:04:04.987] Loading module '/usr/lib/aarch64-linux-gnu/libweston-12/g2d-renderer.so'
weston-weston-imx8-1 | g2d_open: fail with status -7
weston-weston-imx8-1 | [12:04:04.998] g2d_open fail.
weston-weston-imx8-1 | [12:04:04.998] g2d_renderer_create faile.
weston-weston-imx8-1 | [12:04:04.998] failed to initialize g2d renderer
weston-weston-imx8-1 | 00:00:00.038 [INFO] [seatd/seat.c:418] No clients on seat0 to activate
weston-weston-imx8-1 | 00:00:00.039 [INFO] [seatd/seat.c:524] Closed client 7 on seat0
weston-weston-imx8-1 | 00:00:00.039 [INFO] [seatd/seat.c:192] Removed client 7 from seat0
weston-weston-imx8-1 | 00:00:00.040 [INFO] [seatd/client.c:471] Client disconnected
weston-weston-imx8-1 | 00:00:00.097 [INFO] [seatd/seatd.c:218] seatd stopped
weston-weston-imx8-1 | Switching back to vt 1
weston-weston-imx8-1 exited with code 139
So, does anyone have any idea why a GUI would be very slow after moving to a Plus?
Resource usage looks fine by the way.
Regards,
Joao