the clock-speed that is shown in the upper right corner is the "apparent" or "should-be" (apparently from /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq) - value but in fact the pi I am using is throttling due to insufficient power and that is not represented correctly
you can see it in the attached screenshot that the frequency is dipping, but btop shows 2Ghz constantly
you can check the real value via vcgenmod vcgencmd measure_clock arm
Describe the bug
the clock-speed that is shown in the upper right corner is the "apparent" or "should-be" (apparently from
/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq
) - value but in fact the pi I am using is throttling due to insufficient power and that is not represented correctlyyou can see it in the attached screenshot that the frequency is dipping, but btop shows 2Ghz constantly
you can check the real value via vcgenmod
vcgencmd measure_clock arm
https://www.raspberrypi.com/documentation/computers/os.html#vcgencmd
To Reproduce
compare cpu freq in btop to
vcgencmd measure_clock arm
Expected behavior
the dips in frequency should be represented accordingly
Screenshots
Info (please complete the following information):
1.2.7
self compiled
aarch64
Linux - Debian GNU/Linux 11 (bullseye)
5.15.32-v8+
Possible solution/Feature Request
change the
get_cpuHz()
function to get the current frequency via thevcgencmd measure_clock arm
commandyou could even add a warning if it is throtteling due to temperature or undervoltage
if i don't forget this issue, i could write a PR - concerning this issue