Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138390

Scene3D high CPU usage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.8, 6.9
    • Qt3D
    • None
    • macOS

      Using Scene3D component with RenderSettings' renderPolicy set to RenderSettings.OnDemand results in a high CPU usage on a still scene. When Qt3DQuickWindow is used instead, the issue is not there.

       

      The high CPU usage when Scene3D is used can be tested with the official example simplecustommaterial, but you will need to add `renderPolicy: RenderSettings.OnDemand` in SceneRoot's RenderSettings.

      For comparison, try the simple-qml example with the same OnDemand setting — it shows low CPU usage when using Qt3DQuickWindow.

       

      I also tried with a custom built Qt 6.8.2 with -DFEATURE_qt3d_rhi_renderer=ON and explicitly using RHI with metal

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            seanharmer Sean Harmer
            marin Marin Kajtazi
            Mike Krus Mike Krus
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes