From: bugzilla-daemon@freedesktop.org Subject: [Bug 109080] Broken VP9 video playback colors on AMD Ryzen 5 (PRO) Mobile 2500U in Chromium Date: Sun, 17 Mar 2019 18:01:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0494315235==" 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 6FF9D89789 for ; Sun, 17 Mar 2019 18:01:14 +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 --===============0494315235== Content-Type: multipart/alternative; boundary="15528456730.CdEd1906.22661" Content-Transfer-Encoding: 7bit --15528456730.CdEd1906.22661 Date: Sun, 17 Mar 2019 18:01: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=3D109080 --- Comment #4 from Rafa=C5=82 Mi=C5=82ecki --- Hey Boyuan, thanks for looking at this issue! I agree it's quite confusing, but I final= ly found out what's going on. ***** Let me provide a new summary of Mesa releases & this problem: 1) Accelerated VP9 decoding in Chromium is broken with 18.1 & 18.2. 2) Video Acceleration DOESN'T WORK in Chromium with 18.3.0 - 18.3.3 3) Accelerated VP9 decoding in Chromium is broken with 18.3.4 & 19.0. By "broken" I mean corrupted colors. ***** Earlier confusion was due to the commit 55e7de7b1935 ("radeonsi: enable vcn jpeg decode for raven") EXPOSING a bug 109107 which was related to reporting profiles. That commit STOPPED Chromium from using Video Acceleration and ma= de it report following errors: [21202:21202:0317/122002.223002:ERROR:vaapi_wrapper.cc(587)] : vaQueryConfigProfiles returned: 14 [21202:21202:0317/122002.223045:ERROR:vaapi_wrapper.cc(587)] : vaQueryConfigProfiles returned: 14 Bug 109107 got fixed with the commit 21cdb828a3f4 ("st/va: fix the incorrect max profiles report") and since then: 1) Chromium uses Video Acceleration again 2) I see corrupted VP9 YouTube colors again So the commit 55e7de7b1935 ("radeonsi: enable vcn jpeg decode for raven") DIDN'T FIX anything but has only hidden the original problem. It stopped Chromium from using Video Acceleration including VP9 hardware decoding. ***** The problem is still there (in the 18.3.4, 19.0 and master) and needs to be fixed :( --=20 You are receiving this mail because: You are the assignee for the bug.= --15528456730.CdEd1906.22661 Date: Sun, 17 Mar 2019 18:01: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

Commen= t # 4 on bug 10908= 0 from Rafa=C5=82 Mi=C5=82ecki
Hey Boyuan,

thanks for looking at this issue! I agree it's quite confusing, but I final=
ly
found out what's going on.

*****

Let me provide a new summary of Mesa releases & this problem:

1) Accelerated VP9 decoding in Chromium is broken with 18.1 & 18.2.
2) Video Acceleration DOESN'T WORK in Chromium with 18.3.0 - 18.3.3
3) Accelerated VP9 decoding in Chromium is broken with 18.3.4 & 19.0.

By "broken" I mean corrupted colors.

*****

Earlier confusion was due to the commit 55e7de7b1935 ("radeonsi: enabl=
e vcn
jpeg decode for raven") EXPOSING a bug 109107 which was related to re=
porting
profiles. That commit STOPPED Chromium from using Video Acceleration and ma=
de
it report following errors:
[21202:21202:0317/122002.223002:ERROR:vaapi_wrapper.cc(587)] :
vaQueryConfigProfiles returned: 14
[21202:21202:0317/122002.223045:ERROR:vaapi_wrapper.cc(587)] :
vaQueryConfigProfiles returned: 14

Bug 109107 got fixed with the comm=
it 21cdb828a3f4 ("st/va: fix the incorrect
max profiles report") and since then:
1) Chromium uses Video Acceleration again
2) I see corrupted VP9 YouTube colors again

So the commit 55e7de7b1935 ("radeonsi: enable vcn jpeg decode for rave=
n")
DIDN'T FIX anything but has only hidden the original problem. It stopped
Chromium from using Video Acceleration including VP9 hardware decoding.

*****

The problem is still there (in the 18.3.4, 19.0 and master) and needs to be
fixed :(


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