<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working."
href="https://bugs.freedesktop.org/show_bug.cgi?id=105733#c32">Comment # 32</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working."
href="https://bugs.freedesktop.org/show_bug.cgi?id=105733">bug 105733</a>
from <span class="vcard"><a class="email" href="mailto:jb5sgc1n.nya@20mm.eu" title="dwagner <jb5sgc1n.nya@20mm.eu>"> <span class="fn">dwagner</span></a>
</span></b>
<pre>(In reply to Jan Jurzitza from <a href="show_bug.cgi?id=105733#c31">comment #31</a>)
<span class="quote">> 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)</span >
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
<a class="bz_bug_link
bz_status_NEW "
title="NEW - System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!"
href="show_bug.cgi?id=102322">https://bugs.freedesktop.org/show_bug.cgi?id=102322</a> 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 <a class="bz_bug_link
bz_status_NEW "
title="NEW - Manual setting of pp_dpm_sclk resets after monitor off/on (rx 480)"
href="show_bug.cgi?id=107141">https://bugs.freedesktop.org/show_bug.cgi?id=107141</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>