Skip to contentSkip to conversation

New: amdgpu: carrizo: Stalls using vaapi encoder

Bug 201163 [email protected] 1 participant 7 messages Sep 17, 2018 – Oct 3, 2018

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=201163

            Bug ID: 201163
           Summary: amdgpu: carrizo: Stalls using vaapi encoder
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.18.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 278595
--> https://bugzilla.kernel.org/attachment.cgi?id=278595&action=edit
glxinfo

This command:

gst-launch-1.0 v4l2src io-mode=4 ! vaapih264enc ! fakesink dump=1

results in a stall non recoverable using ctrl+c and the following kernel message

[ 1617.944590] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vce0 timeout,
last signaled seq=4, last emitted seq=6
[ 1617.944628] [drm] IP block:vce_v3_0 is hung!
[ 1617.944632] [drm] GPU recovery disabled.
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 201163] amdgpu: carrizo: Stalls using vaapi encoder

https://bugzilla.kernel.org/show_bug.cgi?id=201163

--- Comment #1 from Ricardo Ribalda ([email protected]) --- Created attachment 278597
--> https://bugzilla.kernel.org/attachment.cgi?id=278597&action=edit
dmesg

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 201163] amdgpu: carrizo: Stalls using vaapi encoder

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201163

--- Comment #2 from Ricardo Ribalda ([email protected]) --- Created attachment 278599
--> https://bugzilla.kernel.org/attachment.cgi?id=278599&action=edit
trace-cmd

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 201163] amdgpu: carrizo: Stalls using vaapi encoder

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201163

--- Comment #3 from Ricardo Ribalda ([email protected]) --- Created attachment 278601
--> https://bugzilla.kernel.org/attachment.cgi?id=278601&action=edit
umr

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 201163] amdgpu: carrizo: Stalls using vaapi encoder

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201163

--- Comment #4 from Ricardo Ribalda ([email protected]) --- Adding umr output. Obtained with this command:

sudo umr -O verbose,follow_ib -R gfx[0:2047]

sudo umr -O many,bits  -r *.gfx80.mmGRBM_STATUS
sudo umr -O many,bits  -r *.gfx80.HEADER_DUMP
sudo umr -O many,bits  -r *.gfx80.CP_EOP

Adding trace output. Obtained with this command:
trace-cmd record -e dma_fence:* -e amdgpu:* -e gpu_scheduler:*

Also dmesg and glxinfo

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 201163] amdgpu: carrizo: Stalls using vaapi encoder

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201163

--- Comment #5 from Ricardo Ribalda ([email protected]) ---

# cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
VCE feature version: 0, firmware version: 0x34040300
UVD feature version: 0, firmware version: 0x015b0b00
MC feature version: 0, firmware version: 0x00000000
ME feature version: 46, firmware version: 0x000000a1
PFP feature version: 46, firmware version: 0x000000eb
CE feature version: 46, firmware version: 0x00000086
RLC feature version: 1, firmware version: 0x0000009c
RLC SRLC feature version: 0, firmware version: 0x00000000
RLC SRLG feature version: 0, firmware version: 0x00000000
RLC SRLS feature version: 0, firmware version: 0x00000000
MEC feature version: 46, firmware version: 0x000002c1
MEC2 feature version: 46, firmware version: 0x000002c1
SOS feature version: 0, firmware version: 0x00000000
ASD feature version: 0, firmware version: 0x00000000
SMC feature version: 0, firmware version: 0x00001238
SDMA0 feature version: 0, firmware version: 0x00000022
SDMA1 feature version: 0, firmware version: 0x00000022
VCN feature version: 0, firmware version: 0x00000000
VBIOS version: 113-C75100-028
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 201163] amdgpu: carrizo: Stalls using vaapi encoder

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201163

Ricardo Ribalda ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |x86-64

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel