Skip to contentSkip to conversation

Radeon Pro Duo (Polaris) - ring sdma0 timeout

Bug 107266 [email protected] 1 participant 9 messages Jul 17, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 107266
Summary: Radeon Pro Duo (Polaris) - ring sdma0 timeout
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu-pro
Assignee: [email protected]
Reporter: [email protected]

Running a polaris Pro Duo on Ubuntu 18.04, Kernel from ROCm branch 4.17.0-rc2-180424-fkxamd and everything works great.

In testing latest drm-next-4.19-wip kernel, I get the following errors on boot, and have no working opencl (ie clinfo hangs indefinitely)

[   58.913281] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
signaled seq=573, emitted seq=574
[   58.913284] [drm] GPU recovery disabled.
[   58.914276] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma1 timeout,
signaled seq=331, emitted seq=333
[   58.914280] [drm] GPU recovery disabled.
[   58.914312] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma1 timeout,
signaled seq=331, emitted seq=333
[   58.914313] [drm] GPU recovery disabled.

Please let me know if you need any specifics.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Alex Deucher <[email protected]> --- Please attach your full dmesg output. Are you attempting to use ROCm over the drm-next-4.19-wip kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from robert <[email protected]> ---
Created attachment 140696
--> https://bugs.freedesktop.org/attachment.cgi?id=140696&action=edit
dmesg.base.txt

Polaris radeon pro duo, dmesg with no userland.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from robert <[email protected]> ---
Created attachment 140697
--> https://bugs.freedesktop.org/attachment.cgi?id=140697&action=edit
dmesg.amdgpupro.txt

Polaris radeon pro duo, dmesg with amdgpu-pro 18.20-606296

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from robert <[email protected]> --- No, I wasnt running ROCm userland.

I've been using amdgpu-pro-18.20-606296 for several weeks with the fkxamd kernel as recommened by Felix.

When I remove all userland, I dont see the ring sdma0 timeout. Without any userland, it initializes the driver, but with a couple warnings.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from robert <[email protected]> ---
So I stripped this down, and the ring error pops up after I've applied a new pp_table and start utilizing the GPU.

My guess is this error has something to do with why this doesnt work in drm-next-4.19-wip

[    2.635258] amdgpu: [powerplay] Failed to retrieve minimum clocks.
[    2.635259] amdgpu: [powerplay] Error in phm_get_clock_info 

That error is not present when I load 4.17.0-rc2-180424-fkxamd kernel.

I apply same pp_table file while running 4.17.0-rc2-180424-fkxamd, and it works as expected.

So there is something funky in the powerplay of drm-next-4.19-wip

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from dallase <[email protected]> ---

amd-staging-drm-next (built Oct 7 2018)

[   61.701281] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
signaled seq=888, emitted seq=890
[   61.701285] [drm] GPU recovery disabled.
[   61.701397] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
signaled seq=902, emitted seq=904
[   61.701399] [drm] GPU recovery disabled.

drm-next-4.20-wip (built Oct 8 2018)

[   60.840847] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
signaled seq=914, emitted seq=916
[   60.840851] [drm] GPU recovery disabled.
[   60.840962] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
signaled seq=907, emitted seq=909
[   60.840964] [drm] GPU recovery disabled.

Both of these kernels work fine on my Vega 56 and Vega 64's, just the Pro Duo
has the ring timeouts. Was tested with amdgpu-pro 18.20 and 18.30, and
nothing utilizing the GPUs besides on boot initializations.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

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

--- Comment #7 from robert <[email protected]> ---
All Polaris are experiencing ring errors on mainline kernels, its not just Pro Duo Polaris.

# lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480] (rev ef)
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480] (rev ef)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480] (rev ef)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480] (rev cf)
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480] (rev ef)
# uname -a
Linux localhost 4.19.0-999-lowlatency #201810092201 SMP PREEMPT Wed Oct 10
02:12:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# dmesg | grep amdgpu
[    8.125848] amdgpu: [powerplay] Failed to retrieve minimum clocks.
[    8.125849] amdgpu: [powerplay] Error in phm_get_clock_info 
[    8.260967] [drm] Initialized amdgpu 3.27.0 20150101 for 0000:09:00.0 on
minor 4
[   70.238071] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
signaled seq=597, emitted seq=599
[   70.238198] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
signaled seq=597, emitted seq=599

etc etc

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #8 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/16.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel