Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Observed UI flickering on ARM target
Forum Updated to NodeBB v4.3 + New Features

Observed UI flickering on ARM target

Scheduled Pinned Locked Moved Solved QML and Qt Quick
16 Posts 4 Posters 3.0k 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.
  • SGaistS SGaist

    Could it be that you have the tty cursor that is blinking through your UI ?

    P Offline
    P Offline
    Praveen.Illa
    wrote on last edited by
    #7

    @SGaist
    I have disabled the tty cursor. Still, I could see flickering on UI.
    Below is the code, I have commented
    93403bbf-440a-4709-b716-4ea57499f618-image.png.

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

      Would it be possible to see the video of the flickering ?

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

      P 1 Reply Last reply
      0
      • SGaistS SGaist

        Would it be possible to see the video of the flickering ?

        P Offline
        P Offline
        Praveen.Illa
        wrote on last edited by Praveen.Illa
        #9

        @SGaist
        I am not able to attach the video in this forum. I am getting below error
        481e561b-587e-448d-9167-f1e4e39396fa-image.png

        So, I am attaching the image
        Flickering_Image_1.png

        Please refer to the attached image where the image in top right corner is the image of previous screen. It is displaying in fraction of seconds and goes off., and this flickering happens continuously

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

          Is it a widget or Qt quick application ?

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

          P 1 Reply Last reply
          0
          • P Praveen.Illa

            @SGaist
            I am not able to attach the video in this forum. I am getting below error
            481e561b-587e-448d-9167-f1e4e39396fa-image.png

            So, I am attaching the image
            Flickering_Image_1.png

            Please refer to the attached image where the image in top right corner is the image of previous screen. It is displaying in fraction of seconds and goes off., and this flickering happens continuously

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #11

            @Praveen-Illa add 10ms or maybe 5ms delay to this widget display to see if it helps. Also you need to call update explicitly if this widget is customized. Qt widgets update is not very clean on touch screen.

            1 Reply Last reply
            0
            • SGaistS SGaist

              Is it a widget or Qt quick application ?

              P Offline
              P Offline
              Praveen.Illa
              wrote on last edited by
              #12

              @SGaist
              It is a Qt Quick application

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

                Do you have the same issue with a minimal default application ?

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

                P 1 Reply Last reply
                0
                • SGaistS SGaist

                  Do you have the same issue with a minimal default application ?

                  P Offline
                  P Offline
                  Praveen.Illa
                  wrote on last edited by
                  #14

                  @SGaist Thank you for your response
                  I have resolved this issue by changing the graphics driver.
                  I am attaching the link below for others who are facing this kind of problem.

                  https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1060753/am4378-flickering-issue-on-qt-with-eglfs-instance

                  1 Reply Last reply
                  1
                  • P Offline
                    P Offline
                    PrajwalG99
                    wrote last edited by
                    #15

                    Hi @SGaist , I'm encountering a similar issue in our application — there's a brief flicker with a light white background whenever a button is clicked.

                    Here are the details of the machine -

                    Device Information

                    Kernel Version: 6.11.0-24-generic
                    Processor: Intel® Core™ i5-4570TE CPU @ 2.70GHz (4 threads, 2 cores, VT-x supported)
                    Resolution: 3840×2160 @ 60Hz (4K UHD)
                    SOC: Not explicitly listed, but the CPU is part of Intel's Haswell family, typically used in embedded or low-power systems.
                    GPU: NVIDIA Quadro P1000 (GP107GL), professional-grade graphics card with active nvidia driver
                    Display Driver: nvidia
                    Display Interface: X11 
                    OS: Ubuntu 24.04.1 LTS on an x86_64 architecture
                    Qt: QMake version 3.1, Using Qt version 6.5.3 in /opt/Qt/6.5.3/gcc_64/lib
                    Application is developed using qt widgets.

                    Also, how are you starting your application? ./start.sh
                    Are you using something like Wayland? No, it's - x11
                    What parameters are you using? -

                    QMAKE=/opt/Qt/6.5.3/gcc_64/bin/qmake
                    SHELL=/bin/bash
                    JAVA_HOME=/usr/local/jdk1.7.0_79
                    cmake=/usr/local/cmake-3.0.0
                    QT_PATH=/opt/Qt/6.5.3/gcc_64
                    mico_home=/sect/package/mico_2.3.13.1
                    mongodb=/sect/package/rpmapkgs/software/mongodb-v3.4.6/bin
                    PWD=/home/local
                    LOGNAME=local
                    XDG_SESSION_TYPE=tty
                    glc_home=/sect/package/libGLC
                    AGLCMSPATH=/home/local/aglcms
                    HOME=/home/local
                    LANG=en_US.UTF-8
                    QT6_PATH=/opt/Qt/6.5.3/gcc_64
                    SSH_CONNECTION=10.78.235.154 60587 10.78.235.167 22
                    CATALINA_BASE=/opt/tomcat
                    SSL_ENABLE=0
                    LESSCLOSE=/usr/bin/lesspipe %s %s
                    XDG_SESSION_CLASS=user
                    TERM=xterm
                    CATALINA_HOME=/opt/tomcat
                    LESSOPEN=| /usr/bin/lesspipe %s
                    USER=local
                    SHLVL=1
                    XDG_SESSION_ID=29
                    QT6_DIR=/opt/Qt/6.5.3/gcc_64/bin/
                    LD_LIBRARY_PATH=:/opt/Qt/6.5.3/gcc_64/lib:/opt/Qt/6.5.3/gcc_64/lib:/home/local/efps/lib/:/sect/package/mico_2.3.13.1/lib:/sect/package/libGLC/lib:/opt/Qt/6.5.3/gcc_64/lib:/opt/Qt/6.5.3/gcc_64/lib:/home/local/efps/lib/
                    XDG_RUNTIME_DIR=/run/user/1000
                    SSH_CLIENT=10.78.235.154 60587 22
                    DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
                    mysql_lib=/usr/lib64/mysql
                    host=bues3-sun9167
                    XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop
                    PATH=/opt/Qt/6.5.3/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/local/aglcms/bin:.:/home/local/bin:/home/local/aglcms/bin:.:/home/local/.local/bin:/home/local/bin:/home/local/aglcms/bin:.:/usr/lib64/mysql:/sect/package/cmake/bin:/usr/local/cmake-3.0.0:/usr/local/jdk1.7.0_79/bin/java:/opt/tomcat:/opt/tomcat:/sect/package/rpmapkgs/software/mongodb-v3.4.6/bin:/opt/Qt/6.5.3/gcc_64/bin/
                    DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
                    SSH_TTY=/dev/pts/9
                    _=/usr/bin/printenv

                    SGaistS 1 Reply Last reply
                    0
                    • P PrajwalG99

                      Hi @SGaist , I'm encountering a similar issue in our application — there's a brief flicker with a light white background whenever a button is clicked.

                      Here are the details of the machine -

                      Device Information

                      Kernel Version: 6.11.0-24-generic
                      Processor: Intel® Core™ i5-4570TE CPU @ 2.70GHz (4 threads, 2 cores, VT-x supported)
                      Resolution: 3840×2160 @ 60Hz (4K UHD)
                      SOC: Not explicitly listed, but the CPU is part of Intel's Haswell family, typically used in embedded or low-power systems.
                      GPU: NVIDIA Quadro P1000 (GP107GL), professional-grade graphics card with active nvidia driver
                      Display Driver: nvidia
                      Display Interface: X11 
                      OS: Ubuntu 24.04.1 LTS on an x86_64 architecture
                      Qt: QMake version 3.1, Using Qt version 6.5.3 in /opt/Qt/6.5.3/gcc_64/lib
                      Application is developed using qt widgets.

                      Also, how are you starting your application? ./start.sh
                      Are you using something like Wayland? No, it's - x11
                      What parameters are you using? -

                      QMAKE=/opt/Qt/6.5.3/gcc_64/bin/qmake
                      SHELL=/bin/bash
                      JAVA_HOME=/usr/local/jdk1.7.0_79
                      cmake=/usr/local/cmake-3.0.0
                      QT_PATH=/opt/Qt/6.5.3/gcc_64
                      mico_home=/sect/package/mico_2.3.13.1
                      mongodb=/sect/package/rpmapkgs/software/mongodb-v3.4.6/bin
                      PWD=/home/local
                      LOGNAME=local
                      XDG_SESSION_TYPE=tty
                      glc_home=/sect/package/libGLC
                      AGLCMSPATH=/home/local/aglcms
                      HOME=/home/local
                      LANG=en_US.UTF-8
                      QT6_PATH=/opt/Qt/6.5.3/gcc_64
                      SSH_CONNECTION=10.78.235.154 60587 10.78.235.167 22
                      CATALINA_BASE=/opt/tomcat
                      SSL_ENABLE=0
                      LESSCLOSE=/usr/bin/lesspipe %s %s
                      XDG_SESSION_CLASS=user
                      TERM=xterm
                      CATALINA_HOME=/opt/tomcat
                      LESSOPEN=| /usr/bin/lesspipe %s
                      USER=local
                      SHLVL=1
                      XDG_SESSION_ID=29
                      QT6_DIR=/opt/Qt/6.5.3/gcc_64/bin/
                      LD_LIBRARY_PATH=:/opt/Qt/6.5.3/gcc_64/lib:/opt/Qt/6.5.3/gcc_64/lib:/home/local/efps/lib/:/sect/package/mico_2.3.13.1/lib:/sect/package/libGLC/lib:/opt/Qt/6.5.3/gcc_64/lib:/opt/Qt/6.5.3/gcc_64/lib:/home/local/efps/lib/
                      XDG_RUNTIME_DIR=/run/user/1000
                      SSH_CLIENT=10.78.235.154 60587 22
                      DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
                      mysql_lib=/usr/lib64/mysql
                      host=bues3-sun9167
                      XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop
                      PATH=/opt/Qt/6.5.3/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/local/aglcms/bin:.:/home/local/bin:/home/local/aglcms/bin:.:/home/local/.local/bin:/home/local/bin:/home/local/aglcms/bin:.:/usr/lib64/mysql:/sect/package/cmake/bin:/usr/local/cmake-3.0.0:/usr/local/jdk1.7.0_79/bin/java:/opt/tomcat:/opt/tomcat:/sect/package/rpmapkgs/software/mongodb-v3.4.6/bin:/opt/Qt/6.5.3/gcc_64/bin/
                      DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
                      SSH_TTY=/dev/pts/9
                      _=/usr/bin/printenv

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote last edited by
                      #16

                      @PrajwalG99 hi and welcome to devnet,

                      Might be a silly question but why not use the Qt 6 version that comes with your distribution ?

                      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