[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 26 22:02:59 UTC 2018


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

--- Comment #32 from dwagner <jb5sgc1n.nya at 20mm.eu> ---
(In reply to Jan Jurzitza from comment #31)
> I have found a workaround (amd patched kernel not required):
> 
> cat /sys/class/drm/card0/device/pp_dpm_sclk
> # insert appropriate index here, I went for 1077Mhz
> echo 3 > /sys/class/drm/card0/device/pp_dpm_sclk
> 
> Makes the GPU a bit slower (changes clock to 1077 Mhz on my card) for the
> session, but at least applications don't freeze the system anymore now (or
> at least this is delaying it so much that it works for multiple hours, but
> it didn't freeze for me yet)

As long as /sys/class/drm/card0/device/power_dpm_force_performance_level is set
to "auto", this write to pp_dpm_sclk won't have a lasting effect, as dynamic
power management changes this clock setting all the time.

For the symptoms I reported in bug
https://bugs.freedesktop.org/show_bug.cgi?id=102322 I found that actually
disabling dynamic power management prevents them from happening, but I do need
an 

echo manual >power_dpm_force_performance_level

for this (regardless of what values I write to pp_dpm_sclk and pp_dpm_mclk
thereafter.

Cave: Every mode change or re-enabling of a screen with silently disregard a
previous "manual" setting, so that needs to be re-applied afterwards - this is
subject to bug report https://bugs.freedesktop.org/show_bug.cgi?id=107141

-- 
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/20180826/d0b16373/attachment.html>


More information about the dri-devel mailing list