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

QOpenGL renders transparency with ghosting under Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.1
    • GUI: OpenGL, QPA: Wayland
    • None
    • Arch Linux, GNOME 47
    • Linux/Wayland

    Description

      Running slightly modified Hellogl2 example under Wayland produces ghosting-like effect, but only on Wayland (forcing X11 through QT_QPA_PLATFORM=xcb doesn't produce this issue). Issue is not visible on screen recordings or apitrace captures, so I had to resort to recording my screen with a camera. This effect is mostly visible on edges of objects.

      For your convenience, I uploaded minimal app here: https://github.com/frysztak/qopengl-wayland-ghosting. The only difference from original hellogl2 sample is this line, changing alpha from 1.0 to 0.5: https://github.com/frysztak/qopengl-wayland-ghosting/blob/76c901e0077e7ce01bcbb6dca27b413086580f0b/glwidget.cpp#L142

       

      This issue is known to affect at least 3 FOSS apps using Qt:

      Possibly related issue: https://bugreports.qt.io/browse/QTBUG-110014

      Attachments

        1. openglwidget.jpg
          openglwidget.jpg
          255 kB
        2. repro.mp4
          18.09 MB

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              frysztak Sebastian Frysztak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes