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. QML performances issue
QtWS25 Last Chance

QML performances issue

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 4 Posters 2.7k Views
  • 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.
  • B Offline
    B Offline
    b737_800
    wrote on last edited by
    #1

    Hi everyone,

    I’m having a performance issue with a QT application using ControlledDeclarativeView (QT 4.7.4).
    I'v found that using ControlledDeclarativeView the display is refreshed every 1~2 sec either if nothing has changed in the scene. The unwanted refresh causes the CPU load to grow up to 90% in a periodic way.

    I'v checked many other QML applications and observed the same behavior. I'v checked that using Texas instrument PVRtune tool here after a screen capture (CPU load in red)
    @
    qtDeclarativeView w(QUrl("test.qml"));
    w.setViewport(new QGLWidget());
    w.show();
    @

    !http://www.freeimagehosting.net/4a345(QML cpu load)!

    http://www.freeimagehosting.net/4a345

    what could be the reason of such behavior ?

    Thanks in advance!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      What is ControlledDeclarativeView? Which hardware are you on? Does this problem apply to non-OpenGL applications as well?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        b737_800
        wrote on last edited by
        #3

        Thnaks,

        Controlled qDeclarativeView is a wrapper class which inherits from QDeclarativeView.
        My hardware is based on TI OMAP DM3730 with PowerVR SGX Graphic Core.
        I'v tested some non OpenGL applications the cpu load grows also periodically but at a maximum of 4-5%.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vncodex
          wrote on last edited by
          #4

          Any solution has been found?

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Have you tried "that":http://blog.rburchell.com/2011/11/avoiding-graphics-flicker-in-qt-qml.html? Maybe it will help. The same tip is also in QML documentation, but I don't have time to search for it right now.

            (Z(:^

            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