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

QtQuick Animator animations + threaded render loop bad performance on Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.6, 6.1.3
    • None
    • 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

            qt.team.graphics.and.multimedia Qt Graphics Team
            nowrep David Rosca
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes