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

Partial QML animation tearing on X11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4: Low
    • None
    • 5.4.2
    • None
    • Toradex Apalis T30 (Nvidia Tegra 3) with Toradex/Nvidia Linux 3.1 and Qt 5.4.2 build with Meta-Qt5 and Toradex V2.5b2 Yocto based build system.

    Description

      I am noticing some tearing with some QML 2 animations on my embedded Linux board. I doubt if this is a complete vsync issue because most of the animations are smooth but there are some animations that involve a lot of parallel motion and clipping that tear consistently. These animation come out torn as opposed to simply stuttering so I don't think it is completely a performance issue either. Though it might be caused by the system not being able to put out the necessary FPS to sync properly? The exact same application has no such trouble on my Haswell i7 PC.

      I have enabled QT_QPA_EGLFS_FORCEVSYNC to no effect and have not yet managed to find anything else that I can try. I should mention though that I am running EGLFS with an X11 backend (http://code.qt.io/cgit/qt/qtbase.git..._x11.cpp?h=5.4) as a result of the Nvidia drivers dictating the use of X11. I would assume that this means that I can't really use the FB related settings normally available with EGLFS.

      By setting QT_QPA_EGLFS_SWAPINTERVAL to 0 I can get the tearing to become a whole lot worse. This again suggests that I most likely do not have a whole system vsync issue.

      I am getting a "QSGContext::initialize: stencil buffer support missing, expect rendering errors" warning at the start of my application.

      If it makes any difference, my whole scene is rotated 270 degrees to change the orientation. Doing this in QML or with xrandr does not seem to make any difference to the tearing.

      Attachments

        Issue Links

          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
              gerharddc Gerhard de Clercq
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes