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

QtQuick animation speed is tied to framerate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 6.0, 6.1, 6.2
    • Fix Version/s: None
    • Component/s: Quick: SceneGraph
    • Labels:
      None
    • Environment:
      Ubunutu 20.04, Nvidia GT 1030
    • Platform/s:
      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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes