Hi Toradex Community,
I am currently trying to display a Qt application on two displays (same app with two windows).
Here is the current configuration I’m using:
- SoM: Apalis iMX6 v1.1Y
- Carrier Board: Apalis Evaluation Board
- One 1920x1080 screen connected via DVI
- One 1366x768 screen connected via VGA
- Image is Boot2Qt 5.15.17 using Yocto 3.1.
Looking at the documentation here: https://developer.toradex.com/linux-bsp/application-development/multimedia/display-output-resolution-and-timings-linux/#imx-6-based-modules, I tried to set multiple outputs like so:
setenv vidargs video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:dev=vdac,640x480M@60,if=RGB565 fbmem=32M
Doing this, no fb* gets detected in /dev and obviously my app gives
EGLFS: Failed to open /dev/fb0
EGLFS: Can’t continue without a display
Aborted
If I set VGA to fb2 instead of fb1:
setenv vidargs video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb2:dev=vdac,640x480M@60,if=RGB565 fbmem=32M
The HDMI display works, but VGA is still not found.
Individually, I’m able to get the HDMI display working, but not the VGA on its own.
What am I missing to make this work? Is this even possible with Apalis iMX6?
Thank you in advance!
Anthony