Cpu Governor resets upon reboot. Apparently Cpupower.service conflicts with power-profiles-daemon

i try to set my CPU scaling governor to Performance.

after enabling and starting the cpupower.service , then running the following command:
sudo cpupower frequency-set -g performance and editing /etc/default/cpupower ;
i am able to set it to performance,but it resets upon reboot.

i found this thread:
Cpupower doesn't set governor on boot - Kernel, boot, graphics & hardware - EndeavourOS
which provides a solution(i haven’t tried it yet) and apparently cpupower.service conflicts with power-profiles-daemon.service

is it normal i have both installed on KDE? is it related to them wanting to integrate a Power profile widget?
i have nothing of this sort :

can i safely follow the solution provided and disable/mask this service(power-profiles-daemon.service)?

inxi -Fazy
  Kernel: 6.1.62-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=2c155c12-a203-4f76-83f3-c5a47e892804 rw quiet splash
    resume=UUID=906e149c-5c8b-4b11-91fd-041805a54c5a udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING Z790-PLUS WIFI D4 v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 0809
    date: 01/06/2023
  Info: model: 13th Gen Intel Core i7-13700K bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
    microcode: 0x119
  Topology: cpus: 1x cores: 16 mt: 8 tpc: 2 st: 8 threads: 24 smt: enabled
    cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32 KiB, 8x64 KiB
    L2: 24 MiB desc: 8x2 MiB, 2x4 MiB L3: 30 MiB desc: 1x30 MiB
  Speed (MHz): avg: 812 high: 1100 min/max: 800/5300:5400:4200 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 1100 10: 800 11: 800 12: 800 13: 800 14: 800
    15: 800 16: 800 17: 800 18: 800 19: 800 20: 800 21: 800 22: 800 23: 800
    24: 800 bogomips: 164088
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti GDDR6X] vendor: ASUSTeK
    driver: nvidia v: 535.129.03 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2023-11; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:24c9 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.9 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.70x13.46")
    s-diag: 692mm (27.26")
  Monitor-1: DP-2 res: 2560x1440 dpi: 65024 size: 1x1mm (0.04x0.04")
    diag: 1mm (0.06") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: gbm: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 535.129.03 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
    memory: 7.81 GiB
  API: Vulkan v: 1.3.269 layers: 5 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3060 Ti driver: nvidia v: 535.129.03 device-ID: 10de:24c9
    surfaces: xcb,xlib
  Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:7a50
    class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  API: ALSA v: k6.1.62-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.84 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3
    chip-ID: 8086:7a70 class-ID: 0280
  IF: wlp0s20f3 state: down mac: <filter>
  Device-2: Intel Ethernet I226-V vendor: ASUSTeK driver: igc v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0 chip-ID: 8086:125c
    class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:5 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
    driver: vmd v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:a77f rev:
    class-ID: 0104
  Local Storage: total: 931.51 GiB used: 236.72 GiB (25.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 1B2QJXD7 temp: 42.9 C
    scheme: GPT
  ID-1: / raw-size: 922.42 GiB size: 906.86 GiB (98.31%)
    used: 236.72 GiB (26.1%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
  System Temperatures: cpu: 29.0 C mobo: N/A gpu: nvidia temp: 53 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
  Processes: 396 Uptime: 31m wakeups: 0 Memory: total: 32 GiB note: est.
  available: 31.09 GiB used: 4.18 GiB (13.4%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1219 libs: 366 tools: pamac pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.2.15 running-in: konsole inxi: 3.3.31

Hi @linub,

I don’t have the service on my PC, so it’s not standard. So before you mask the service, try finding out where it came from. What is the output of:

systemctl status power-profiles-daemon.service
1 Like

my Kde install is quit recent (a few moths,i think it was Sikaris):

systemctl status power-profiles-daemon.service                                                                                                                             ✔ 
● power-profiles-daemon.service - Power Profiles daemon
     Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; disabled; preset: disabled)
     Active: active (running) since Sat 2023-11-18 15:07:31 ; 53min ago
   Main PID: 1291 (power-profiles-)
      Tasks: 4 (limit: 38173)
     Memory: 3.5M
        CPU: 8ms
     CGroup: /system.slice/power-profiles-daemon.service
             └─1291 /usr/lib/power-profiles-daemon

Nov 18 15:07:31  systemd[1]: Starting Power Profiles daemon...
Nov 18 15:07:31  systemd[1]: Started Power Profiles daemon.


What’s the output of:

pacman -Qo /usr/lib/systemd/system/power-profiles-daemon.service
1 Like

/usr/lib/systemd/system/power-profiles-daemon.service is owned by power-profiles-daemon 0.13-1

OK, and what’s the output of:

pamac search --installed power
1 Like
slang  2.3.3-2                                                                                                                                                                       extra
    S-Lang is a powerful interpreted language
acpid  2.0.34-1                                                                                                                                                                      extra
    A daemon for delivering ACPI power management events with netlink support
acpi  1.7-3                                                                                                                                                                          extra
    Client for battery, power, and thermal readings
zsh-theme-powerlevel10k  1.19.0-1                                                                                                                                                    extra
    Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience.
upower  1.90.2-1                                                                                                                                                                     extra
    Abstraction for enumerating power devices, listening to device events and querying history and statistics
ttf-meslo-nerd-font-powerlevel10k  20230403-2                                                                                                                                        extra
    Meslo Nerd Font patched for Powerlevel10k
cpupower  6.5-1                                                                                                                                                                      extra
    Linux kernel tool to examine and tune power saving related features of your processor
powertop  2.15-1                                                                                                                                                                     extra
    A tool to diagnose issues with power consumption and power management
powerdevil  5.27.9-2                                                                                                                                                                 extra
    Manages the power consumption settings of a Plasma Shell
power-profiles-daemon  0.13-1                                                                                                                                                        extra
    Makes power profiles handling available over D-Bus

i also ran this:

pacman -Qi power-profiles-daemon                                                                                                                                         1 ✘ 
Name            : power-profiles-daemon
Version         : 0.13-1
Description     : Makes power profiles handling available over D-Bus
Architecture    : x86_64
URL             : https://gitlab.freedesktop.org/hadess/power-profiles-daemon
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : upower  polkit
Optional Deps   : python-gobject: for powerprofilesctl [installed]
Required By     : None
Optional For    : powerdevil
Conflicts With  : None
Replaces        : None
Installed Size  : 81.65 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Wed 26 Apr 2023 21:47:39
Install Date    : Sun 03 Sep 2023 07:20:00
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

And I don’t have it installed, so I think it’s safe to remove it:

pamac remove power-profiles-daemon

I only have cpupower:

$ pamac search --installed cpupower
cpupower  6.5-1                                                                                                                                                                                                                                         extra
Linux kernel tool to examine and tune power saving related features of your processor
1 Like

i think it’s safer for now to disable/mask it,
and hopefully one of the maintainers will have more insight on why did it come with my installation (which also is the minimal one).


1 Like

I don’t have power-profiles-daemon but it got added to KDE desktop install earlier this year (my install is much older than that).

It’s completely safe to remove it, in fact I installed and removed it again only last week while testing something.

1 Like

All Manjaro ISOs include cpupower but KDE ISOs also include power-profiles-daemon

cpupower.service is not enabled by default
and /etc/default/cpupower is not configured to use performance CPU governor by default


so apparently i was supposed to use the power-profiles-daemon but then enabled cpupower.

i’ll start with Disabling it and than remove it .


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