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

--- Comment #32 from dwagner <jb5sgc1n....@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.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to