Hello !
I need support with an issue I cannot fix so far.
My configuration is :
Windows 10 (WSL ubuntu 18.04)
Iris v2 + imx8 dualX 1Gb Wifi Bluetooth
7 inch capactive screen from Toradex
What I have done :
- Import c++ (qt + qml) source code in VS code, debug it on the iris v2 board + imx8dx using the Torizon installed during the “unboxing” tutorial and a VGA screen → My app is starting with resolution issue (the resolution issue is not the problem)
- Then I Connected the toradex 7inch capacitive screen thrhough LVSD connector
- I ran the app again from vscode, it is also running/displayed with resolution issue
- To fix the resolution issue, I followed the tutorial on device tree overlays, decided to use :
- colibri-imx8x_parallel-rgb-lvds_overlay.dtbo
- colibri-imx8x_atmel-mxt-connector_overlay.dtbo
- display-edt7_overlay.dtbo
I decided to customizee TorizonCore Image, going with torizon-core-docker-colibri-imx8x-Tezi_5.7.0+build.17. I can provide my tcbuild.yaml and the docker-compose.yml used to create the /bundle folder
- I deployed the image to the board. I can see the overlays being applied during boot :
Applying Overlay: colibri-imx8x_parallel-rgb-lvds_overlay.dtbo
Applying Overlay: colibri-imx8x_atmel-mxt-connector_overlay.dtbo
Applying Overlay: display-edt7_overlay.dtbo
- This is where I am stuck :
Either when I try to debug from vscode or directly on the board (ssh) with the example tutorial (tuto) following commands :
docker run -e ACCEPT_FSL_EULA=1 --rm -it --name=qt5
-v /tmp:/tmp
-v /dev/dri:/dev/dri -v /dev/galcore:/dev/galcore
–device-cgroup-rule=‘c 199:* rmw’ --device-cgroup-rule=‘c 226:* rmw’
torizon/qt5-wayland-examples-vivante:$CT_TAG_QT5_WAYLAND_EXAMPLES_VIVANTE
bash
/usr/lib/aarch64-linux-gnu/qt5/examples/quick/animation/animation &
The following error is displayed :
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin “wayland” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
The qt5-wayland-vivante:2 container (or qt5-wayland-examples-vivante) is correctly pulled, but when I run it, I cannot not see anything happening which is not normal I guess.
Can you help ?
Many thanks