CPUs frequency capped to minimum on AMD

Hello, I just installed diet-pi on an old AMD 5350, but my cpu speed is capped to 800MHz, instead of 2050MHz
Can you help me fix this?

some info:

#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 
2050000 1850000 1650000 1400000 1200000 1000000 800000


 DietPi CPU Info
 Use dietpi-config to change CPU / performance options
 Architecture |     x86_64
 Temperature  |     12 °C / 53 °F : Who put me in the freezer!
 Governor     |     schedutil

                 Current Freq    Min Freq   Max Freq
 CPU0         |      799 MHz      800 MHz    800 MHz
 CPU1         |      799 MHz      800 MHz    800 MHz
 CPU2         |      799 MHz      800 MHz    800 MHz
 CPU3         |      799 MHz      800 MHz    800 MHz

[ INFO ] DietPi-CPU_info | CPU current frequency, may be affected by this script, due to the processing required to run it.


CPU: Quad Core AMD Athlon 5350 APU with Radeon R3 (-MCP-) 
speed/max: 800/800 MHz Kernel: 5.10.0-13-amd64 x86_64 Up: 22m 
Mem: 421.8/11406.5 MiB (3.7%) Storage: 521.66 GiB (0.3% used) Procs: 105 
Shell: Bash inxi: 3.3.01

As you can see in scaling_available_frequencies there is 2050MHz available, but other tools don’t recognize it. In fact, the single cpu is slow. Even the dietpi-config tools (the one to adjust conservative vs performance CPU) is just showing 800MHz as option. Finally, when I check in UEFI at boot, it shows correctly 2050MHz as CPU speed.


let me ping the developer MichaIng

Also the temperature doesn’t look correct :smiley:.

Can you check:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq

Does it work with ondemand CPU governor?

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor