From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109538] VAAPI HEVC encoding is unstable and produces garbled output Date: Sun, 03 Feb 2019 12:57:55 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0021430307==" 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 700686E2BE for ; Sun, 3 Feb 2019 12:57:55 +0000 (UTC) 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 --===============0021430307== Content-Type: multipart/alternative; boundary="15491986750.CDa6046D.604" Content-Transfer-Encoding: 7bit --15491986750.CDa6046D.604 Date: Sun, 3 Feb 2019 12:57:55 +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=3D109538 Bug ID: 109538 Summary: VAAPI HEVC encoding is unstable and produces garbled output Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: tempel.julian@gmail.com Do ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i 1080p_h.264_60fps.mp4 -c:v hevc_vaapi -qp 22 -tier high -c:a copy output.mp4 Several times and browse the web with Firefox while doing so. Sooner or lat= er (rather sooner) the encoding will either hang or the driver crashes complet= ely and I need to perform a hard reset. The encoding settings don't seem to matter as long -c:v hevc_vaapi is used. -c:v h264_vaapi seems to be totally stable. The encoding result of -c:v hevc_vaapi also shows a garbled line at the bot= tom of the video, while -c:v h264_vaapi looks fine. This is with a RX 580 mesa-git 19.1.0_devel.107212.ab940b0d972 linux 4.20.6 & drm-next-5.1-wip f9028b9278422fdf186f1b88662e28ed24e13df8 libva 2.4 ffmpeg-git b429c86d84cfc964c84bc68ec56799802de2b25a There seems to be a difference between linux 4.20.6 & drm-next-5.1-wip thou= gh. I couldn't make the stable kernel crash entirely, instead just the encoding process started to hang. --=20 You are receiving this mail because: You are the assignee for the bug.= --15491986750.CDa6046D.604 Date: Sun, 3 Feb 2019 12:57:55 +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
Bug ID 109538
Summary VAAPI HEVC encoding is unstable and produces garbled output
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity major
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter tempel.julian@gmail.com

Do

ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i 1080p_h.264_60fps.mp4 -c:v hevc_vaapi -qp 22
-tier high -c:a copy output.mp4

Several times and browse the web with Firefox while doing so. Sooner or lat=
er
(rather sooner) the encoding will either hang or the driver crashes complet=
ely
and I need to perform a hard reset.
The encoding settings don't seem to matter as long -c:v hevc_vaapi is used.
-c:v h264_vaapi seems to be totally stable.

The encoding result of -c:v hevc_vaapi also shows a garbled line at the bot=
tom
of the video, while -c:v h264_vaapi looks fine.

This is with a RX 580
mesa-git 19.1.0_devel.107212.ab940b0d972
linux 4.20.6 & drm-next-5.1-wip f9028b9278422fdf186f1b88662e28ed24e13df8
libva 2.4
ffmpeg-git b429c86d84cfc964c84bc68ec56799802de2b25a

There seems to be a difference between linux 4.20.6 & drm-next-5.1-wip =
though.
I couldn't make the stable kernel crash entirely, instead just the encoding
process started to hang.


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