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

QtQuick animation speed is tied to framerate

    XMLWordPrintable

Details

    • Linux/X11

    Description

      After updating QMLBench to disable vsync, it has become apparent that animation speed is tied to frame time, not clock time. With vsync disabled, animations are clearly faster or slower depending on the framerate of the rendered scene.

       

      This occurs with both 2d and 3d benchmarks, and the issue is apparent when running at <60fps as well, meaning that animations will vary in speed with an application's ability to achieve the reference 60fps. This also implies that animations would run at half speed on a 30hz display, and double speed or more on a high refresh rate display.

      Attachments

        1. 171Fps-1.m4v
          4.71 MB
        2. 60Fps-1.m4v
          5.79 MB
        3. image-2021-03-31-11-52-46-555.png
          image-2021-03-31-11-52-46-555.png
          73 kB
        4. image-2021-04-01-13-52-38-117.png
          image-2021-04-01-13-52-38-117.png
          171 kB

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: