GStreamer with OpenGL creates an empty "OpenGL Renderer" window on Wayland
Describe your issue
GStreamer with OpenGL creates an empty "OpenGL Renderer" window on Wayland. This can be seen with GNOME Shell's built-in screen recorder. We have worked around it with commit https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/575ba13b9b4efa40f07d57d87d50d8f0466f2e16, so for accurate testing this commit needs to be reverted locally.
Expected Behavior
GStreamer creates an offscreen surface for rendering.
Observed Behavior
GStreamer creates an empty, onscreen surface for rendering.
Setup
- Operating System: Arch Linux (reproducible on any Wayland system)
- Device: Computer
- GStreamer Version: 1.20 & 1.22
Steps to reproduce the bug
- On a Wayland system, open a terminal
- Type
gst-launch-1.0 gltestsrc ! gldownload ! waylandsink
- Notice the extra "OpenGL Renderer" window
How reproducible is the bug?
Always reproducible