I have been following the Multi-display - Redirecting the output - one DRM interface document.
I can get each app working individually. For some reason I cannot get both applications to start at the same time.
I started by getting the wayland app-ids:
torizon@verdin-imx8mp-15207741:~$ docker compose run --rm -e WAYLAND_DEBUG=1 infotainment 2>&1 | grep set_app_id
[3625339.789] -> xdg_toplevel@24.set_app_id("StarOSApp")
^C
torizon@verdin-imx8mp-15207741:~$ docker compose run --rm -e WAYLAND_DEBUG=1 dash 2>&1 | grep set_app_id
[3645913.156] -> xdg_toplevel@24.set_app_id("StarDashApp")
I added these values to my weston.ini:
torizon@verdin-imx8mp-15207741:~$ cat weston.ini
[core]
idle-time=0
require-input=false
xwayland=true
modules=screen-share.so
shell=kiosk-shell.so
#require-outputs=all-found
[shell]
panel-position=top
locking=false
allow-zap=true
num-workspaces=1
[output]
name=HDMI-A-2
mode=preferred
app-ids=StarDashApp
[output]
name=HDMI-A-1
mode=preferred
app-ids=StarOSApp
The docker compose file I am using is as close to https://github.com/toradex/torizon-samples/blob/bookworm/multi-display/single-drm-interface/docker-c... as I can manage. I can post it if that helps?
When I try to start the second container I get the following:
torizon@verdin-imx8mp-15207741:~$ docker stats --no-stream
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
3a0b29ca1608 live-infotainment-1 44.68% 111MiB / 7.754GiB 1.40% 3.43kB / 0B 0B / 61.4kB 9
7e96d7a3546c live-weston-1 16.12% 18.26MiB / 7.754GiB 0.23% 0B / 0B 32.8kB / 307kB 11
torizon@verdin-imx8mp-15207741:~$ docker compose up dash --no-deps
[+] Running 1/1
✔ dash Pulled 0.7s
[+] Running 1/0
✔ Container live-dash-1 Created 0.0s
Attaching to live-dash-1
live-dash-1 | Loaded language: "en"
live-dash-1 | Font "Inter-Bold.ttf" loaded
live-dash-1 | Font "Inter-Medium.ttf" loaded
live-dash-1 | Font "Inter-Regular.ttf" loaded
live-dash-1 | Font "Inter-SemiBold.ttf" loaded
live-dash-1 exited with code 139
I am really hoping you can point me to where I can even start to work out what is going on!
Solved! Go to Solution.
I asked over in the Toradex community: https://community.toradex.com/t/25126
You can see how our issues were resolved there.
Thank you!
I asked over in the Toradex community: https://community.toradex.com/t/25126
You can see how our issues were resolved there.
Thank you!
Don't Know, @toradex or or their develop partners like Silicon Signals can help i have seen there are various development done by them on this board.
Here's the reference: https://youtu.be/bUD6gcjBe2o?si=hZgK9GD6scdONsRG
Toradex page: https://www.toradex.com/support/partner-network/services/400014/silicon-signals-pvt-ltd