Public bug reported:
Summary
-------
On Ubuntu 26.04.1 with kernel 7.0.0-43-generic, the amd_pstate driver fails to
initialize on every CPU of a Ryzen 5 4600G (Renoir, Zen 2, shared-memory CPPC).
The kernel falls back to acpi-cpufreq. As a result power-profiles-daemon has no
CPU driver ("PlatformDriver: placeholder") and the GNOME "Performance" power
mode is missing.
CPPC is enabled in the BIOS (AMD CBS -> NBIO Common Options -> SMU Common
Options -> CPPC = Enabled), and the ACPI _CPC data is visible to the OS
(/sys/devices/system/cpu/cpu0/acpi_cppc/ is populated, see below).
Hardware / software
-------------------
- CPU: AMD Ryzen 5 4600G with Radeon Graphics (family 23 / 0x17, model 96 /
0x60, stepping 1), microcode 0x860010f
- Board: ASUS PRIME A320I-K, BIOS 6254 (2026-01-23)
- OS: Ubuntu 26.04.1 LTS
- Kernel: Ubuntu 7.0.0-43.43-generic 7.0.14 (CONFIG_X86_AMD_PSTATE=y,
CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3)
- Kernel cmdline includes: amd_pstate=active
Steps to reproduce
------------------
1. Enable CPPC in BIOS.
2. Boot 7.0.0-43-generic with amd_pstate=active (the kernel's default mode is
also active).
3. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
Expected: amd-pstate-epp
Actual: acpi-cpufreq; /sys/devices/system/cpu/amd_pstate/ does not exist
Kernel log (identical on every boot)
------------------------------------
amd_pstate: The CPPC feature is supported but currently disabled by the BIOS.
Please enable it if your BIOS has the CPPC option.
amd_pstate: failed to set auto_sel, ret: -95
amd_pstate: Failed to initialize CPU 0: -95
amd_pstate: failed to set auto_sel, ret: -95
amd_pstate: Failed to initialize CPU 1: -95
... (same for CPUs 2-11)
amd_pstate: failed to register with return -19
ACPI CPPC values exposed by firmware (cpu0)
-------------------------------------------
highest_perf=255
nominal_perf=219
reference_perf=219
lowest_nonlinear_perf=141
lowest_perf=24
guaranteed_perf=0
nominal_freq=3701
lowest_freq=400
feedback_ctrs present (counters increasing)
Analysis
--------
- The "CPPC ... disabled by the BIOS" warning appears to be a heuristic for this
CPU model when X86_FEATURE_CPPC (MSR CPPC) is absent; Renoir uses the
shared-memory (ACPI _CPC) path, and _CPC is present.
- The actual failure is cppc_set_auto_sel() returning -EOPNOTSUPP (-95), which
suggests the firmware's _CPC package does not implement the Autonomous
Selection Enable register. The driver treats this as fatal for each CPU
instead of continuing without auto_sel.
- Expected behaviour: if auto_sel is not supported, the driver should log a
warning and continue (or fall back to a mode that does not require it),
rather than failing registration entirely.
References
----------
- Same error on Proxmox kernel 6.17 with Ryzen 4650G (also Renoir) and other AM4
systems; reported working on kernel 6.8:
https://forum.proxmox.com/threads/cant-get-amd-pstate-to-work-it-used-to-be-fine.177103
- Related upstream patch "Fix EPP initialization for shared memory systems"
(June 2026), which calls cppc_set_auto_sel() but only warns on failure:
https://patchew.org/linux/[email protected]/mbox
I am happy to test a proposed fix or a mainline kernel.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-43-generic 7.0.0-43.43
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 20 21:40:29 2026
InstallationDate: Installed on 2024-07-18 (855 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64
(20240220)
MachineType: System manufacturer System Product Name
ProcFB: 0 nvidia-drmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-43-generic
root=/dev/mapper/main-root ro quiet splash amd_pstate=active
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-07-18 (125 days ago)
dmi.bios.date: 01/05/2026
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 6254
dmi.board.asset.tag: Default string
dmi.board.name: PRIME A320I-K
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvr6254:bd01/05/2026:br5.17:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEA320I-K:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:pfaTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175435
Title:
amd_pstate fails to load on Zen 2 (Ryzen 5 4600G, shared-memory CPPC):
"failed to set auto_sel, ret: -95", falls back to acpi-cpufreq
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175435/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs