<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unigine Heaven at 4K crashes amdgpu and causes a GPU hang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108493#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Unigine Heaven at 4K crashes amdgpu and causes a GPU hang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108493">bug 108493</a>
from <span class="vcard"><a class="email" href="mailto:venemo@msn.com" title="Timur Kristóf <venemo@msn.com>"> <span class="fn">Timur Kristóf</span></a>
</span></b>
<pre>Hi,
After some more experimentation it seems that increasing the highest mclk
voltage above 900 mV and setting all other voltages in pp_od_clk_voltage in
such a way that they remain below 1000 mV, is a viable workaround that makes
the GPU stable.
Here is what I do to achieve this:
echo "2" > /sys/class/drm/card0/device/pp_sclk_od
echo "2" > /sys/class/drm/card0/device/pp_mclk_od
echo "s 0 300 750" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 1 588 765" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 2 952 900" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 3 1041 970" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 4 1106 970" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 5 1168 970" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 6 1209 970" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 7 1244 970" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "m 0 300 750" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "m 1 1000 850" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "m 2 1750 970" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage
After running this script, I can play on the GPU for several hours and I don't
see the hang happening anymore.</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>