I tried to evaluate the performance of Colibri iMX7D (eMMC) and so I downloaded and built the Linux Reference Muiltimedia image from here.
Everything works fine and I’m able to run the image and to install and run my “Hello World” application.
The image comes with the well known Qt Cinematic Experience Demo, and runnign it I can see that the fps performance are poor. Basically the application is freezed (0 fps on the to-left corner of the screen).
The same happens to my custom Qt application (QtQuick based).
I investigated a little bit and I found this on Toradex community.
The explanation is really good and it clarifies what happens to QtQuick/QML application on non-GPU hardware (as iMX7 is). It refers to old Qt 5.7 and 5.8, but it’s almost the same on Qt 5.15.
The suggestion is to add the environment variable QMLSCENE_DEVICE=softwarecontext.
I did it inside my custom Hello World and it did the trick.
I wonder why this environment variable is not automatically added in the Linux Reference Image for iMX7D.
It seems that without this, Qt demos on the image can’t be used on iMX7 hardware.
Hello @alex.tx
I followed this KB for BSP 5.0.0 and so I cloned the repo repo init -u https://git.toradex.com/toradex-manifest.git -b dunfell-5.x.y -m tdxref/default.xml
We had internal discussions in the past about this, and now in the latest images, we have removed qt-cinematic on non-GPU modules (ull and imx7). There it should just show an analog clock. And yes, this env variable is not added in our images.