From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 111099] Green video when playing a hevc video with vdpau Date: Wed, 10 Jul 2019 07:58:08 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0950250077==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3E5B06E062 for ; Wed, 10 Jul 2019 07:58:08 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0950250077== Content-Type: multipart/alternative; boundary="15627454881.1f6c.7149" Content-Transfer-Encoding: 7bit --15627454881.1f6c.7149 Date: Wed, 10 Jul 2019 07:58:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D111099 Bug ID: 111099 Summary: Green video when playing a hevc video with vdpau Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: pierre-eric.pelloux-prayer@amd.com QA Contact: dri-devel@lists.freedesktop.org On AMD hardware (at least Polaris and Raven), playing some videos with vdpau can result in a green screen. Steps to reproduce: - download https://www.libde265.org/hevc-bitstreams/bbb-1920x1080-cfg02.mkv - use x11 (ie not wayland) - mpv --vo=3Dopengl --hwdec=3Dvdpau bbb-1920x1080-cfg02.mkv This is a regression that started with commit: cb446dc0fa5c68f681108f4613560543aa4cf553 (from MR https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1226) 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 !=3D st->pipe->screen) { _mesa_error(ctx, GL_INVALID_OPERATION, "VDPAUMapSurfacesNV") Before this MR the screen objects were identical but now there are differen= t. --=20 You are receiving this mail because: You are the assignee for the bug.= --15627454881.1f6c.7149 Date: Wed, 10 Jul 2019 07:58:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 111099
Summary Green video when playing a hevc video with vdpau
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter pierre-eric.pelloux-prayer@amd.com
QA Contact dri-devel@lists.freedesktop.org

On AMD hardware (at least Polaris and Raven), playing some vid=
eos with vdpau
can result in a green screen.

Steps to reproduce:
- download https://www.libde265.org/hevc-bitstreams/bbb-1920x1080-cfg02.m=
kv
- use x11 (ie not wayland)
- mpv --vo=3Dopengl --hwdec=3Dvdpau bbb-1920x1080-cfg02.mkv

This is a regression that started with commit:
cb446dc0fa5c68f681108f4613560543aa4cf553 (from MR
ht=
tps://gitlab.freedesktop.org/mesa/mesa/merge_requests/1226)

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 !=3D st->pipe->screen) {
      _mesa_error(ctx, GL_INVALID_OPERATION, "VDPAUMapSurfacesNV")

Before this MR the screen objects were identical but now there are differen=
t.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15627454881.1f6c.7149-- --===============0950250077== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0950250077==--