kevinlekiller / amdctl

Set P-State voltages and clock speeds on recent AMD CPUs on Linux.
GNU General Public License v3.0
241 stars 22 forks source link

Help with choosing VID hex value #41

Open thomaswxu opened 2 years ago

thomaswxu commented 2 years ago

Hello,

Do you have any documentation on how to correctly choose the VID value? (The CpuVid value for the -v flag)

I am trying to apply a "+4 positive offset" as described on this page, except with amdctl instead of the AMD Curve Optimizer in BIOS (inaccessible for me).

My understanding is that this means adding +12 to +20 mV to the CPU voltage supply for all P-states, at all frequencies. I found a table with voltage values for some VID values here, but I don't know how these values were derived.

Any guidance would be greatly appreciated!

For reference, my current values (output from zenstates -l) are listed below. My understanding is that I want all of the "vCore" (CpuVolt) values to increase by 12-20 mV.

P0 - Enabled - FID = 5A - DID = A - VID = 35 - Ratio = 18.00 - vCore = 1.21875
P1 - Enabled - FID = 66 - DID = C - VID = 60 - Ratio = 17.00 - vCore = 0.95000
P2 - Enabled - FID = 62 - DID = E - VID = 66 - Ratio = 14.00 - vCore = 0.91250
P3 - Disabled
P4 - Disabled
P5 - Disabled
P6 - Disabled
P7 - Disabled
C6 State - Package - Enabled
C6 State - Core - Enabled
thomaswxu commented 2 years ago

EDIT: Apologies, I only just noticed the -u option that tries to find the VID value based on given millivolts. I can certainly use that to try and find the desired mV values, but I'm still not sure if increasing all the CpuVolt values by 12-20 mV is the correct interpretation, or if other values need to be changed as well.