From: bugzilla-daemon@freedesktop.org Subject: [Bug 98278] Corrupted videos VA-API HW encoding radeonsi Date: Sun, 16 Oct 2016 19:05:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1911352407==" 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 A754E89A61 for ; Sun, 16 Oct 2016 19:05:18 +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 --===============1911352407== Content-Type: multipart/alternative; boundary="14766447180.04E2F5.30172"; charset="UTF-8" --14766447180.04E2F5.30172 Date: Sun, 16 Oct 2016 19:05:18 +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=3D98278 --- Comment #7 from Andy Furniss --- (In reply to Andy Furniss from comment #6) > (In reply to Andy Furniss from comment #5) > > (In reply to Andy Furniss from comment #4) > > > Since recentish mesa change you have to set the env > > >=20 > > > VAAPI_DISABLE_INTERLACE=3D1 > >=20 > > You will still need to feed the encoder NV12 as well. >=20 > Though I420 will work, it may be better to let gstreamer convert the BGRx= as > it may be faster than letting the driver do it. The driver will just use C > gstreamer may (or may not) use SIMD. LOL fail post, to clarify, the driver will not convert BGRx to anything (wo= uld be a nice feature if the GPU could do it). If you tell gstreamer to convert BGRx to I420 then the driver will just cha= nge it to nv12 using CPU C code, so you may as well tell gstreamer to convert t= o=20 NV12 in the first place. --=20 You are receiving this mail because: You are the assignee for the bug.= --14766447180.04E2F5.30172 Date: Sun, 16 Oct 2016 19:05:18 +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

Comment= # 7 on bug 98278<= /a> from Andy Furniss
(In reply to Andy Furniss from comment #6)
> (In reply to Andy Furniss from comment #5)
> > (In reply to Andy Furniss from comment #4)
> > > Since recentish mesa change you have to set the env
> > >=20
> > > VAAPI_DISABLE_INTERLACE=3D1
> >=20
> > You will still need to feed the encoder NV12 as well.
>=20
> Though I420 will work, it may be better to let gstreamer convert the B=
GRx as
> it may be faster than letting the driver do it. The driver will just u=
se C
> gstreamer may (or may not) use SIMD.

LOL fail post, to clarify, the driver will not convert BGRx to anything (wo=
uld
be a nice feature if the GPU could do it).

If you tell gstreamer to convert BGRx to I420 then the driver will just cha=
nge
it to nv12 using CPU C code, so you may as well tell gstreamer to convert t=
o=20
NV12 in the first place.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14766447180.04E2F5.30172-- --===============1911352407== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1911352407==--