<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 - Green video when playing a hevc video with vdpau"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111099">111099</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Green video when playing a hevc video with vdpau
</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/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pierre-eric.pelloux-prayer@amd.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>On AMD hardware (at least Polaris and Raven), playing some videos with vdpau
can result in a green screen.
Steps to reproduce:
- download <a href="https://www.libde265.org/hevc-bitstreams/bbb-1920x1080-cfg02.mkv">https://www.libde265.org/hevc-bitstreams/bbb-1920x1080-cfg02.mkv</a>
- use x11 (ie not wayland)
- mpv --vo=opengl --hwdec=vdpau bbb-1920x1080-cfg02.mkv
This is a regression that started with commit:
cb446dc0fa5c68f681108f4613560543aa4cf553 (from MR
<a href="https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1226">https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1226</a>)
Reverting the commits from this MR on master fixes the issue.
AFAIU the problem is this line:
/* do we have different screen objects ? */
if (res->screen != st->pipe->screen) {
_mesa_error(ctx, GL_INVALID_OPERATION, "VDPAUMapSurfacesNV")
Before this MR the screen objects were identical but now there are different.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>