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

Doublebuffering synchronization problems when moving images

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.12.5
    • Fix Version/s: None
    • Component/s: QPA: EGLFS
    • Labels:
      None
    • Environment:
      i.MX6 Quad, Kernel 4.9.88, Vivante drivers
    • Platform/s:
      Linux/Other display system

      Description

      This is a Quick application, running alone on the display. When I have a lot of images on the screen and move one of them (elevator effect) then this image visually stutters as if I see the framebuffers in wrong order on the display. The effect is triggered by an external button (read via serial line) and when I release that button the image should be hidden. What happens is that the image is hidden but shows up at least once again and then is really gone. The effect persists when I use greater values for FB_MULTI_BUFFER environment variable, just the timing changes.

      I have videos that show the behavior, but they are quite large so I can't upload them directly.

      My basic setup as shown in the picture:

      •  64 images, 135x135 pixels each on the left (static)
      • 1 image at the bottom 480x270, chaning contents every 3 seconds, C++ changes a property that has the source filename
      • one image that moves (the blue arrow right of the center)

      Please see the attached code for 2 ways I tried to get that effect working, both show the same behavior. If I reduce the number of images the problem mostly disappears.

        Attachments

        1. 20191030_165626.jpg
          20191030_165626.jpg
          843 kB
        2. animation.qml
          0.5 kB
        3. yanimator.qml
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes