From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102203] Using hardware video encoding with amdgpu/vaapi crashes system immediately Date: Sun, 13 Aug 2017 22:04:40 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1857312105==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 952E26E033 for ; Sun, 13 Aug 2017 22:04:40 +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 --===============1857312105== Content-Type: multipart/alternative; boundary="15026618800.2fddb.10673"; charset="UTF-8" --15026618800.2fddb.10673 Date: Sun, 13 Aug 2017 22:04:40 +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=3D102203 Bug ID: 102203 Summary: Using hardware video encoding with amdgpu/vaapi crashes system immediately Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: jb5sgc1n.nya@20mm.eu I tried using hardware video encoding with amdgpu/vaapi, but every attempt immediately crashes the system. The latest command line (amongst many with the same crash result) I tried: ffmpeg -vaapi_device /dev/dri/renderD128 -t 10 -i somevideo.mp4 -vf 'scale=3D1920:1072,hwupload' -aspect 1920:1072 -map 0:0 -y -c:a copy -threa= ds 1 -slices 1 -vcodec h264_vaapi -b:v 12500k -profile:v 77 -bf 0 test.mkv ffmpeg/libva/mesa/dri etc. are the most recent ones currently shipped with = Arch Linux (ffmpeg version 3.3.3 built with gcc 7.1.1). I am currently using https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm-next as = my kernel, but experienced the same error also with previous kernel versions (= like 4.12) Video card is a Radeon RX 460. --=20 You are receiving this mail because: You are the assignee for the bug.= --15026618800.2fddb.10673 Date: Sun, 13 Aug 2017 22:04:40 +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 102203
Summary Using hardware video encoding with amdgpu/vaapi crashes syste= m immediately
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter jb5sgc1n.nya@20mm.eu

I tried using hardware video encoding with amdgpu/vaapi, but e=
very attempt
immediately crashes the system.

The latest command line (amongst many with the same crash result) I tried:

ffmpeg -vaapi_device /dev/dri/renderD128 -t 10 -i somevideo.mp4 -vf
'scale=3D1920:1072,hwupload' -aspect 1920:1072 -map 0:0 -y -c:a copy -threa=
ds 1
-slices 1 -vcodec h264_vaapi -b:v 12500k -profile:v 77 -bf 0 test.mkv

ffmpeg/libva/mesa/dri etc. are the most recent ones currently shipped with =
Arch
Linux (ffmpeg version 3.3.3 built with gcc 7.1.1).

I am currently using
https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm=
-next as my
kernel, but experienced the same error also with previous kernel versions (=
like
4.12)

Video card is a Radeon RX 460.


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