Hello,
I am working on an Verdin IMX8MP. We have two displays connected one is LVDS 1024x768 the other one is a DSI panel (panel_ilitek_ili9881c) 720x1280. I managed to get both display working, using the container torizon/weston-imx8:4.13. My problem is that it seems not possible the get the LVDS display to be the main display (coordinates 0,0 - 1023,767). There must be a possibility to arrange the displays somehow.
I have another problem with Xwayland it is working basically. But in kiosk mode X-winows get an offset of 32 pixels in x and y direction.
Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
I’d be glad to help! Could you let me know which version of Torizon OS you are running? You can check this by running the tdx-info command on your device. This information will help me provide you with the most accurate guidance for your multi-display setup and Xwayland configuration.
You can find more details about the tdx-info command here: Getting Device Information with Tdx-Info | Toradex Developer Center
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.
Dear @andreasr,
Thank you for contacting us and welcome to the community!
Regarding the first issue you mentioned, you should be able to configure this in a file called weston.ini.
I have an example of this here:
[core]
#gbm-format=argb8888
idle-time=0
#use-g2d=1
xwayland=true
repaint-window=16
#enable-overlay-view=1
modules=screen-share.so
shell=kiosk-shell.so
[shell]
panel-position=top
locking=false
allow-zap=true
num-workspaces=1
[libinput]
enable_tap=true
touchscreen_calibrator=true
calibration_helper=/usr/bin/toradex-save-touchscreen-calibration
[output]
name=HDMI-A-1
mode=preffered
transform=normal
app-ids=org.freedesktop.weston.wayland-drag-and-drop-demo
[output]
name=HDMI-A-2
mode=preffered
transform=normal
app-ids=org.freedesktop.weston.flower
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/etc/freerdp/keys/server.crt --rdp-tls-key=/etc/freerdp/keys/server.key
In this case two HDMI displays are connected. You should be able to configure your own setup here though. The same goes for the app-ids. Should you want to use different app-ids you can run the following command to fetch the IDs:
bash-5.2# WAYLAND_DEBUG=1 weston-dnd 2>&1 | grep app
[ 84796.980] -> xdg_toplevel@18.set_app_id("org.freedesktop.weston.wayland-drag-and-drop-demo")
bash-5.2# WAYLAND_DEBUG=1 weston-flower 2>&1 | grep app
[2368152.597] -> xdg_toplevel@17.set_app_id("org.freedesktop.weston.flower")
You can then run the apps via the following example command:
# weston-flower & weston-dnd &
I will check out the other issue regarding the 32 pixel offset in the meantime.
Best regards,
Collin
Thank you. This seems to work. At least for wayland applications. But what do I do with x11 applications?
Dear @andreasr,
Thank you for your feedback.
Newer versions of weston would support the x11-wm-name/x11-wm-class feature, however our weston seems to be too old for that. You would require at least 13.0.91. You might be able to “raise” the weston version via a bbappend. Have you tried this?
Regarding the offset you are witnessing there could be a few reasons for this. Could you send us an image of what you are seeing? The issue could be caused by either weston or from the display settings.
Best regards,
Collin