Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zenstates.py additional P-states: how to reload cpufreq?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jpsollie
Guru
Guru


Joined: 17 Aug 2013
Posts: 323

PostPosted: Sun Mar 27, 2022 8:23 am    Post subject: zenstates.py additional P-states: how to reload cpufreq? Reply with quote

After enabling an additional P-state on my threadripper through the zenstates.py script,
the scaling governor doesn't see it.
I assume the linux kernel isn't made to simply detect an additional P-state
Any thoughts how to detect it?
_________________
The power of Gentoo optimization (not overclocked): [img]https://www.passmark.com/baselines/V10/images/503714802842.png[/img]
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3896
Location: Rasi, Finland

PostPosted: Sun Mar 27, 2022 8:45 am    Post subject: Reply with quote

Interesting. I've never heard of this before. What's it's capabilities?
README wrote:
Requires root access and the msr kernel module loaded (just run "modprobe msr" as root).
Have you loaded the module?

EDIT:
https://www.zenstates.protonrom.com/ wrote:
Due to differences between Zen/Zen+ and Zen2, the application will automatically turn on applicable controls.
For example, P-states don't work as expected on Zen2. Read and write operations complete successfully, but they seem to be ignored. Differences might be expected due to different AGESA and SMU versions as well.

The lack of public documentation makes things even harder. Unfortunately, it doesn't seem AMD is keen on releasing it for 17h family, so most of the work is done via reverse-engineering.
... this is for windows version, but is applicable here.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
jpsollie
Guru
Guru


Joined: 17 Aug 2013
Posts: 323

PostPosted: Sun Mar 27, 2022 11:09 am    Post subject: Reply with quote

Zucca wrote:
Interesting. I've never heard of this before. What's it's capabilities?
README wrote:
Requires root access and the msr kernel module loaded (just run "modprobe msr" as root).
Have you loaded the module?

I suppose if I run zenstates.py -l and P3 shows as "enabled", it's fine.
Quote:

EDIT:
https://www.zenstates.protonrom.com/ wrote:
Due to differences between Zen/Zen+ and Zen2, the application will automatically turn on applicable controls.
For example, P-states don't work as expected on Zen2. Read and write operations complete successfully, but they seem to be ignored. Differences might be expected due to different AGESA and SMU versions as well.

The lack of public documentation makes things even harder. Unfortunately, it doesn't seem AMD is keen on releasing it for 17h family, so most of the work is done via reverse-engineering.
... this is for windows version, but is applicable here.

It's a zen+ threadripper, not zen2
_________________
The power of Gentoo optimization (not overclocked): [img]https://www.passmark.com/baselines/V10/images/503714802842.png[/img]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum