Open edumarinfabregas opened 5 years ago
I have the same issue on a Ryzen 3600
Changing PStates does not work as expected. It's not an issue with the script. The only thing I was able to achieve by changing P-States is setting the idle frequency (PState2), otherwise the CPU adjusts itself depending on load, temperature and power limits.
@Mhury I've updated my fork with support for APUs: https://github.com/irusanov/ZenStates-Linux Unfortunatelly, the only way to overcome the problem is by using P-States. I've tested on 240GE and 3000G - both desktop APUs. I guess you could use the original script as well, there's what you should do to force the CPU in OC mode and set higher frequency than what P0 allows.
targetDID = DID / 2
This is the only way I've found so far. They don't respond to anything else.
@iopq The update version of my fork works on Matisse, however it's manual OC only in this case. P-States don't seem to be respected.
@irusanov what do you mean "force the CPU in OC mode?" What's the point of Zenstates if you just have to OC manually from the BIOS anyway? How does changing P-States effect anything at all, if that's the case?
Wait you mean in your GUI, I didn't see your fork had a GUI available. Interesting.
But I wonder why our CPUs are showing as "False" for FID and Voltage control in cpuid? That would seem to indicate that this original Zenstates would never have any chance of working, yet it apparently does work on Zen1 CPUs. It definitely doesn't work for Zen2 though.
@gardotd426 I couldn't quite get what you're saying, but to put it simple (I hope):
Zen1 and APU can only be controlled by P-States, yet setting a higher P-State than default P0 puts the CPU in "OC Mode". That's with newer BIOSes. If you're using a very old BIOS, then old behavior is probably still valid.
Some AGESA versions ago Zen1 supported something like a "Full Manual OC mode", which completely ignored P-States and you could set OC ferquency and OC VID. This is not working anymore with recent AGESA updates. That's why it is set to False, which essentially hides OC tab, but P-States tab is still active.
Zen2 didn't really respect P-States. I noticed multicore boost can now be configured via P0 state, but need more testing. So it vastly depends on AGESA version. Full Manual OC mode still works and can be enabled or disabled on the fly (no need to set it in BIOS).
The reality is the only reliable way to control what the CPU is doing is to configure power limits, but when increasing them, it will still be thermally limited. So, yes...the initial point of the script is sadly lost and I or the original author can't do anything about it.
PS: Ah, I've scrolled up and now I see what you mean - you're talking about the extended cpuid instruction 0x80000007. From the public documentation: VID: Voltage ID control. Read-only. Reset: Fixed,0. Function replaced by HwPstate FID: Frequency ID control. Read-only. Reset: Fixed,0. Function replaced by HwPstate.
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)
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?
UPDATE 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"?