[Bug 109137] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 timeout

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 23 15:26:12 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=109137

            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 at lists.freedesktop.org
          Reporter: solut at 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=foo:/dev/dri/renderD128 -hwaccel vaapi
-hwaccel_device foo -hwaccel_output_format vaapi -i test.ts -filter_hw_device
foo -vf 'format=nv12|vaapi,hwupload,deinterlace_vaapi=rate=field:auto=1' -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 at 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=/boot/vmlinuz-4.19.11-041911-generic
root=/dev/mapper/ubuntu--vg-root ro quiet splash amdgpu.dc=1 vt.handoff=1
[    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=2048M, BAR=2048M
[    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 0x000000F400900000).
[    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=3845, emitted seq=3846

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181223/18797ad1/attachment.html>


More information about the dri-devel mailing list