<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Buffer corruption with Chromium on gnome-shell (wayland) after taking a screenshot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111140">111140</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Buffer corruption with Chromium on gnome-shell (wayland) after taking a screenshot
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lyude@redhat.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="https://people.freedesktop.org/~lyudess/archive/07-15-2019/VID_20190712_172307.mp4">https://people.freedesktop.org/~lyudess/archive/07-15-2019/VID_20190712_172307.mp4</a>
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:
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1729613">https://bugzilla.redhat.com/show_bug.cgi?id=1729613</a>
Hopefully this doesn't end up being some random gnome-shell or Xwayland issue…</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>