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

Qt Quick does not rate limit on macOS 10.14 when using the threaded render loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.6, 5.9, 5.11
    • Quick: SceneGraph
    • None
    • macOS

    Description

       Animations run at 200% speed (at least) with corresponding increased CPU usage.

      This happens when using layer-backed QWindow/QNSView, which is reported to be the default on 10.14 Mojave, and which is also enabled for the Qt dev branch. To reproduce elsewhere set QT_MAC_WANTS_LAYER=1.

      We're investigating the scope for this. It can bee seen in at least:

      • examples/quick/shadereffects
      • examples/quick/animation

      Possible solutions/workarounds:

      • Use the basic render loop, in combination with CVDisplayLink-driven updates.
      • Fix the threaded render loop

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              sorvig Morten Sørvig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes