Buffer corruption with Chromium on gnome-shell (wayland) after taking a screenshot
@lyudess
Submitted by Lyude Paul Assigned to Intel 3D Bugs Mailing List
Link to original bug (#111140)
Description
So: while viewing a video in Chromium in full screen mode, taking a screenshot of only the window (using Alt+PrintScr) on gnome-shell on Wayland causes some rather hilarious buffer corruption. From the looks of it, only one of the two buffers Xwayland is using get corrupted, causing a rather jarring flickering effect. See the example video here: https://people.freedesktop.org/~lyudess/archive/07-15-2019/VID_20190712_172307.mp4
So far I've managed to confirm this is indeed a hardware acceleration issue, as disabling hardware acceleration seems to fix the issue. Additionally, this issue seems to be specific to intel - I haven't managed to reproduce it with AMD. Note however, the only environment I've managed to reproduce this in is gnome-shell 3.32.2 on Wayland.
The trigger for this seems to be:
- Start playing a video with chromium
- Put the window into full screen mode
- Grab a screenshot of the window using alt + PrintScr (grabbing the whole desktop or a portion of it won't work)
- Shield your eyes as your screen starts flickering
There's also a downstream bug for this on Fedora 30 now opened:
https://bugzilla.redhat.com/show_bug.cgi?id=1729613
Hopefully this doesn't end up being some random gnome-shell or Xwayland issue…
Version: git