Unable to change power profile

powerprofilesctl list
$ powerprofilesctl list
  performance:
    CpuDriver:  amd_pstate
    PlatformDriver:     platform_profile
    Degraded:   no

* balanced:
    CpuDriver:  amd_pstate
    PlatformDriver:     platform_profile

  power-saver:
    CpuDriver:  amd_pstate
    PlatformDriver:     platform_profile
powerprofilesctl set performance
$ powerprofilesctl set performance
Failed to communicate with power-profiles-daemon: g-io-error-quark: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code13: Failed to activate CPU driver 'amd_pstate': Error writing '/sys/devices/system/cpu/cpufreq/policy11/boost': Invalid argument (13)
inxi -GSaz
$ sudo inxi -GSaz
System:
  Kernel: 6.11.3-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.2.1 clocksource: tsc
    avail: hpet,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-6.11.3-1-default
    root=UUID=dd274b2c-7420-497c-b1c7-8bf5ff7f80f8 splash=silent quiet nvidia_drm.modeset=1
    fbdev=1 security=apparmor mitigations=auto rd.driver.blacklist=nouveau
  Console: pty pts/2 DM: 1: GDM v: 47.0 2: SDDM note: stopped Distro: openSUSE Tumbleweed
    20241017
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: ASUSTeK driver: nvidia
    v: 560.35.03 alternate: nouveau,nvidia_drm non-free: 550.xx+ status: current (as of 2024-09;
    EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: none off: DP-1 empty: DP-2,DP-3,HDMI-A-1
    bus-ID: 13:00.0 chip-ID: 10de:2504 class-ID: 0300
  Display: unspecified server: X.org v: 1.21.1.12 with: Xwayland v: 24.1.3 compositor: kwin_x11
    driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch tty: 211x29
  Monitor-1: DP-1 model: Dell G2722HS serial: <filter> built: 2023 res: 1920x1080 dpi: 82
    gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes: max: 1920x1080
    min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2 drv: swrast gbm:
    drv: nvidia surfaceless: drv: nvidia inactive: wayland,x11,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.1.7 note: console (EGL sourced)
    renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2, llvmpipe (LLVM 18.1.8 256 bits)
  API: Vulkan v: 1.3.296 layers: 6 device: 0 type: discrete-gpu name: NVIDIA GeForce RTX 3060
    driver: N/A device-ID: 10de:2504 surfaces: N/A
inxi -azC
$ sudo inxi -azC
CPU:
  Info: model: AMD Ryzen 5 5600X socket: AM4 bits: 64 type: MT MCP arch: Zen 3+ gen: 3 level: v3
    note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x21 (33) stepping: 0
    microcode: 0xA201016
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 550 min/max: 550/5028 boost: disabled base/boost: 4000/4650 scaling:
    driver: amd-pstate-epp governor: powersave volts: 1.1 V ext-clock: 100 MHz cores: 1: 550 2: 550
    3: 550 4: 550 5: 550 6: 550 7: 550 8: 550 9: 550 10: 550 11: 550 12: 550 bogomips: 96034
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: always-on; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

The CPU is set at a manual frequency in BIOS, 4.0 GHz, could that be the cause of the issue?

https://bugzilla.opensuse.org/show_bug.cgi?id=1231728

1 Like

My system has KDE 6.2.1 (one of the people in the bug report mention KDE 6.2.1 having resolved the problem) and I’ve also used the workaround to this systemctl --user restart plasma-powerdevil yet the bug is still present

Setting a freq in BIOS may override powerdevil???

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.