AMD GPU

 

前言

  • VDDC is the GPU core voltage
  • MVDD is the memory voltage
  • VDDCI is the I/O bus voltage (between memory and GPU core) and comes from the PCI-Express slot.

 

 

 


風扇 Speed(pwm1_enable)

 

/sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable

* 0=NONE - Card control PW
* 1=MANUAL
* 2=AUTO

其他相關設定

  • pwm1           # 當前 Speed (X/255)
  • pwm1_max   # Auto 時最快速度
  • pwm1_min    # Auto 時最慢速度

 


Undervolting RX580

 

用 ohgodatool undervolting 失敗 -__-

 

# Check current core-state: grep '*' /sys/class/drm/card0/device/pp_dpm_sclk
# result: 3: 1167Mhz *

Usage:

./ohgodatool [-i GPUIdx | -f VBIOSFile] [Generic Options]\
             [--core-state StateIdx] [--mem-state StateIdx] \
             [--volt-state StateIdx] [State modification options]

# shows the selected states
        --show-mem
        --show-core
        --show-voltage
        --show-fanspeed
        --show-temp

./ohgodatool -i 0 --show-mem

...
Memory state 2:
        VDDC: 65283
        VDDCI: 950
        VDDC GFX offset: 0
        MVDD: 1000
        Memory clock: 2000
...

./ohgodatool -i 0 --show-core

DPM state 0:
        VDDC: 750 (voltage table entry 0)
        VDDC offset: 0
        Core clock: 300
...
DPM state 3:
        VDDC: 65284 (voltage table entry 3)
        VDDC offset: -26
        Core clock: 1167

./ohgodatool -i 0 --show-voltage

...
Voltage state 7:
        VDD = 65288
        CACLow = 0
        CACMid = 0
        CACHigh = 0
Voltage state 8:
        VDD = 800
        CACLow = 0
        CACMid = 0
        CACHigh = 0
Voltage state 9:
        VDD = 850
        CACLow = 0
        CACMid = 0
        CACHigh = 0
Voltage state 10:
        VDD = 900
        CACLow = 0
        CACMid = 0
        CACHigh = 0
...

# core-vddc-idx 9 => VDD = 850 (每個牌子都不同)

./ohgodatool -i 0 --core-state 3 --core-vddc-idx 9

Core state 3 VDDC: 3 -> 9.

dmesg 出 Error

[913858.126900] amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched

 


pp_table

 

Tools: ohgodatool

HomePage: https://github.com/OhGodACompany/OhGodATool

allows you to edit PowerPlay in the VBIOS, or in the kernel's pp_table. You can edit clock, memory, or voltage tables.

 


 

Creative Commons license icon Creative Commons license icon