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: Thu, 08 Dec 2016 11:54:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1200853368==" 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 1DA7C6E73D for ; Thu, 8 Dec 2016 11:54:11 +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 --===============1200853368== Content-Type: multipart/alternative; boundary="14811980510.A195F8FC5.24889"; charset="UTF-8" --14811980510.A195F8FC5.24889 Date: Thu, 8 Dec 2016 11:54:11 +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 #39 from Andy Furniss --- While "normal" testing seems OK I've found a way to rarely get gstreamer to fail to allocate a buffer. ERROR vaapi gstvaapiencoder.c:341:gst_vaapi_encoder_put_frame: failed to allocate coded buffer ERROR vaapiencode gstvaapiencode.c:558:gst_vaapiencode_handle_frame: failed= to encode frame 559 (status -2) This was a mean test - transcoding a 1080p file repeatedly with a couple of scripts running that after random 1 to 20sec sleeps turn cpu/gpu from perf = to auto. As long as nothing else is happening the results are good, but if I say run= an opengl demo like Unigine Valley as well there's a chance that I get the abo= ve fail on say 1 out of 80 runs where a run is transcoding a 120 sec 24 fps sample. I can reproduce this with cbr, vbr or cqp and single instance - so maybe it should get its own bug .... Though using extreme tests to reproduce I initially noticed this without running gl as such =3D only glamor scrolling xterm very fast as I had a loa= d of printfs in the code. --=20 You are receiving this mail because: You are the assignee for the bug.= --14811980510.A195F8FC5.24889 Date: Thu, 8 Dec 2016 11:54:11 +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 # 39 on bug 98005<= /a> from Andy Furniss
While "normal" testing seems OK I've found a way to =
rarely get gstreamer to
fail to allocate a buffer.

ERROR vaapi gstvaapiencoder.c:341:gst_vaapi_encoder_put_frame: failed to
allocate coded buffer
ERROR vaapiencode gstvaapiencode.c:558:gst_vaapiencode_handle_frame: failed=
 to
encode frame 559 (status -2)

This was a mean test - transcoding a 1080p file repeatedly with a couple of
scripts running that after random 1 to 20sec sleeps turn cpu/gpu from perf =
to
auto.

As long as nothing else is happening the results are good, but if I say run=
 an
opengl demo like Unigine Valley as well there's a chance that I get the abo=
ve
fail on say 1 out of 80 runs where a run is transcoding a 120 sec 24 fps
sample.

I can reproduce this with cbr, vbr or cqp and single instance - so maybe it
should get its own bug ....

Though using extreme tests to reproduce I initially noticed this without
running gl as such =3D only glamor scrolling xterm very fast as I had a loa=
d of
printfs in the code.


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