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==-- 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 08:00:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1028048692==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F5FF6E0AF for ; Wed, 10 Jul 2019 08:00:13 +0000 (UTC) In-Reply-To: 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 --===============1028048692== Content-Type: multipart/alternative; boundary="15627456133.57fCcb6f8.8554" Content-Transfer-Encoding: 7bit --15627456133.57fCcb6f8.8554 Date: Wed, 10 Jul 2019 08:00:13 +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 Pierre-Eric Pelloux-Prayer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christian.koenig@amd.com, | |michel@daenzer.net, | |tom.stdenis@amd.com Keywords| |bisected, regression --=20 You are receiving this mail because: You are the assignee for the bug.= --15627456133.57fCcb6f8.8554 Date: Wed, 10 Jul 2019 08:00:13 +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 Pierre-Eric Pel= loux-Prayer changed bug 11109= 9
What Removed Added
CC   christian.koenig@amd.com, michel@daenzer.net, tom.st= denis@amd.com
Keywords   bisected, regression


You are receiving this mail because:
  • You are the assignee for the bug.
= --15627456133.57fCcb6f8.8554-- --===============1028048692== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1028048692==-- 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 08:03:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1119361211==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7BAD66E0BC for ; Wed, 10 Jul 2019 08:03:39 +0000 (UTC) In-Reply-To: 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 --===============1119361211== Content-Type: multipart/alternative; boundary="15627458194.B94ff.8554" Content-Transfer-Encoding: 7bit --15627458194.B94ff.8554 Date: Wed, 10 Jul 2019 08:03:39 +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 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- CC|michel@daenzer.net | --- Comment #1 from Michel D=C3=A4nzer --- Thanks Pierre for tracking this down and for filing the report. Removing my= self from the CC list, the one copy of updates I get from the dri-devel mailing = list is enough. :) --=20 You are receiving this mail because: You are the assignee for the bug.= --15627458194.B94ff.8554 Date: Wed, 10 Jul 2019 08:03:39 +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 = Michel D=C3=A4nzer changed bug 11109= 9
What Removed Added
CC michel@daenzer.net  

Commen= t # 1 on bug 11109= 9 from Michel D=C3=A4nzer
Thanks Pierre for tracking this down and for filing the report=
. Removing myself
from the CC list, the one copy of updates I get from the dri-devel mailing =
list
is enough. :)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15627458194.B94ff.8554-- --===============1119361211== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1119361211==-- 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 11:03:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0820303797==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 12C1D89F31 for ; Wed, 10 Jul 2019 11:03:07 +0000 (UTC) In-Reply-To: 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 --===============0820303797== Content-Type: multipart/alternative; boundary="15627565870.FA3a.31789" Content-Transfer-Encoding: 7bit --15627565870.FA3a.31789 Date: Wed, 10 Jul 2019 11:03:07 +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 --- Comment #2 from Michel D=C3=A4nzer --- Created attachment 144748 --> https://bugs.freedesktop.org/attachment.cgi?id=3D144748&action=3Dedit Proof-of-concept fix Does this help for you? Note that I can only reproduce this if I artificially disable st_vdpau_video/output_surface_dma_buf(). Might be worth looking into why th= ose aren't working for you. --=20 You are receiving this mail because: You are the assignee for the bug.= --15627565870.FA3a.31789 Date: Wed, 10 Jul 2019 11:03:07 +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

Commen= t # 2 on bug 11109= 9 from Michel D=C3=A4nzer
Created attachment 144748 [details] [review]
Proof-of-concept fix

Does this help for you?

Note that I can only reproduce this if I artificially disable
st_vdpau_video/output_surface_dma_buf(). Might be worth looking into why th=
ose
aren't working for you.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15627565870.FA3a.31789-- --===============0820303797== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0820303797==-- 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 11:39:27 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0666582023==" 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 DC6C789836 for ; Wed, 10 Jul 2019 11:39:26 +0000 (UTC) In-Reply-To: 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 --===============0666582023== Content-Type: multipart/alternative; boundary="15627587662.bFF8BA5e.4861" Content-Transfer-Encoding: 7bit --15627587662.bFF8BA5e.4861 Date: Wed, 10 Jul 2019 11:39:26 +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 --- Comment #3 from Pierre-Eric Pelloux-Prayer --- (In reply to Michel D=C3=A4nzer from comment #2) > Created attachment 144748 [details] [review] > Proof-of-concept fix >=20 > Does this help for you? >=20 Yes the patch fixes the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= --15627587662.bFF8BA5e.4861 Date: Wed, 10 Jul 2019 11:39:26 +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

Commen= t # 3 on bug 11109= 9 from Pierre= -Eric Pelloux-Prayer
(In reply to Michel D=C3=A4nzer from comment #2)
> Created attac=
hment 144748 [details] [review] [re=
view]
> Proof-of-concept fix
>=20
> Does this help for you?
> 

Yes the patch fixes the issue.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15627587662.bFF8BA5e.4861-- --===============0666582023== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0666582023==-- 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: Tue, 23 Jul 2019 14:53:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1868654521==" 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 766866E2D2 for ; Tue, 23 Jul 2019 14:53:38 +0000 (UTC) In-Reply-To: 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 --===============1868654521== Content-Type: multipart/alternative; boundary="15638936180.a54271.2265" Content-Transfer-Encoding: 7bit --15638936180.a54271.2265 Date: Tue, 23 Jul 2019 14:53:38 +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 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Michel D=C3=A4nzer --- Thanks for the report, fixed by https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1364 . --=20 You are receiving this mail because: You are the assignee for the bug.= --15638936180.a54271.2265 Date: Tue, 23 Jul 2019 14:53:38 +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 = Michel D=C3=A4nzer changed bug 11109= 9
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED


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