Skip to content

Instantly share code, notes, and snippets.

@9bitbear
Last active August 5, 2018 16:28
Show Gist options
  • Save 9bitbear/180f92e5afd5b64c15626a33d56404c0 to your computer and use it in GitHub Desktop.
Save 9bitbear/180f92e5afd5b64c15626a33d56404c0 to your computer and use it in GitHub Desktop.
AMD bios mod, overclock
#!/bin/bash
case "$1" in
-h|--help)
echo "Overclock utility for AMD Radeon card with amdgpu driver"
echo "-c --core Get/Set Core freq 0-20%"
echo "-m --memory Get/Set Memory freq 0-20%"
;;
-v|--version)
echo "17.04"
;;
-c|--core)
if [ -n "$2" ]; then
echo $2 > /sys/class/drm/card0/device/pp_sclk_od
else
cat /sys/class/drm/card0/device/pp_dpm_sclk | grep "7:" | cut -c 4-
fi
;;
-m|--memory)
if [ -n "$2" ]; then
echo $2 > /sys/class/drm/card0/device/pp_mclk_od
else
cat /sys/class/drm/card0/device/pp_dpm_mclk | grep "1:" | cut -c 4-
fi
;;
*)
echo "Unknown command"
echo "./amdgpu-overdrive.sh --help"
;;
esac
[general]
MainWindowLeft=404
MainWindowTop=173
[Profile_0]
Name=defaultVega56
GPU_P0=852;800
GPU_P1=991;900
GPU_P2=1138;950
GPU_P3=1269;1000
GPU_P4=1312;1050
GPU_P5=1474;1100
GPU_P6=1538;1150
GPU_P7=1590;1200
Mem_P0=167;800
Mem_P1=500;800
Mem_P2=700;900
Mem_P3=800;950
Fan_Min=30
Fan_Max=4900
Fan_Target=75
Fan_Acoustic=3200
Power_Temp=85
Power_Target=0
[Profile_1]
Name=Vega56
GPU_P0=852;800;0
GPU_P1=991;900;0
GPU_P2=1138;950;0
GPU_P3=1269;1000;0
GPU_P4=1312;1050;0
GPU_P5=1474;1100;0
GPU_P6=1212;905;0
GPU_P7=1450;950
Mem_P0=167;800;0
Mem_P1=500;800;0
Mem_P2=700;900;0
Mem_P3=925;920
Fan_Min=2900
Fan_Max=4900
Fan_Target=75
Fan_Acoustic=2600
Power_Temp=85
Power_Target=0
[Profile_2]
Name=rx560
GPU_P0=214;715
GPU_P1=387;721
GPU_P2=843;750
GPU_P3=995;850
GPU_P4=1062;906
GPU_P5=1108;956
GPU_P6=1149;1006
GPU_P7=1176;1037
Mem_P0=300;715
Mem_P1=625;800
Mem_P2=1750;850
Fan_Min=1900
Fan_Max=3500
Fan_Target=75
Fan_Acoustic=3000
Power_Temp=85
Power_Target=0

http://www.cryptominingtalk.com/flashing-bios/

PolarisBiosEditor 1.6: https://github.com/jaschaknack/PolarisBiosEditor

MSI Afterburner:

RX560: https://anorak.tech/t/power-color-rx560-red-dragon-4gb-modded-bios-from-11-5-mhs-to-14mhs/23005/8

Sapphire RX 550 2GB: https://www.xmrstak.com/2017/12/08/get-380-h-s-monero-rx-550-2gb/

"gpu_threads_conf" : [
{ "index" : 0, "intensity" : 256, "worksize" : 8, "affine_to_cpu" : false },
{ "index" : 0, "intensity" : 256, "worksize" : 8, "affine_to_cpu" : false },
],
  • copy 1375 memory strap to: 1750, 1875 and 2000

Sapphire Pulse RX 560: https://www.xmrstak.com/2017/12/19/sapphire-pulse-rx-560-450-h-s/
BIOS MOD (HYNIX MEMORY ONLY)

  • Change Max Frequency to 2250
  • Copy Timing Strap of 1500 to 1625 through 2250
"gpu_threads_conf" : [
 // gpu: Baffin memory:3712, compute units: 16
 { "index" : 0, "intensity" : 768, "worksize" : 4, "affine_to_cpu" : 1, "strided_index" : false},
 { "index" : 0, "intensity" :832, "worksize" : 4, "affine_to_cpu" : 1, "strided_index" : false}, 
 ]

XFX VEGA 56 xmr-stak settings:

 // gpu: gfx901 memory:3920
  // compute units: 64
  { "index" : 3, "intensity" : 1932, "worksize" : 8, "affine_to_cpu" : 0, "strided_index" : true},
  { "index" : 3, "intensity" : 1932, "worksize" : 8, "affine_to_cpu" : 1, "strided_index" : true},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment