Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-312

Flickering/Glitching when hardware layers are enabled

    XMLWordPrintable

Details

    Description

      A customer observed flickering in their project when enabling hardware layers. The attached example attempts to make the flickering as obvious as possible.

       

      Test Parameters

        Test 1 Test 2
      Top ItemLayer.height 50 100
      Top ItemLayer.depth Bpp16Alpha Bpp32Alpha
      Top ItemLayer.refreshInterval 1 1
      Mid ItemLayer.height 480 480
      Mid ItemLayer.depth Bpp32Alpha Bpp32Alpha
      Mid ItemLayer.refreshInterval 2 2
      Bottom ItemLayer.height 131 250
      Bottom ItemLayer.depth Bpp32Alpha Bpp32Alpha
      Bottom ItemLayer.refreshInterval 4 4

       

      Steps to reproduce

      1. Run the attached project (Test 1 parameters are in the code)
      2. Modify the parameters in Layers_Flicker_Demo.qml to match the Test 2 parameters
      3. Re-run the project

       

      Outcomes

      • Test 1: No flicker on screen is observed (Expected)
      • Test 2: Flickering/glitching is observed (Not expected)

      The attached video shows the flickering/glitching, which is quite noticeable in the bottom (green) layer.

       

      Notes

      • This test must be done on a real board that supports hardware layers. Running it on the desktop kit will produce a very unpleasant strobing effect.
      • The customer noted that generally, some layers when split between VRAM and external RAM seem to flicker.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes