Open edumarinfabregas opened 5 years ago
Would it be possible that the tool doesn't work because the frequency ID (FID) control and the voltage ID (VID) control are set to "false"?
Sounds like it is, the voltage is changed using the "CpuVID" field per p-state.
Maybe another register needs to be modified to allow CpuVID to be changed.
It doesn't say anything on page 139 of Processor Programming Reference (PPR) for AMD Family 17h Models 00h-0Fh Processors (PUB), maybe somewhere else in the manual it states how to?
Page 76 has info on 0x80000007/edx
I'm wondering if it's an issue with the CPU using the voltage from the turbo P-state (which I'm not sure how to modify, I don't think it's mentioned in the PDF). Maybe it only uses the P-state voltages if turbo is disabled or something like this?
It's possible to disable turbo boost - page 133/134 has info on it. But there is no info at all on how to modify the boost parameters, it's obviously possible since Ryzen master can do it on windows, why AMD would not publish this information in the PDF is questionable.
Many thanks for your answer @kevinlekiller
Following the manual you indicated, I read MSRC001_0015 (page 132) in my machine to verify if the turbo is enabled or disabled. This resulted in:
sudo rdmsr 0xC0010015
b000011
Which means that the core performance boost (bit 25 starting from bit 0) is disabled. So in theory the CPU shouldn't be using the turbo P-states....
Had the same issue: I was having this same issue where changing the voltage of a PSTATE does not work, even in the BIOS. Changing CPU voltage using Ryzen Master in Windows also did not work.
The Solution: The solution is to change your CPU CLOCK RATIO in BIOS to be above the base clock of your CPU.
For Example: I am using Ryzen 7 1700 where the base clock is 3.00ghz, in the BIOS, all I had to do was set the CPU CLOCK RATIO to 3.1ghz, when I rebooted back to the BIOS I noticed that the voltage was high (around 1.2v), then tried to change the voltage of the PSTATE in the BIOS. And it worked. To decrease the max frequency from 3.1ghz, all I did was set the Pstate0 CPU frequency to 2.5ghz.
My Setup: Pstate0: 2.5ghz at around 0.768v Pstate1: 1.55ghz at around 0.612v Core Performance Boost: Disabled Global C6 State: Enabled (Reduces idle power usage) SOC VOLTAGE: around 0.684v (Reduces idle power usage) Ram Speed: 1333mhz (Reduces idle power usage)
Hello everyone, I may have found a solution to this problem, this solution is not very fancy but it worked. It's actually exactly like what @CHECK-1234 said, but instead of changing the CPU frequency from the BIOS you changed it from a tool like this one or any other tool that can change the CPU frequency, like zen-states. In my case I used this tool to change the CPU frequency from 3.6Ghz to 3.625Ghz, I did this by changing the FID of the pstate - zero. After that I tried to change the VID value and actually worked. The cpu I used was the Ryzen 7 1800x, so I guess this method will work in any other model 1 family 17 processor, maybe. Also I noticed that if I increase one time the frequency of the cpu, then i can adjust the VID as many times as I want even if I change the frequency back to normal.
P.S: Of course I want to do a research to understand why it works, but for now I guess if you want to undervolt your cpu, this may be a solution, using this tool.
Undervolting Mobile Ryzen CPUs at BIOS-level:
https://github.com/DavidS95/Smokeless_UMAF
This allows you to access hidden BIOS settings which is good for computers with Ryzen mobile CPUs where the BIOS is locked. This also works on Steam Deck, which you can now finally undervolt the Steam Deck.
Just a WARNING in case that you are not a careful reader:
Smokeless_UMAF CANNOT undervolt a mobile APU with integrated GPUs (usually in laptop / handheld) and might BRICK your device if you adjust P0State Vid
in the UMAF, even for only +/-1 mV. Do not try this unless you have a BIOS flasher (e.g. a BIOS chip programmer). A CMOS reset will not work.
Confirm that it will brick on a mobile Ryzen 7 4800H.
Hi all,
Recently, I have been testing this tool in my AMD Ryzen 5 PRO 2400G. While I managed to change the frequency to overclock my CPU, I haven't been able to modify the CPU core voltage. For my experiments, I first disabled all pstates except for p0 and then I tried to change the VID corresponding to p0 to different values. Yet, using zenmonitor to measure the current CPU core voltage, I observed that these values were ignored by the CPU (they were completely different to the ones I saw in zenmonitor).
Do you have any idea why this tool cannot change the CPU core voltage in my machine?
I run "cpuid" and got the following extra info regarding the advanced power management features. Would it be possible that the tool doesn't work because the frequency ID (FID) control and the voltage ID (VID) control are set to "false"?