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

Simple animation driver constantly repaints every window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7
    • None
    • Linux/NixOS (nixpkgs rev 5710852ba686cc1fd0d3b8e22b3117d43ba374c2)
      Wayland/Hyprland (rev 5e7925eaeba474cfc283e26b7aa3426ec97424f7)

    Description

      The simple animation driver, enabled with QSG_USE_SIMPLE_ANIMATION_DRIVER=1, causes repaints of every surface when any surface needs to animate. This is important because the normal animation driver cannot be used when working with multiple windows, or animations will be extremely glitchy and visually unappealing.

      I found this issue due to my GPU overheating and crashing my laptop, from opening the popup with a frameanimation shown in the attached usecase.mp4, where 5 windows (some not pictured) are refreshing far more often than they need to.

      You can test this yourself with the attached animdriver.qml (shown in demo.mp4).

      $ QSG_USE_SIMPLE_ANIMATION_DRIVER=1 QSG_VISUALIZE=batches qml animdriver.qml

      QSG_VISUALIZE=changes shows only the expected area changing, both in the demo and my full use case.

      Attachments

        1. animdriver.qml
          0.4 kB
        2. demo.mp4
          6.41 MB
        3. usecase.mp4
          27.03 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jirauser69088 user-b4e76 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes