Skip to content
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

No Fequency Graphs on Ryzen 5950x #182

Open
DocMAX opened this issue Jan 6, 2022 · 7 comments
Open

No Fequency Graphs on Ryzen 5950x #182

DocMAX opened this issue Jan 6, 2022 · 7 comments

Comments

@DocMAX
Copy link

DocMAX commented Jan 6, 2022

s-tui 1.1.3
grafik

@luoe
Copy link

luoe commented Jan 7, 2022

Same behavior with weird low reported frequencies on an Intel Core i5-1135G7.
Other programs such as powertop or manually reading from
/sys/devices/system/cpu/cpufreq/policy{0..7}/scaling_cur_freq
work as intended.

s-tui: 1.1.3
Linux: 5.15.13

@amanusk
Copy link
Owner

amanusk commented Jan 7, 2022

Thanks for opening the issue. This seems to be the same problem as #180
Frequency is reported in GHz, while Min/Max is reported in Mhz.

The change originates from a change in psutil, the fix for which should be already in the works.

I suggest we wait for the psutil

@luoe
Copy link

luoe commented Jan 12, 2022

@DocMAX if you use Archlinux/Manjaro, you can try do downgrade python-psutil to 5.8.0. This resolves this issue for now and only one core showing the exact frequency:

sudo pacman -U https://archive.archlinux.org/packages/p/python-psutil/python-psutil-5.8.0-4-x86_64.pkg.tar.zst

And add

IgnorePkg   = python-psutil

to pacman.conf under [options].

@genema
Copy link

genema commented Mar 7, 2022

This can be solved by downgrading psutil to v5.8.0 .

@wc7086
Copy link

wc7086 commented Apr 20, 2022

psutilVersion=`pip show psutil | grep 'Version' | awk -F ': ' '{print $2}'` \
&& psutilLocation=`pip show psutil | grep 'Location' | awk -F ': ' '{print $2}'`/psutil \
&& [ $psutilVersion == 5.9.0 ] \
&& sudo sed -i "/curr = cpuinfo_freqs\[i\]$/ s/$/ * 1000/" $psutilLocation/_pslinux.py

or
If you know the directory where psutil is stored.

sudo sed -i "/curr = cpuinfo_freqs\[i\]$/ s/$/ * 1000/" /usr/lib/python3.10/site-packages/psutil/_pslinux.py

@brunodrugowick
Copy link

brunodrugowick commented Aug 13, 2022

In Ubuntu-based distros, this should fix, but I don't know if it has side effects:

pip install --upgrade psutil==5.8.0

Edit: with the release of [email protected] you can also just do pip install --upgrade psutil now. Also see #180 (comment).

@ejgallego
Copy link

Duplicate of #180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants