How to display 40 windows with around a hundred animated objects each in Qt Quick?

112 views Asked by At

We are attempting to display 40 windows, each containing almost the same UI, but displaying a different entity, with scene changes with animations happening every few seconds on each window. All of our tests have ended with the windows being drawn at 3 to 5 frames per second at between 10 and 20 windows open, on a reasonably old and low-powered discrete nVidia GPU and on Windows. Things we have tried:

  1. Disabling animations - performance improves, but not nearly enough
  2. CPU profiling - shows over 90% of the CPU time being spent in the system DLLs and the nVidia driver; on other machines, the CPU usage is not significant, but the frame rate is still low.
  3. QML profiling - The QT Creator profiling shows the render loop executing its steps at 60 fps and within a couple of milliseconds at most for each frame.
  4. Images/textures are loaded once to the GPU and never reloaded
  5. All the rendering backends - OpenGL, ANGLE and Qt Quick 2D Renderer - perform more or less the same

Is there something major we are missing?

0

There are 0 answers