From: bugzilla-daemon@freedesktop.org
Subject: [Bug 98278] Corrupted videos VA-API HW encoding radeonsi
Date: Mon, 17 Oct 2016 00:10:27 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0109890640=="
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 AE3696E1B6
for ; Mon, 17 Oct 2016 00:10:27 +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
--===============0109890640==
Content-Type: multipart/alternative; boundary="14766630270.BDcE.19520";
charset="UTF-8"
--14766630270.BDcE.19520
Date: Mon, 17 Oct 2016 00:10:27 +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 #12 from Christoph Haag ---
Thanks for your tips, quite some new information for me.
I am using this pipeline now:
gst-launch-1.0 -e ximagesrc display-name=3D:0 use-damage=3D0 startx=3D0 sta=
rty=3D0
endx=3D1919 endy=3D1079 ! multiqueue ! video/x-raw,format=3DBGRx,framerate=
=3D60/1 !
videoconvert ! video/x-raw,format=3DNV12,framerate=3D60/1 ! multiqueue !
vaapih264enc rate-control=3Dcqp bitrate=3D5000 ! video/x-h264,profile=3Dbas=
eline !
h264parse ! multiqueue ! matroskamux name=3Dmuxer. ! progressreport name=3D=
Rec_time
! filesink location=3Doutput.mkv
This one runs nicely and doesn't cause GPU hangs.
Are we using this bug report to talk about omx too?
This is my equivalent omx pipeline:
gst-launch-1.0 -e ximagesrc display-name=3D:0 use-damage=3D0 startx=3D0 sta=
rty=3D0
endx=3D1919 endy=3D1079 ! multiqueue ! video/x-raw,format=3DBGRx,framerate=
=3D60/1 !
videoconvert ! video/x-raw,format=3DNV12,framerate=3D60/1 ! multiqueue ! om=
xh264enc
control-rate=3D2 target-bitrate=3D11000000 ! h264parse ! multiqueue ! matro=
skamux
name=3Dmuxer. ! progressreport name=3DRec_time ! filesink location=3Doutput=
.mkv
omxregister-bellagio produces a broken ~/.omxregister for me, but it really
only needs to be a text file with two lines:
/usr/lib/bellagio/libomxvideosched.so
/usr/lib/bellagio/libomx_mesa.so
Sometimes (?) the gst-omx plugin is blacklisted. Check with gst-inspect-1.0=
|
grep omx whether there is something. If not, delete
~/.cache/gstreamer-1.0/registry.x86_64.bin and try again.
That's all I know about reasons omx may not be working.
For the performance, there is a chance you're also affected by bug 97075. T=
ry
running
vblank_mode=3D0 glxgears
and then starting the encoding. Make sure it's really not throttled to 60 f=
ps.
Either it improves the performance of the hardware encoder a lot or it does
nothing.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14766630270.BDcE.19520
Date: Mon, 17 Oct 2016 00:10:27 +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 # 12
on bug 98278<=
/a>
from Christoph Haag
Thanks for your tips, quite some new information for me.
I am using this pipeline now:
gst-launch-1.0 -e ximagesrc display-name=3D:0 use-damage=3D0 startx=3D0 sta=
rty=3D0
endx=3D1919 endy=3D1079 ! multiqueue ! video/x-raw,format=3DBGRx,framerate=
=3D60/1 !
videoconvert ! video/x-raw,format=3DNV12,framerate=3D60/1 ! multiqueue !
vaapih264enc rate-control=3Dcqp bitrate=3D5000 ! video/x-h264,profile=3Dbas=
eline !
h264parse ! multiqueue ! matroskamux name=3Dmuxer. ! progressreport name=3D=
Rec_time
! filesink location=3Doutput.mkv
This one runs nicely and doesn't cause GPU hangs.
Are we using this bug report to talk about omx too?
This is my equivalent omx pipeline:
gst-launch-1.0 -e ximagesrc display-name=3D:0 use-damage=3D0 startx=3D0 sta=
rty=3D0
endx=3D1919 endy=3D1079 ! multiqueue ! video/x-raw,format=3DBGRx,framerate=
=3D60/1 !
videoconvert ! video/x-raw,format=3DNV12,framerate=3D60/1 ! multiqueue ! om=
xh264enc
control-rate=3D2 target-bitrate=3D11000000 ! h264parse ! multiqueue ! matro=
skamux
name=3Dmuxer. ! progressreport name=3DRec_time ! filesink location=3Doutput=
.mkv
omxregister-bellagio produces a broken ~/.omxregister for me, but it really
only needs to be a text file with two lines:
/usr/lib/bellagio/libomxvideosched.so
/usr/lib/bellagio/libomx_mesa.so
Sometimes (?) the gst-omx plugin is blacklisted. Check with gst-inspect-1.0=
|
grep omx whether there is something. If not, delete
~/.cache/gstreamer-1.0/registry.x86_64.bin and try again.
That's all I know about reasons omx may not be working.
For the performance, there is a chance you're also affected by bug 97075. Try
running
vblank_mode=3D0 glxgears
and then starting the encoding. Make sure it's really not throttled to 60 f=
ps.
Either it improves the performance of the hardware encoder a lot or it does
nothing.
You are receiving this mail because:
- You are the assignee for the bug.
=
--14766630270.BDcE.19520--
--===============0109890640==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0109890640==--