[PSA/Solved] Ryzen stuck at base clock on Tumbleweed? Check your power profile before suspecting the BIOS or the kernel

Hi everyone,

Short write-up of a problem that cost me half a day and turned out to be a configuration issue, not a bug. Posting it because the symptoms point convincingly in the wrong direction, and the fix takes ten seconds once you know where to look.

Full disclosure: I worked through this with the help of an AI assistant (Claude), including the wrong lead. Everything below I ran and verified myself.

System: openSUSE Tumbleweed, kernel 7.2.11, KDE Plasma 6, AMD Ryzen 9 5950X on an MSI MEG X570 UNIFY, amd-pstate-epp, power-profiles-daemon 0.30. Desktop, no battery.

Symptom: after upgrading from a Ryzen 9 3900X, the 5950X never went above 3.4 GHz (its base clock) under any load. Package power sat around 105 W instead of the 142 W limit, and a clean darktable build was slower than on the old CPU (78–82 s vs 73 s).

Why it was misleading: everything I knew to check said boost was enabled. The BIOS had Core Performance Boost on Auto, the CPB-disable bit in MSR 0xC0010015 was 0 on every core, cpupower frequency-info said boost was supported, and /sys/devices/system/cpu/cpufreq/boost read 1. I spent a day on BIOS settings, MSRs and the amd-pstate driver.

The cause: the system was in the power-saver profile, and power-profiles-daemon disables CPU boost in that profile on amd-pstate systems. It does so through the per-policy files /sys/devices/system/cpu/cpu*/cpufreq/boost, not the global one, so the global file keeps saying 1 while every core has boost off and cpuinfo_max_freq is clamped to the nominal frequency. Nothing in the BIOS and nothing in the kernel was wrong.

The check (10 seconds):

powerprofilesctl get
cat /sys/devices/system/cpu/cpu*/cpufreq/boost | sort | uniq -c
cat /sys/devices/system/cpu/cpu0/cpufreq/{cpuinfo_max_freq,amd_pstate_max_freq}

If the profile is power-saver, the per-policy boost files are 0 and cpuinfo_max_freq is lower than amd_pstate_max_freq, it’s the profile.

The fix: powerprofilesctl set balanced. Instant and reproducible in both directions on my machine:

power-saver:  boost 0   cpuinfo_max_freq 3401000
balanced:     boost 1   cpuinfo_max_freq 5086181

ppd remembers the last profile in /var/lib/power-profiles-daemon/state.ini, so a power-saver set once (in my case probably from the tray applet, months ago) comes back at every boot. If you want it enforced, Plasma’s System Settings > Power Management > Switch to power profile re-applies the chosen profile at every login.

Results after the fix: the darktable build went from 78–82 s to 65 s, with the CPU at ~4.0 GHz all-core at the 142 W limit and 4.7–4.9 GHz single-thread. For what it’s worth, three runs each in balanced and performance were identical within noise (64.8–65.1 s): under a sustained all-core load the CPU is power-limited either way, so there is no reason to keep a desktop in performance “just in case”.

Takeaway: if a Ryzen looks stuck at base clock, check powerprofilesctl get and the per-policy boost files before touching the BIOS. Whether fully disabling boost in power-saver is the right default on a desktop without a battery is a fair question, but it’s a design choice, not a bug.

Thanks for reading.

1 Like