Closed Zennwah closed 4 months ago
and I even double checked my BIOS to see if it was set to the default value.
Fastfetch always shows the maximum boost frequency, while neofetch shows BIOS limited frequency if set. Seems you set the CPU frequency to 3.6 GHz explicitly in BIOS. If true, this behavior is expected.
Explanation: https://wiki.archlinux.org/title/CPU_frequency_scaling#BIOS_frequency_limitation
Please paste the output of
cat /sys/devices/system/cpu/cpu*/cpufreq/bios_limit
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu*/cpufreq/base_frequency
The AMD official CPU spec reads Max. Boost Clock: Up to 4.4GHz
and Base Clock: 3.6GHz
It's worth noting that neofetch always shows the frequency of first core. For CPU that uses performance / efficiency core (not the case for AMD CPUs), the first core is usually, but not necessarily the performance core.
cat /sys/devices/system/cpu/cpu*/cpufreq/bios_limit
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
3600000
There's no base_frequency file in my case.
Is there any way I can edit the config file to display the BIOS limited frequency?
Not yet. Can I ask why did you limit the max CPU frequency?
I was trying to see if it changed anything in fastfetch since my BIOS config was reset. I must've accidentally pressed the power button for too long recently when emergency powering off at a freeze. At first I thought it bugged out because of that reset and displayed the wrong numbers, but now that I know it displays the max frequency and other programs show the bios limit, I'll change it back to Auto or 4,0. I played around with the config file a bit to display the current and max freqs. I'm trying to wrap my head around on how to add freqNdigits in there to limit the decimal numbers, could you give me a hint? I appreciate your help and time. Other than that you can consider the issue closed.
It seems that the format option overrides freqNdigits. It works when I cut the whole format line out and displays, for example, 3 decimal numbers. But when I put format back in, it displays the full frequencies. I'll close the issue with this comment since there's nothing I can do about it.
It was just fixed yesterday
https://github.com/fastfetch-cli/fastfetch/commit/3571d9277d9ae4754e9d1ac6c3966974ffdfff5f
Thanks, I installed fastfetch-git with yay and it's all working now.
Be sure to read FAQ before submitting a new issue.
General description of bug: I installed fastfetch as an alternative for neofetch, but it displays the wrong frequency for my CPU, doesn't happen in neofetch or screenfetch and I even double checked my BIOS to see if it was set to the default value.
Often helpful information:
Screenshot:
The content of the configuration file you use (if any):
Output of
fastfetch -c ci.jsonc --format json
:Output of
fastfetch --list-features
: