<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu [RX Vega 64] system freeze while gaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109955#c113">Comment # 113</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu [RX Vega 64] system freeze while gaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109955">bug 109955</a>
              from <span class="vcard"><a class="email" href="mailto:jason@jasonplayne.com" title="Jason Playne <jason@jasonplayne.com>"> <span class="fn">Jason Playne</span></a>
</span></b>
        <pre>As others have noted, with powerplay doing its thing we get system freezes.

Just had a successful 6+ hour gaming session on a kernel 5.3.2-050302-generic
with the following being done:
 * Forcing high perf state
 * Undervolt/Overclock
 * Higher fan curve (<a href="https://github.com/grmat/amdgpu-fancontrol">https://github.com/grmat/amdgpu-fancontrol</a>)

I know that I have been messing with all sorts here, but I think it suggests
that PowerPlay may be at fault here when my system *does* crash (which is all
the time without the force high perf state)

All details below:

# Forcing High Perf
echo high | sudo tee
/sys/class/drm/card0/device/power_dpm_force_performance_level

# Undervolt / Overclock
I also have done some messing around with voltages/clocks

$ cat /sys/class/drm/card0/device/pp_od_clk_voltage
OD_SCLK:
0:        852Mhz        800mV
1:        991Mhz        900mV
2:       1084Mhz        940mV
3:       1138Mhz        990mV
4:       1200Mhz       1040mV
5:       1401Mhz       1090mV
6:       1536Mhz       1140mV
7:       1630Mhz       1190mV
OD_MCLK:
0:        167Mhz        800mV
1:        500Mhz        800mV
2:        850Mhz        940mV
3:       1000Mhz       1100mV
OD_RANGE:
SCLK:     852MHz       2400MHz
MCLK:     167MHz       1500MHz
VDDC:     800mV        1200mV


# Settings for AMDGPU Fancontrol
TEMPS=( 35000 70000 80000 )
PWMS=(     70   180   255 )</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>