From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98005] VCE dual instance encoding inconsistent since st/va: enable dual instances encode by sync surface Date: Mon, 28 Nov 2016 23:47:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0854388689==" 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 046386E604 for ; Mon, 28 Nov 2016 23:47:59 +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 --===============0854388689== Content-Type: multipart/alternative; boundary="14803768780.7dce62dB.7140"; charset="UTF-8" --14803768780.7dce62dB.7140 Date: Mon, 28 Nov 2016 23:47:58 +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=3D98005 --- Comment #33 from Andy Furniss --- (In reply to Boyuan Zhang from comment #32) > Hi Andy, >=20 > To summarise your test results, basically you saw the following 3 issues > with CQP, is it correct? >=20 > - Issue #1. For large clip, sometime you can "invalid GstVaapiCodedBuffer > size (0 bytes)" error. Turns out I don't need a large clip. Just running the transcode test above but with vaapih264enc rate-control=3D= cqp init-qp=3D30 may give this error. > - Issue #2. Random corruption observed when using CQP. Corruption issue is > gone after disable the statement Issue 1 and 2 are gone with that disabled. > "if (context->desc.h264enc.rate_ctrl.rate_ctrl_method > !=3DPIPE_H264_ENC_RATE_CONTROL_METHOD_DISABLE" > - Issue #3. Encoding speed is twice faster when setting QP<=3D28 This one was my fault because I forgot to put a ! queue ! in my command and= is nothing to do with the patches/not a real issue. > So far I'm lucky enough that my test haven't trigger any of the issue yet= . I > will spend more time to try from my side. Again, if you could share the > commands you were using to trigger the above 3 issue, that would be very > appreciated. >=20 > In the meantime, I would like to push the 2 patches to upstream first. > Because this two patches don't change the behaviour of CQP, but only fixi= ng > VBR/CBR. Therefore, I believe CQP fix should be apart from these 2 patche= s. CQP works perfectly with vanilla mesa, it is broken by patch 1. --=20 You are receiving this mail because: You are the assignee for the bug.= --14803768780.7dce62dB.7140 Date: Mon, 28 Nov 2016 23:47:58 +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 # 33 on bug 98005<= /a> from Andy Furniss
(In reply to Boyuan Zhang from comment #32)
> Hi Andy,
>=20
> To summarise your test results, basically you saw the following 3 issu=
es
> with CQP, is it correct?
>=20
> - Issue #1. For large clip, sometime you can "invalid GstVaapiCod=
edBuffer
> size (0 bytes)" error.

Turns out I don't need a large clip.

Just running the transcode test above but with vaapih264enc rate-control=3D=
cqp
init-qp=3D30 may give this error.

> - Issue #2. Random corruption observed when usin=
g CQP. Corruption issue is
> gone after disable the statement

Issue 1 and 2 are gone with that disabled.

> "if (context->desc.h264enc.rate_ctrl.rat=
e_ctrl_method
> !=3DPIPE_H264_ENC_RATE_CONTROL_METHOD_DISABLE"
> - Issue #3. Encoding speed is twice faster when setting QP<=3D28

This one was my fault because I forgot to put a ! queue ! in my command and=
 is
nothing to do with the patches/not a real issue.

> So far I'm lucky enough that my test haven't tri=
gger any of the issue yet. I
> will spend more time to try from my side. Again, if you could share the
> commands you were using to trigger the above 3 issue, that would be ve=
ry
> appreciated.
>=20
> In the meantime, I would like to push the 2 patches to upstream first.
> Because this two patches don't change the behaviour of CQP, but only f=
ixing
> VBR/CBR. Therefore, I believe CQP fix should be apart from these 2 pat=
ches.

CQP works perfectly with vanilla mesa, it is broken by patch 1.


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