Unable to start Weston-Vivante 3* on imx8mPlus

I’m trying to upgrade from:

Torizon OS:6.4.0

// sorry for the sha of chromium but I am not able to retrieve the version from your docker hub  


Torizon OS:6.5.0

 //I try  weston-vivante:3.3 too

But Weston simply does not start, here the docker-compose file:
docker-compose.yml (1.3 KB)


[+] Running 2/0
 ✔ Container torizon-weston-1  Created                                                                        0.0s
 ✔ Container torizon-kiosk-1   Created                                                                        0.0s
Attaching to torizon-kiosk-1, torizon-weston-1
torizon-weston-1  | Switching VT tty1 to text mode if currently in graphics mode
torizon-weston-1  | Couldn't open /dev/tty1
torizon-weston-1 exited with code 1
torizon-kiosk-1   | [1:1:0228/112137.066439:ERROR:wayland_connection.cc(209)] Failed to connect to Wayland display
torizon-kiosk-1   | [1:1:0228/112137.066578:ERROR:ozone_platform_wayland.cc(226)] Failed to initialize Wayland platform
torizon-kiosk-1   | [1:1:0228/112137.066594:ERROR:env.cc(225)] The platform failed to initialize.  Exiting.
torizon-kiosk-1 exited with code 1

OS Information:

Software summary
Bootloader:               U-Boot
Kernel version:           5.15.129-6.5.0+git.6f8fd49366db #1-TorizonCore SMP PREEMPT Fri Dec 22 11:15:52 UTC 2023
Kernel command line:      root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/fe091cbe7b665ff6d9d5d618cb20c42c90c242fffeaceccf204eacd186b2f597/0
Distro name:              NAME="TorizonCore"
Distro version:           VERSION_ID=6.5.0-build.8
Distro variant:           VARIANT="Docker"
Hostname:                 verdin-imx8mp-15128331

Hardware info
HW model:                 Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version:          0064 V1.1A
Serial number:            15128331
Processor arch:           aarch64

Thanks in advance

Hello @vix,

Thanks for the detailed explanation.

From weston-vivante:2 to weston-vivante:3 there were a few changes to the weston container.
For this reason, you need to give it more access to tty devices. This requires a change in the device_cgroup_rules property of the weston container:

      - c 4:* rmw
      - c 13:* rmw
      - c 199:* rmw
      - c 226:* rmw

If you run your docker-compose with just the above change, a WebGL error will likely appear. This error is caused by a regression on torizon/chromium:3.1.

Edit: The regression has been fixed, to use the updated image, you can use the torizon/chromium:3.2 container.

Best Regards,

try to change the gpu in the settings.json to “-imx8” instead of “-vivante”.
I have here the same Problem https://community.toradex.com/t/every-start-of-vs-code-the-settings-json-will-get-wrong-gpu-value/21949/2

best regards

Hello @tf_hosenso.de,

The “-imx8” containers are still in a release candidate or “rc” state.
The “rc” containers are in constant development and are not explicitly versioned. This makes builds or tests based solely on the “rc” tags unreproducible. This can lead to instabilities and compatibility issues.

For these reasons, it would not be advisable to use “rc” containers unless you are looking to test a fix to a known issue. Even in those cases, downgrading to a known working version when possible would be preferred.

Best Regards,