GPU performance in Chromium container on Torizon OS iMX8M-Plus

Hi @jeremias.tx
hi @leon.tx

I’ve just seen this commit on toradex/github.
It’s related to GPU acceleration in Chromium for iMX8 platform.
Great news!
I rebuilt the chromium container for iMX8, and so

ARG IMAGE_ARCH=linux/arm64

ARG BASE_NAME=wayland-base-vivante

ARG IMAGE_TAG=3

Now I see some promising messages in the log of the container:

docker-compose-kiosk-1   | EGL: Warning: No default display support on wayland
docker-compose-kiosk-1   | [58:58:0304/074817.234078:ERROR:gl_surface_egl.cc(1448)] EGL display query failed with error EGL_SUCCESS
docker-compose-kiosk-1   | [58:58:0304/074817.286198:ERROR:gl_surface_egl.cc(1473)] eglInitialize Default failed with error EGL_BAD_DISPLAY
docker-compose-kiosk-1   | [58:58:0304/074817.288136:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
docker-compose-kiosk-1   | [1:39:0304/074817.288478:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
docker-compose-kiosk-1   | [1:39:0304/074817.288586:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
docker-compose-kiosk-1   | [58:58:0304/074817.317335:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization
docker-compose-kiosk-1   | [1:92:0304/074817.448732:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
docker-compose-kiosk-1   | [1:92:0304/074817.450856:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
docker-compose-kiosk-1   | [1:92:0304/074817.453575:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
docker-compose-kiosk-1   | EGL: Warning: No default display support on wayland
docker-compose-kiosk-1   | [91:91:0304/074817.473985:ERROR:gl_surface_egl.cc(1448)] EGL display query failed with error EGL_SUCCESS
docker-compose-kiosk-1   | [91:91:0304/074817.477597:ERROR:gl_surface_egl.cc(1473)] eglInitialize Default failed with error EGL_BAD_DISPLAY
docker-compose-kiosk-1   | [91:91:0304/074817.478164:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
docker-compose-kiosk-1   | [91:91:0304/074817.505853:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization
docker-compose-kiosk-1   | [126:126:0304/074817.572667:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is disabled, ANGLE is 
docker-compose-kiosk-1 exited with code 0

I say promising because now, for the first time, I see that chromium tries to use the GPU.
Chromium is not shown on the display, but I think this is for the errors.
Now I think that the focus can be moved to the investigation of these errors.
I found some topics that seems similar to what happens:

Do you agreee to what I wrote?
Thanks