From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109137] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 timeout Date: Sun, 23 Dec 2018 15:26:12 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1518823649==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6131D6E4F5 for ; Sun, 23 Dec 2018 15:26:13 +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 --===============1518823649== Content-Type: multipart/alternative; boundary="15455787730.8b8C.22360" Content-Transfer-Encoding: 7bit --15455787730.8b8C.22360 Date: Sun, 23 Dec 2018 15:26:13 +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=3D109137 Bug ID: 109137 Summary: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 timeout Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: solut@web.de AMD Ryzen 5 2400G with Radeon Vega Graphics -> Always get a ring vcn-enc0 timeout when running the following command: /usr/bin/ffmpeg -init_hw_device vaapi=3Dfoo:/dev/dri/renderD128 -hwaccel va= api -hwaccel_device foo -hwaccel_output_format vaapi -i test.ts -filter_hw_devi= ce foo -vf 'format=3Dnv12|vaapi,hwupload,deinterlace_vaapi=3Drate=3Dfield:auto= =3D1' -c:v hevc_vaapi -b:v 3.5M -maxrate 4M -bufsize 1M -c:a copy -c:s copy -f mpegts test2.ts This error is reproducable (every attempt...). The converting is is always interrupted, sometimes seconds after start, sometimes minutes after start, it has never reached the end... More system details: [ 0.000000] Linux version 4.19.11-041911-generic (kernel@kathleen) (gcc version 8.2.0 (Ubuntu 8.2.0-12ubuntu1)) #201812191931 SMP Wed Dec 19 19:33:= 33 UTC 2018 [ 0.000000] Command line: BOOT_IMAGE=3D/boot/vmlinuz-4.19.11-041911-gene= ric root=3D/dev/mapper/ubuntu--vg-root ro quiet splash amdgpu.dc=3D1 vt.handoff= =3D1 [ 0.016008] smpboot: CPU0: AMD Ryzen 5 2400G with Radeon Vega Graphics (family: 0x17, model: 0x11, stepping: 0x0) [ 1.809423] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1043:0x876B 0xC6). [ 1.809435] [drm] register mmio base: 0xFE500000 [ 1.809435] [drm] register mmio size: 524288 [ 1.809451] [drm] add ip block number 0 [ 1.809451] [drm] add ip block number 1 [ 1.809452] [drm] add ip block number 2 [ 1.809452] [drm] add ip block number 3 [ 1.809453] [drm] add ip block number 4 [ 1.809454] [drm] add ip block number 5 [ 1.809455] [drm] add ip block number 6 [ 1.809455] [drm] add ip block number 7 [ 1.809456] [drm] add ip block number 8 [ 1.809491] [drm] VCN decode is enabled in VM mode [ 1.809491] [drm] VCN encode is enabled in VM mode [ 1.809491] [drm] VCN jpeg decode is enabled in VM mode [ 1.833266] [drm] BIOS signature incorrect 0 0 [ 1.833283] ATOM BIOS: 113-RAVEN-111 [ 1.833316] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit [ 1.833322] amdgpu 0000:06:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used) [ 1.833323] amdgpu 0000:06:00.0: GART: 1024M 0x000000F500000000 - 0x000000F53FFFFFFF [ 1.833326] [drm] Detected VRAM RAM=3D2048M, BAR=3D2048M [ 1.833327] [drm] RAM width 128bits DDR4 [ 1.833398] [TTM] Zone kernel: Available graphics memory: 3047728 kiB [ 1.833399] [TTM] Zone dma32: Available graphics memory: 2097152 kiB [ 1.833399] [TTM] Initializing pool allocator [ 1.833402] [TTM] Initializing DMA pool allocator [ 1.833451] [drm] amdgpu: 2048M of VRAM memory ready [ 1.833452] [drm] amdgpu: 3072M of GTT memory ready. [ 1.833458] [drm] GART: num cpu pages 262144, num gpu pages 262144 [ 1.833622] [drm] PCIE GART of 1024M enabled (table at 0x000000F40090000= 0). [ 1.834868] [drm] use_doorbell being set to: [true] [ 1.834980] [drm] Found VCN firmware Version: 1.73 Family ID: 18 [ 1.834983] [drm] PSP loading VCN firmware [ 2.032269] amdgpu: [powerplay] dpm has been enabled [ 2.032346] [drm] DM_PPLIB: values for Invalid clock [ 2.032347] [drm] DM_PPLIB: 400000 in kHz [ 2.032347] [drm] DM_PPLIB: 933000 in kHz [ 2.032348] [drm] DM_PPLIB: 1200000 in kHz [ 2.032348] [drm] DM_PPLIB: 1333000 in kHz [ 2.032349] [drm] DM_PPLIB: values for Invalid clock [ 2.032349] [drm] DM_PPLIB: 300000 in kHz [ 2.032350] [drm] DM_PPLIB: 600000 in kHz [ 2.032350] [drm] DM_PPLIB: 626000 in kHz [ 2.032350] [drm] DM_PPLIB: 654000 in kHz [ 2.032579] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:2! type 0 expected 3 [ 2.037825] [drm] Display Core initialized with v3.1.59! [ 2.038591] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.038591] [drm] Driver supports precise vblank timestamp query. [131543.720312] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 timeout, signaled seq=3D3845, emitted seq=3D3846 --=20 You are receiving this mail because: You are the assignee for the bug.= --15455787730.8b8C.22360 Date: Sun, 23 Dec 2018 15:26:13 +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 109137
Summary [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 time= out
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter solut@web.de

AMD Ryzen 5 2400G with Radeon Vega Graphics ->

Always get a ring vcn-enc0 timeout when running the following command:

/usr/bin/ffmpeg -init_hw_device vaapi=3Dfoo:/dev/dri/renderD128 -hwaccel va=
api
-hwaccel_device foo -hwaccel_output_format vaapi -i test.ts -filter_hw_devi=
ce
foo -vf 'format=3Dnv12|vaapi,hwupload,deinterlace_vaapi=3Drate=3Dfield:auto=
=3D1' -c:v
hevc_vaapi -b:v 3.5M -maxrate 4M -bufsize 1M -c:a copy -c:s copy -f mpegts
test2.ts

This error is reproducable (every attempt...).
The converting is is always interrupted, sometimes seconds after start,
sometimes minutes after start, it has never reached the end...

More system details:

[    0.000000] Linux version 4.19.11-041911-generic (kernel@kathleen) (=
gcc
version 8.2.0 (Ubuntu 8.2.0-12ubuntu1)) #201812191931 SMP Wed Dec 19 19:33:=
33
UTC 2018
[    0.000000] Command line: BOOT_IMAGE=3D/boot/vmlinuz-4.19.11-041911-gene=
ric
root=3D/dev/mapper/ubuntu--vg-root ro quiet splash amdgpu.dc=3D1 vt.handoff=
=3D1
[    0.016008] smpboot: CPU0: AMD Ryzen 5 2400G with Radeon Vega Graphics
(family: 0x17, model: 0x11, stepping: 0x0)
[    1.809423] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD
0x1043:0x876B 0xC6).
[    1.809435] [drm] register mmio base: 0xFE500000
[    1.809435] [drm] register mmio size: 524288
[    1.809451] [drm] add ip block number 0 <soc15_common>
[    1.809451] [drm] add ip block number 1 <gmc_v9_0>
[    1.809452] [drm] add ip block number 2 <vega10_ih>
[    1.809452] [drm] add ip block number 3 <psp>
[    1.809453] [drm] add ip block number 4 <powerplay>
[    1.809454] [drm] add ip block number 5 <dm>
[    1.809455] [drm] add ip block number 6 <gfx_v9_0>
[    1.809455] [drm] add ip block number 7 <sdma_v4_0>
[    1.809456] [drm] add ip block number 8 <vcn_v1_0>
[    1.809491] [drm] VCN decode is enabled in VM mode
[    1.809491] [drm] VCN encode is enabled in VM mode
[    1.809491] [drm] VCN jpeg decode is enabled in VM mode
[    1.833266] [drm] BIOS signature incorrect 0 0
[    1.833283] ATOM BIOS: 113-RAVEN-111
[    1.833316] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit,
fragment size is 9-bit
[    1.833322] amdgpu 0000:06:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[    1.833323] amdgpu 0000:06:00.0: GART: 1024M 0x000000F500000000 -
0x000000F53FFFFFFF
[    1.833326] [drm] Detected VRAM RAM=3D2048M, BAR=3D2048M
[    1.833327] [drm] RAM width 128bits DDR4
[    1.833398] [TTM] Zone  kernel: Available graphics memory: 3047728 kiB
[    1.833399] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    1.833399] [TTM] Initializing pool allocator
[    1.833402] [TTM] Initializing DMA pool allocator
[    1.833451] [drm] amdgpu: 2048M of VRAM memory ready
[    1.833452] [drm] amdgpu: 3072M of GTT memory ready.
[    1.833458] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    1.833622] [drm] PCIE GART of 1024M enabled (table at 0x000000F40090000=
0).
[    1.834868] [drm] use_doorbell being set to: [true]
[    1.834980] [drm] Found VCN firmware Version: 1.73 Family ID: 18
[    1.834983] [drm] PSP loading VCN firmware
[    2.032269] amdgpu: [powerplay] dpm has been enabled
[    2.032346] [drm] DM_PPLIB: values for Invalid clock
[    2.032347] [drm] DM_PPLIB:   400000 in kHz
[    2.032347] [drm] DM_PPLIB:   933000 in kHz
[    2.032348] [drm] DM_PPLIB:   1200000 in kHz
[    2.032348] [drm] DM_PPLIB:   1333000 in kHz
[    2.032349] [drm] DM_PPLIB: values for Invalid clock
[    2.032349] [drm] DM_PPLIB:   300000 in kHz
[    2.032350] [drm] DM_PPLIB:   600000 in kHz
[    2.032350] [drm] DM_PPLIB:   626000 in kHz
[    2.032350] [drm] DM_PPLIB:   654000 in kHz
[    2.032579] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:2! type 0 expected 3
[    2.037825] [drm] Display Core initialized with v3.1.59!
[    2.038591] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.038591] [drm] Driver supports precise vblank timestamp query.
[131543.720312] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0
timeout, signaled seq=3D3845, emitted seq=3D3846


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