This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5729: basic qt application cpu load 100% issue

Part Number: AM5729

I ran a basic qt application with the eglfs platform, 
but there is a CPU load 100% issue.
What's the reason?


1. environment

    - am5729 cpu (dual core)

    - tisdk-06.03.00.106

    - embedded linux

    - eglfs platform

2. helloqt qml source

Window {
    id: window
    visible: true
    width: 1920
    height: 720
    title: qsTr("Hello Qt")
    color: "black"
    visibility: Window.FullScreen

Rectangle {
    id: button
    property bool lighten: true

    width: 200
    height: 80
    color: lighten ? "red" : "green"
    radius: 5
    anchors.centerIn: parent

Text {
    id: buttonText
    text: qsTr("Hello Qt")
    color: button.lighten ? "white" : "black"
    anchors.centerIn: parent
    font.pixelSize: 40
    font.family: "NanumGothicExtraBold"
}

MouseArea {
    anchors.fill: parent
    onClicked: parent.lighten = !parent.lighten
}
}
}

3. cpu load 100%

4. board env

/ # env
TSLIB_TSDEVICE=/dev/input/touchscreen0
SHLVL=2
HOME=/
SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
QT_QPA_EGLFS_ALWAYS_SET_MODE=1
QT_WAYLAND_SHELL_INTEGRATION=wl-shell
TERM=linux
QT_QPA_EGLFS_INTEGRATION=eglfs_kms
TSLIB_CONFFILE=/etc/ts.conf
QT_QPA_GENERIC_PLUGINS=tslib
QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
PWD=/
QT_QPA_PLATFORM=eglfs
TSLIB_CALIBFILE=/etc/pointercal

 

5. qtbase config.opt

Command line: -v -opensource -confirm-license

-no-use-gold-linker
-shared
-silent
-no-pch
-no-rpath
-pkg-config
-accessibility
-no-cups
-dbus
-no-directfb
-no-eglfs
-evdev
-make examples
-compile-examples
-fontconfig
-system-freetype
-gbm
-no-feature-getentropy
-gif
-opengl es2
-no-glib
-no-gtk
-qt-harfbuzz
-no-ico
-no-iconv
-icu
-no-journald
-system-libjpeg
-kms
-libinput
-system-libpng
-no-libproxy
-make libs
-linuxfb
-no-mtdev
-openssl
-qt-pcre
-release
-no-sm
-no-sql-db2
-no-sql-ibase
-no-sql-mysql
-no-sql-oci
-no-sql-odbc
-no-sql-psql
-no-sql-sqlite
-no-sql-sqlite2
-no-sql-tds
-shared
-make tests
-make tools
-tslib
-libudev
-widgets
-no-xcb
-no-xinput2
-no-xkb
-no-xkbcommon
-xkbcommon-evdev
-system-zlib
-eglfs
-qpa eglfs

Please Help me.

Best regards.