2023-10-20 05:44 AM
Hi all,
I'm part of a software team that's working on a product based on the stm32mp15, running Yocto images based on the V4.1.1 ecosystem release. We're currently thinking of upgrading the Qt version in our images from Qt5 to Qt6, and while we are able to get it working, we've noticed that the performance is slightly slower than Qt5's - at least in the example applications we provide.
We ran some tests on the stm32mp15-eval board and built two sets of st-example-image-qtwayland images from a openstlinux-weston distro based on the v4.1.1 ecosystem, using Qt5 in one image and Qt6 on the other. We applied the following changes:
After building both images, I'm able to launch the application without any errors. The main difference is that the Qt5 version runs at framerates between 19 to 15 FPS, the Qt6 version runs at framerates between 14 and 10 FPS. While this isn't a showstopper, and keeping in mind that there are several factors that might influence this difference in performance (such as the app being built from an unofficial fork or Qt6 not being officially supported in the v4.1.1 ecosystem), my main question is the following:
Has anyone at ST tested Qt6 on the stm32mp15? If so, have they observed the same performance differences we're seeing when compared to Qt5? In other words: is this performance difference to be expected? Or is it possible that the configuration of the Qt6 libraries needs to be tweaked to improve performance? Note that in our tests, we're using the default configurations provided by meta-qt6 (it correctly deduces the PACKAGECONFIGs based on distro features, but it might be missing options specific to the mp15).
Many thanks in advance,
Gabriel