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. Qt Quick, VRAM and performance.
Forum Updated to NodeBB v4.3 + New Features

Qt Quick, VRAM and performance.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 1.4k Views 2 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.
  • F Offline
    F Offline
    Fede Devi
    wrote on last edited by A Former User
    #1

    Hi, I am very new with Qt And I have a couple of questions about Qt Quick: I noticed an empty Qt Quick window on Windows uses ~200MB of VRAM when maximized at full HD resolution. I also encountered very bad performances (<10fps) on examples such as "customgeometry" using Qt Quick on old hardware (FirePRO 2660, 256MB VRAM) when maximizing the window. Are the two things correlated (the system switch to client side ram)? Why is Qt using so much vram just for an empty window and what causes the slowdowns? How does this translates in performance with mobile devices with little and slow shared ram? A full hd frame buffer should use around 6MB of VRAM with 24bit colors, even with triple buffering and other support buffers it is hard to understand how 200MB of vram are used. Please enlighten me, TY.

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

      Hi and welcome to devnet,

      You are missing some key information to get useful answers. i.e. what version of Qt are you using ? Are you using Qt Quick 1 or 2 ? Which backend are you using ? Desktop OpenGL or ANGLE ?

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

      F 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        You are missing some key information to get useful answers. i.e. what version of Qt are you using ? Are you using Qt Quick 1 or 2 ? Which backend are you using ? Desktop OpenGL or ANGLE ?

        F Offline
        F Offline
        Fede Devi
        wrote on last edited by Fede Devi
        #3

        @SGaist Hi and thank you.

        I'll try to answer to the best of my knowledge since I still know very little about QT.

        I'm using QT 5.8 On Windows 7 64bit. QT Quick 2.0 as for the "customgeometry" example project.
        Regarding the backend I'm not sure but I think it is plain OpenGL.
        What I know is that what I am using is basically a clean Windows default installation of QT and the untouched example project.

        I also encountered the same behaviour (to a lesser extent) on an Ubuntu machine equipped with a more recent Intel integrated GPU.

        Regards and thanks for the support.

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

          @jpnurmi Can you shed some light on this one please ?

          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
          • F Offline
            F Offline
            Fede Devi
            wrote on last edited by
            #5

            After some testing I noticed:

            • The VRAM usage depends also on the anti-aliasing samples and on the GPU driver settings, which makes sense.
            • A maximized (<1920x1080) empty (just an fps counter) qtquick 2 windows manage to do only 40 FPS on my hardware with opengl backend causing 100% GPU and CPU usage (1/4 core).
            • DirectX 12 backend fails to initialize.
            • Software backend initialize and attains 200fps (limited) on the empty fullHD window.

            Is QT copying the full frame buffer from and to the GPU for composition?

            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