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

QtQuick Animator animations + threaded render loop bad performance on Wayland

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.6, 6.1.3
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Linux/Wayland

      Description

      This is same as QTBUG-72578 which was closed, but the bad performance is still there.

      Any QML scene with Animator animations will stutter heavily on Wayland when used with threaded render loop. Switching to basic render loop fixes the performance. It only happens on Wayland platform (under any compositor - tested under weston, sway and QtWaylandCompositor), works perfectly fine with threaded render loop on xcb, eglfs, etc.

      Attached is an example that will trigger the issue - simply try to scroll inside the window.

      # Choppy animation
      QSG_RENDER_LOOP=threaded ./scene6
      
      # Smooth animation
      QSG_RENDER_LOOP=basic ./scene6
      

        Attachments

        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:
            nowrep David Rosca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes