-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error enabling states #1
Comments
After a little toying, I set up the following for my 1700x:
How do I know if this actually takes effect? I notice that the output of /proc/cpuinfo doesn't seem to shift from 2.2GHz... |
You can benchmark you CPU with 7zip, like Or you can use I-Nex tool, It is like CPU-z for Linux. Let me know if this tool helps you activate p-states functionality at Gigabyte board that doesn't have support for p-states ;) |
you can also use the cpupower tool, e.g.
will calculate CPU frequencies after a 5 second sample |
Ok, so I've been tinkering more - and it seems on the 1700x in a Gigabyte AB350 Gaming 3 we get the following: scaling_available_frequencies: 3400000 3000000 2200000 This explains why I see what I see when running zenstates.py without any further modification. Right now, I'm setting:
This gives me:
If I set the CPU back to defaults:
|
Ok, from playing more - it seems the best I can get out of it is:
That seems to output:
If I try to go any higher than 3.900 (ie 3.95Ghz), then I get a system crash and have to hit the reset button. I tried at 3.95Ghz @ 1.36v with no better luck. |
Now, as far as P-States 3-7. I can enable these via software - but I'm not sure how to check if they are working or not. Interestingly enough, when I reboot after enabling 3-7, I get a prompt from the BIOS saying that things "aren't compatible" with expected values. This seems to cause the values in the BIOS to reset. The other fun part - I flashed a mod'ed BIOS for the mainboard from here: When I try to select any P-State customisation in the BIOS menus, it refused to let me select anything but P-State 0. I wasn't able to set any P1/P2/P3 etc to any slot. So I'm gathering at the moment that either:
The question is, how to tell? :) |
Wow, scripts looks working! At least for P-0. So I can buy Gigabyte Mini ITX AM board for my purposes. Indeed "7za b" tells what your CPU freq, which is For 4Ghz, probably you need to push ~1.425v or similar. For me It's O.K. for experiment but will produce too much heat, stress your VRMs. Not worth for extra 100Mhz in terms of efficiency. Why do you need every P-States? For other power states, it's not easy to tell if it's working with 7za but if P-0 works proper, you can assume other power states working well too. |
Yeah - I figure the P0 change is working - but not sure about the P2 state. I hear a lot that the 1700x can't get below 2.2GHz - so it may well not be capable of going below that physically. Not that it really matters I guess. I settled on the following script settings:
As I said, I'm not sure P2 is actually working... As for speeds, the biggest issue I have (even at stock speeds) is that the VRM temps will often get over 100c - I've seen it hit 105c on stock speeds using prime95 in Windows 10. It doesn't seem to get anywhere near that during normal usage - but I'm a bit concerned about that for long runs of very high CPU usage. I'm using a H110i AIO cooler - so CPU temps never seem to get above around 50c - and the water never gets above about 37c - so there's heaps of capacity there.... Just a dodgy VRM :P |
You better to put some slow rotating fan on VRM. |
The "Gigabyte AB350 Gaming 3" already has a heatsink on the VRM... I'm not quite sure how effective it is though... I'm looking to get one of these printed up at work: |
in linux, you can check your current P-State with |
Ah - I was looking for this... For anyone else that stumbles across this later, Fedora 22 onwards has the 'cpupower' program in the 'kernel-tools' package... Output shows:
Not even sure what to make of that ;) Also:
|
Do you run commands with "original" CPU P-States? I believe freqency-info has some problem with detecting real P-States table clocks due Ryzen is new processor?? Who knows. |
Ok - so the final piece of the puzzle here is to get this stuff to apply on startup. I created this script called
I also have the following systemd service file in /etc/systemd/system/ryzen-overclock.service
This causes the script to be called fairly early on in the boot - meaning you get the most benefit out of it. Happy if you want to change that - and/or add it to the repo... EDIT: As a thought, it may be worthwhile adding the full path to the enable-pstates script - or renaming it etc - as some distros may not have /usr/local/bin/ in $PATH... |
@CRCinAU
Also as a note for the not so advanced linux users wanting to use this script. You need to set the script as executable and enable the service:
|
It seems that states p3-7 does not work at all. I have Ryzen 5 2600 and ASRock b450 pro4, it allows to set p-states in bios in the similar way to ZenStates. When p3 or later state is set to custom, Linux does not boots. |
When I try to enable a state, I get the following output:
I notice in the listings:
Am I missing something?
The text was updated successfully, but these errors were encountered: