Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt application run on Sitrara board AM5749 touch perfomance issue.
Qt 6.11 is out! See what's new in the release blog

Qt application run on Sitrara board AM5749 touch perfomance issue.

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 580 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    parth123
    wrote on last edited by
    #1

    Hello,
    I have run Qt application on sitara board AM5749 then application touch performance is so bed some time my application random behavior. I have also install in tslib in sitara board AM5749 but touch performance does not improve so how can I solve touchscreen touch performance issue?

    ***I explain about application and board AM5749 details.

    touch display model and board info:
    Display : OSD101T2587-53TS more info https://www.osddisplays.com/TI/OSD101T2587-53TS_A.1.pdf
    Board : AM5749 more info https://www.ti.com/product/AM5749

    Application .Pro file :

    QT += quick widgets printsupport network positioning

    CONFIG += c++11

    #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

    SOURCES +=
    src/aboutUtilityData.cpp
    src/alarmLogUtilityView.cpp
    src/alarmSoundData.cpp
    main.cpp
    src/parameters.cpp

    QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS
    RESOURCES += qml.qrc
    include(QXlsx/QXlsx.pri)
    DEFINES += QCUSTOMPLOT_USE_OPENGL

    QML_IMPORT_PATH =

    QML_DESIGNER_IMPORT_PATH =

    #qnx: target.path = /tmp/$${TARGET}/bin
    #else: unix:!android: target.path = /opt/$${TARGET}/bin
    #!isEmpty(target.path): INSTALLS += target

    HEADERS +=
    inc/aboutUtilityData.h
    inc/alarmLogUtilityView.h
    inc/parameters.h
    inc/alarmSoundData.h

    INCLUDEPATH += inc

    DISTFILES +=

    Application inside MouseArea use:
    Image
    {
    id: alarmSoundPlusImg
    x: 432
    y: 41
    source: "page_res/fourth_page_VCvs_para/4_plus-box_54px.png"
    fillMode: Image.PreserveAspectFit
    MouseArea
    {
    anchors.fill: alarmSoundPlusImg
    onClicked:
    {
    // perform task for clicked by user ........... But touch performance is very slow (four to five time touch then single touch event work )
    }
    }
    }

    **tsLib configuration steps:

     root@am57xx-evm:~# export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touchscreen0
     root@am57xx-evm:~# export TSLIB_FBDEVICE=/dev/fb0
     root@am57xx-evm:~# export TSLIB_TSDEVICE=/dev/input/touchscreen0
     root@am57xx-evm:~# export TSLIB_CONFFILE= /usr/local/etc/ts.conf  
     root@am57xx-evm:~# export TSLIB_PLUGINDIR=/usr/local/lib/ts
     root@am57xx-evm:~# export TSLIB_CALIBFILE=/etc/pointercal
    

    *Qt 5.11 use in sitara board. Qt Application cross compile for the sitara AM57xx board.

    *Qt Application design in QML and all Data mange in C++ class.

    *Those Qt application run in host machine using then perform good(mouse clicked event performance are normal). My host PC 8GB RAM and 4 core processor.

    My Sitara board am57xx Info using /proc/cpuinfo :

    root@am57xx-evm:~# cat /proc/cpuinfo
    processor : 0
    model name : ARMv7 Processor rev 2 (v7l)
    BogoMIPS : 12.29
    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x2
    CPU part : 0xc0f
    CPU revision : 2

    processor : 1
    model name : ARMv7 Processor rev 2 (v7l)
    BogoMIPS : 12.29
    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x2
    CPU part : 0xc0f
    CPU revision : 2

    Hardware : Generic DRA74X (Flattened Device Tree)
    Revision : 0000
    Serial : 0100a0026b0c0000
    root@am57xx-evm:~#

    ** AM5749 multi-core processor but currently show 2 processor only(0 and 1). RAM 2GB show me(htop utility). my application executable file size 24MB.

    please need helpful.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      parth123
      wrote on last edited by
      #2

      please give me updates........

      Thanks & Regards
      Parth Patel

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        You are likely in the case where no volunteer of this forum worked with that board.

        Things to do:

        • ensure that you have hardware acceleration enabled
        • check which QPA backend you are using
        • check that your base system has everything needed for hardware acceleration to be enabled

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • P Offline
          P Offline
          parth123
          wrote on last edited by
          #4

          Thanks for replay.

          as your request I am doing some changes in below file but my application start and killed.

          1. create a file file /etc/powervr.ini

          [default]
          ParamBufferSize=200000000
          MaxParamBufferSize=200000000

          1. /etc/profile.d/qt_env.sh file is
            #!/bin/sh

          QT Environment Variables

          export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
          export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
          export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
          export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
          export QT_WAYLAND_SHELL_INTEGRATION=wl-shell
          export QT_QPA_EGLFS_DISABLE_INPUT=1
          export QT_QPA_PLATFORM=eglfs

          //set eglfs plugin

          3)/etc/qt5/eglfs_kms_cfg.json file :

          {
          "device": "/dev/dri/card0",
          "hwcursor": false,
          "pbuffers": true,
          "outputs": [
          {
          "name": "VGA1",
          "mode": "off"
          },
          {
          "name": "HDMI1",
          "mode": "1024x768"
          }
          ]
          }

          1. after running app give those error and killed

          root@am57xx-evm:~#
          root@am57xx-evm:~#
          root@am57xx-evm:~#
          root@am57xx-evm:~# ./titlePage
          No modes available for output "HDMI1"
          Cannot find EGLConfig, returning null config
          Killed

          Please need helpful.

          thanks & regards,
          Parth Patel

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            I do not own such a board. You should contact the company that builds them.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved