[Bug 111140] Buffer corruption with Chromium on gnome-shell (wayland) after taking a screenshot

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 15 22:52:29 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111140

            Bug ID: 111140
           Summary: Buffer corruption with Chromium on gnome-shell
                    (wayland) after taking a screenshot
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: lyude at redhat.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

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…

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190715/094ae599/attachment.html>


More information about the intel-3d-bugs mailing list