On a fresh KDE install, the power profile slider is in the middle in Balanced position, whenever I try to change it to something else, it jumps back to the middle and a message: “Failed to activate Performance mode” is displayed.
Device info: https://clbin.com/mb8WV
Thanks!
Perhaps check if the daemon is running:
systemctl status power-profiles-daemon
Also try the options from the command line:
powerprofilesctl --help
Usage:
powerprofilesctl COMMAND [ARGS…]
Commands:
help Print help
version Print version
get Print the currently active power profile
set Set the currently active power profile
list List available power profiles
list-holds List current power profile holds
launch Launch a command while holding a power profile
For example:
powerprofilesctl list
systemctl status power-profiles-daemon
● power-profiles-daemon.service - Power Profiles daemon
Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-07-12 11:18:10 IST; 6h ago
Main PID: 527 (power-profiles-)
Tasks: 3 (limit: 9280)
Memory: 5.4M
CPU: 139ms
CGroup: /system.slice/power-profiles-daemon.service
└─527 /usr/lib/power-profiles-daemon
Jul 12 16:59:43 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 16:59:43 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 16:59:43 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 16:59:43 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 16:59:43 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 16:59:43 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 16:59:43 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 16:59:44 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 17:07:48 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Jul 12 17:07:49 Omen power-profiles-[527]: Failed to activate driver 'platform_profile': Error writing '/sys/firmware/acpi/platform_profile': Operation not supported
Also,
powerprofilesctl set power-saver Failed to communicate with power-profiles-daemon: g-io-error-quark: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code15: Error writing '/sys/fi rmware/acpi/platform_profile': Operation not supported (15)
What says:
powerprofilectl list
?
Also do you have some settings in your BIOS/UEFI firmware settings in respect to your CPU performance?
sudo inxi -azC
?
CPU:
Info: model: Intel Core i7-9750H socket: BGA1440 (U3E1) note: check
bits: 64 type: MT MCP arch: Coffee Lake gen: core 9 built: 2018
process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
microcode: 0xF0
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 800 high: 801 min/max: 800/4500 base/boost: 2574/8300
scaling: driver: intel_pstate governor: powersave volts: 0.9 V
ext-clock: 100 MHz cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800
7: 800 8: 800 9: 801 10: 800 11: 800 12: 800 bogomips: 62431
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
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: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
powerprofilesctl list
performance:
Driver: platform_profile
Degraded: no
* balanced:
Driver: platform_profile
power-saver:
Driver: platform_profile
`
No, don’t think so.
It’s not obvious to me what the cause of the failure is:
Perhaps more experienced forum members can take it from here and assist you.
Also, not sure if the following would reveal more info about this issue but it won’t hurt:
journalctl -b -0 | eos-sendlog
At the end, if all attempts to get power-profiles-daemon working would fail, you could use other alternatives like cpupower
to set the CPU frequency scaling.
Mobo: HP model: 8575 v: 21.17 serial: <superuser required> UEFI: AMI
v: F.23 date: 07/06/2021
Check if there is a BIOS/UEFI firmware update for your system.
Also, here is the power-profiles-daemon Gitlab’s page:
Have a look for similar issues.
I am also an HP OMEN user and have the same problem as you. When I just installed the ISO image of the previous version of garuda Linux, the power-profiles-daemon can be used normally. When I upgraded the system, the stable kernel was also upgraded, and I encountered the same error as you. I didn’t know the reason at the time, I tried to use the latest ISO image file and still reported the same error in live mode. When I switched to the LTS kernel it worked fine. I tried it under stable kernel, system76-power works fine, you can try to downgrade the kernel version or change to use system76-power.