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

AnimatedImage use significant amount of GPU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.4.0
    • None
    • macOS

      AnimatedImage appears to use a very large amount of GPU memory.

      By adding just four GIFs to a QML scene GPU usage can jump to over 1.5GB.

      I've attached a project which should work as a minimum reproduction example. The project allows you to select a gif file and load it to four AnimatedImage components in a grid.

      After loading them the MacOS ActivityMonitor shows significant amount of GPU usage, in my case it was 1.47GB

       

       

        1. image-2023-03-21-14-06-06-690.png
          image-2023-03-21-14-06-06-690.png
          221 kB
        2. main.qml
          1 kB
        3. Screenshot 2023-03-21 at 13.40.47.png
          Screenshot 2023-03-21 at 13.40.47.png
          29 kB
        4. testgif.gif
          testgif.gif
          8.82 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            duodargel.cordeperil Siarhei Darhel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes