kevinlekiller/amdctl

Setting DID is Broken (only allows values between 0 and 5

Closed this issue · 0 comments

sudo amdctl -t -d7

ERROR: Option -d must be a number 0 to 5

sudo amdctl -t -d5

(output abridged to just show one core, but they're all the same):

Core 23 | P-State Limits (non-turbo): Highest: 0 ; Lowest 2 | Current P-State: 0
 Pstate Status CpuFid CpuDid CpuVid CpuMult CpuFreq CpuVolt IddVal IddDiv CpuCurr CpuPower
      0      1    152      5     70  60.80x 6080MHz  1112mV     37     10  47.00A   52.29W
      1      1    140      5     88  56.00x 5600MHz  1000mV     28     10  38.00A   38.00W
      2      1    132      5    104  52.80x 5280MHz   900mV     22     10  32.00A   28.80W

Obviously this is broken. Setting any available DID without also changing VID and FID would cause a hard crash or even damage to the CPU.

CPU: Ryzen 9 5900X
Kernel: 5.14.17
Distro: Arch