st-example-image-qt Qt examples extremely slow
Hello, I'm testing the st-example-image-qt, but when I launch the Qt examples works extremely slow, looks like Qt doesn't use the hardware acceleration.
Any clue about it?
Best Regards
Eduard
Hello, I'm testing the st-example-image-qt, but when I launch the Qt examples works extremely slow, looks like Qt doesn't use the hardware acceleration.
Any clue about it?
Best Regards
Eduard
Hello Eduard,
I/ The problem probably comes from the fact you may not have accepted the EULA (gcnano is under Third party licensing).
you should have on your board:
root@stm32mp1:~# cat /etc/lsb-release.d/graphics-1.0
LIBGLES1=gcnano-userland-multi-binary-stm32mp
II/ Here is my complete build process for reference:
$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-4.19-thud-mp1-19-02-20
conf/machine/include/st-machine-common-stm32mp.inc
# New value proposed for rootfs is 768MB
-ROOTFS_PARTITION_SIZE = "768432"
+ROOTFS_PARTITION_SIZE = "1400000"
$ DISTRO=openstlinux-eglfs MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh
$ bitbake st-example-image-qt
Depending on your host PC, sometimes the builds does not succeed (see: https://community.st.com/s/question/0D50X0000AVSWK1SQP/what-is-the-process-for-initializing-the-openembedded-build-environment-stexampleimageqt).
Here is my build setup:
$ source layers/meta-st/scripts/envsetup.sh
[HOST DISTRIB check]
Linux Distrib: Ubuntu
Linux Release: 16.04
[BUILD_DIR configuration]
Selected BUILD_DIR: build-openstlinuxeglfs-stm32mp1
[source layers/openembedded-core/oe-init-build-env][with previous config]
===========================================================================
Configuration files have been created for the following configuration:
DISTRO : openstlinux-eglfs
DISTRO_CODENAME : thud
MACHINE : stm32mp1
BB_NUMBER_THREADS : <no-custom-config-set>
PARALLEL_MAKE : <no-custom-config-set>
BUILD_DIR : build-openstlinuxeglfs-stm32mp1
DOWNLOAD_DIR : /local/github/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1-disco/downloads
SSTATE_DIR : /local/github/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1-disco/sstate-cache
SOURCE_MIRROR_URL : <no-custom-config-set>
SSTATE_MIRRORS : <no-custom-config-set>
WITH_EULA_ACCEPTED: YES
===========================================================================
Available images for OpenSTLinux layers are:
- Official OpenSTLinux images:
st-image-weston - OpenSTLinux weston image with basic Wayland support (if enable in distro)
- Other OpenSTLinux images:
- Supported images:
st-image-core - OpenSTLinux core image
- Proposed images as example only:
st-example-image-qt - ST example of image based on QT framework (require 'openstlinux-eglfs' distro)
st-example-image-x11 - ST example of image based on X11 (require 'openstlinux-x11' distro)
st-example-image-xfce - ST example of image based on XFCE framework (require 'openstlinux-x11' distro)
and more images are available on meta-st-openstlinux/recipes-samples/images.
You can now run 'bitbake <image>'
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.