From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 110140] Green bottom half of video frame when using JPEG
acceleration (vcn_v1_0_jpeg_ring_emit_fence() WARNING)
Date: Sun, 17 Mar 2019 22:16:30 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0981069925=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id B429489226
for ; Sun, 17 Mar 2019 22:16:29 +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
--===============0981069925==
Content-Type: multipart/alternative; boundary="15528609890.88775460.15078"
Content-Transfer-Encoding: 7bit
--15528609890.88775460.15078
Date: Sun, 17 Mar 2019 22:16:29 +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=3D110140
--- Comment #7 from Rafa=C5=82 Mi=C5=82ecki ---
Thanks for looking at this Leo!
Initially I didn't realize the consequences of your patch. I hopefully
understand it now.
Before the commit 36258308a794 ("st/va: fix the incorrect max profiles repo=
rt")
my Chromium was simply NOT USING any Video Acceleration. Chromium was
complaining with the 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
So your change didn't introduce any regression in JPEG hardware decoding. It
only exposed an existing bug by allowing Chromium to use Video Acceleration.
*****
Let me provide some new (hopefully useful) info on this problem:
1) This problem is clearly about the JPEG decoding. If I revert commit
55e7de7b1935 ("radeonsi: enable vcn jpeg decode for raven") from any recent
branch (18.3, 19.0 or master) the problem disappears.
2) The problem exists from the beginning. If I do:
git checkout 55e7de7b1935
git cherry-pick 36258308a794
git cherry-pick dafa02c980c1
I get a Chromium with working Video Acceleration AND half bottom of webcam
frames being green.
3) I tested few branches:
18.3: bottom half of webcam frames are green
19.0: whole webcam frames are green
master: whole webcam frames are green
As you can see things got worse with the 19.0 branch (frames are totally gr=
een
instead of half green). That regression was added by the commit 1b25d340b791
("radeonsi: use compute for resource_copy_region when possible"). Hopefully
this is some hint on what's wrong and what's causing the original problem.
*****
Leo: I didn't try any other players, I've yet to learn how to use JPEG hw
decoding with some other application/player.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15528609890.88775460.15078
Date: Sun, 17 Mar 2019 22:16:29 +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 # 7
on bug 11014=
0
from Rafa=C5=82 Mi=C5=82ecki
Thanks for looking at this Leo!
Initially I didn't realize the consequences of your patch. I hopefully
understand it now.
Before the commit 36258308a794 ("st/va: fix the incorrect max profiles=
report")
my Chromium was simply NOT USING any Video Acceleration. Chromium was
complaining with the 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
So your change didn't introduce any regression in JPEG hardware decoding. It
only exposed an existing bug by allowing Chromium to use Video Acceleration.
*****
Let me provide some new (hopefully useful) info on this problem:
1) This problem is clearly about the JPEG decoding. If I revert commit
55e7de7b1935 ("radeonsi: enable vcn jpeg decode for raven") from =
any recent
branch (18.3, 19.0 or master) the problem disappears.
2) The problem exists from the beginning. If I do:
git checkout 55e7de7b1935
git cherry-pick 36258308a794
git cherry-pick dafa02c980c1
I get a Chromium with working Video Acceleration AND half bottom of webcam
frames being green.
3) I tested few branches:
18.3: bottom half of webcam frames are green
19.0: whole webcam frames are green
master: whole webcam frames are green
As you can see things got worse with the 19.0 branch (frames are totally gr=
een
instead of half green). That regression was added by the commit 1b25d340b791
("radeonsi: use compute for resource_copy_region when possible").=
Hopefully
this is some hint on what's wrong and what's causing the original problem.
*****
Leo: I didn't try any other players, I've yet to learn how to use JPEG hw
decoding with some other application/player.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15528609890.88775460.15078--
--===============0981069925==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============0981069925==--