Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Mouse Cursor movement becomes slow when using QtCharts
Forum Updated to NodeBB v4.3 + New Features

Mouse Cursor movement becomes slow when using QtCharts

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 2 Posters 3.2k 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.
  • T Offline
    T Offline
    Tirupathi Korla
    wrote on last edited by
    #1

    Hi,
    We are running Qt application that consists on only one QtChart on embedded platform. When we run the application on 4k monitor with one QtChart which covers whole screen, we observed the mouse cursor movement becomes slow (QtChart it plots 4096 points). We also tried without plotting the points and see no change in the mouse cursor movement. But when we reduce the size of the QtChart to some fixed size (say 100x100), the mouse cursor movement is smooth. Could anyone give us some clue to fix the issue in full screen.

    Thanks
    Tirupathi

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

      Hi,

      What embedded platform are you using ?

      Generating and drawing 4k images are pretty expensive operations It might be just that your device is underpowered for that task.

      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
      1
      • T Offline
        T Offline
        Tirupathi Korla
        wrote on last edited by
        #3

        @SGaist , we are using embedded QT on ZynqMP platform. Here are few more scenarios we observed.

        • We added a full hd image to our application and we see no delay in mouse movement.
        • Adding QtChart to full screen (without plotting any points on it) made mouse movement slow.

        Thanks

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

          What are the specs of that platform ?

          Do you have a GPU with it ?

          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
          • T Offline
            T Offline
            Tirupathi Korla
            wrote on last edited by
            #5

            yes. It has GPU.

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

              Again, having the specification of your system at hand would be very useful. Not all GPU/CPU combo are equal.

              e.g. a RaspberryPi 1 can't really compare to a Jetson TK1.

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

              T 1 Reply Last reply
              0
              • SGaistS SGaist

                Again, having the specification of your system at hand would be very useful. Not all GPU/CPU combo are equal.

                e.g. a RaspberryPi 1 can't really compare to a Jetson TK1.

                T Offline
                T Offline
                Tirupathi Korla
                wrote on last edited by
                #7

                @SGaist, Here is the link to the spec https://www.xilinx.com/support/documentation/product-briefs/zynq-ultrascale-plus-product-brief.pdf. we are using EG device.

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

                  While the dedicated video codec unit might be able to handle 4k, the GPU works at max 1080p.

                  You need to take that into account when using OpenGL (what the QtChart module does)

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

                  T 1 Reply Last reply
                  1
                  • T Offline
                    T Offline
                    Tirupathi Korla
                    wrote on last edited by
                    #9

                    ok.
                    Thanks for the information @SGaist

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      While the dedicated video codec unit might be able to handle 4k, the GPU works at max 1080p.

                      You need to take that into account when using OpenGL (what the QtChart module does)

                      T Offline
                      T Offline
                      Tirupathi Korla
                      wrote on last edited by Tirupathi Korla
                      #10

                      @SGaist Do you mean 1080p buffer size? coz GPU renders texture and not dependent on resolution. Can we get any spec for this if any?

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

                        It's written in your device documentation that the GPU renders at 1080p.

                        That doesn't mean you can't process larger texture. Like you can write a text line a 1000 word long, your screen won't show the complete line but you still can write it.

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

                        T 1 Reply Last reply
                        1
                        • SGaistS SGaist

                          It's written in your device documentation that the GPU renders at 1080p.

                          That doesn't mean you can't process larger texture. Like you can write a text line a 1000 word long, your screen won't show the complete line but you still can write it.

                          T Offline
                          T Offline
                          Tirupathi Korla
                          wrote on last edited by
                          #12

                          Thanks @SGaist

                          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