Powerdevil fails, Energy settings unavailable

If it’s not in cache use the downgrade tool - Downgrading packages - Manjaro

1 Like

noticed this a few days ago too, according to my system manager it consumes roughly 17-25% of my cpu time

Nov 11 09:06:37 lightning-box1 systemd[729]: Starting Powerdevil...
Nov 11 09:06:37 lightning-box1 dbus-daemon[547]: [system] Activating service name='org.kde.powerdevil.discretegpuhelper' requested by ':1.25' (uid=1000 pid=892 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 11 09:06:37 lightning-box1 dbus-daemon[547]: [system] Successfully activated service 'org.kde.powerdevil.discretegpuhelper'
Nov 11 09:06:37 lightning-box1 dbus-daemon[547]: [system] Activating service name='org.kde.powerdevil.chargethresholdhelper' requested by ':1.25' (uid=1000 pid=892 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 11 09:06:37 lightning-box1 dbus-daemon[547]: [system] Successfully activated service 'org.kde.powerdevil.chargethresholdhelper'
Nov 11 09:06:37 lightning-box1 dbus-daemon[547]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.25' (uid=1000 pid=892 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 11 09:06:37 lightning-box1 backlighthelper[944]: org.kde.powerdevil: no kernel backlight interface found
Nov 11 09:06:37 lightning-box1 dbus-daemon[547]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
Nov 11 09:06:37 lightning-box1 org_kde_powerdevil[892]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Nov 11 09:06:37 lightning-box1 org_kde_powerdevil[892]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Nov 11 09:06:38 lightning-box1 kded5[839]: kscreen.kded: PowerDevil SuspendSession action not available!
Nov 11 09:06:42 lightning-box1 systemd[729]: plasma-powerdevil.service: start operation timed out. Terminating.
Nov 11 09:06:43 lightning-box1 systemd[729]: plasma-powerdevil.service: Failed with result 'timeout'.
Nov 11 09:06:43 lightning-box1 systemd[729]: Failed to start Powerdevil.
Nov 11 09:06:43 lightning-box1 systemd[729]: plasma-powerdevil.service: Consumed 5.354s CPU time.
Nov 11 09:06:43 lightning-box1 systemd[729]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 1.
Nov 11 09:06:43 lightning-box1 systemd[729]: Starting Powerdevil...
Nov 11 09:06:43 lightning-box1 org_kde_powerdevil[1132]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"

^ and this repeats over and over again.

Power management settings are inaccessible, any news on a fix apart from downgrading?

Which kernel are you using?

6.1.60-1-MANJARO (64-bit)

downgrade also pulls the package versions from cache i.e. for me it’s either …8.2 or …9.2
Which doesn’t get me a fully featured Plasma.
My only solution would be Timeshifting back to Plasma 5.27.8 (state before the latest Stable update) iff I can not find that …9.1 version somewhere. I would not want to try installing a Debian package in an Arch based system :smiley:

Wait wait… it’s linked in the thread below :slight_smile: https://archive.archlinux.org/packages/p/powerdevil/powerdevil-5.27.9-1-x86_64.pkg.tar.zst
I’m just missing its signature now

In the thread I get the felling they are still searching for the root of all evil in Powerdevil. But Nate was on it with his pointed stick a few days ago. 476375 – Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

manjaro-downgrade should be used instead.

For a better version of the workaround mentioned in this link see the other thread:

2 Likes

Thank you @cscs. Although I did not include the signature, I have a fully featured system again, by downgrading

Powerdevil I manually downloaded from the link above.
I had to reboot to get to this fully featured result result.

Will install manjaro-downgrade now and use it next time. Does it take dependencies better in2 account?

It uses manjaro archive instead of arch … so yes, and including our overlays and unique packages.
(no mhwd or pamac package cached in arch linux archive)

Hm thank you @cscs. Now do I need to compare the two downgraded versions, i. e. are they different in Arch vs Manjaro archives?

In this case we dont augment those packages and get them straight from arch, so so long as the versions line up it should be fine.

1 Like

Ok in this case I want to give workaround commands for this thread or should people rather use your file editing solution @cscs? The manjaro-downgrade workaround assumes once this is fixed people do not need to do anything else but apply the 2 updates the normal way… Versus your linked solution probably needs file editing again.

Both are workarounds, and both are somewhat distasteful.
Its a bug that needs to be fixed. When the new version lands that will be the real solution.

Strange thing though is that my laptop didn’t have to downgrade, everything worked out-of-the-box, prbb. due to it having a battery, so the bug does not apply to it, at least on the LTE kernel.

I was wondering and maybe you know: The brightness level had a slider in systray on the …9.2 version accompanied with the (non-working, because it doesn’t undim upon usage) auto-dim in System Settings > Energy Saving. It was set to 80% by default.
Right now there’s no gui for that is there? I mean with Powerdevil …9.1 ? I once had a widget but I could either use Night Color OR brightness with that.


Log out of your session
CTRL+ALT+F3
login: username
your password
sudo manjaro-downgrade powerdevil
select version powerdevil-5.27.9-1 and confirm
sudo manjaro-downgrade ddcutil
select version ddcutil-1.4.1-1 and confirm
reboot
If either of the versions is not there you need to download them and copy or move them to /var/cache/pacman/pkg
For this you need sudo privileges and redo the above. You’ll get out of TTY by CTRL+ALT+F2 :wink:

Huh, I thought it was called that but then when I got the Manjaro wiki link to post it says downgrade:man_shrugging:

1 Like

Try instead the newly released 6.6 kernel.

I don’t think this will necessarily solve the issue, however, it might help to further define the cause. Errors may still exist, but might appear differently.

Also, please provide output of:

inxi -v7azy

Thanks, though I would rather stick with the LTS than risk knocking this box out of service. The nuisance is only minor so I will buckle up and wait for the fix. Have a laptop backup and mint on another box. My main box is old but usually stable,

the inxi -v7azy output you requested just for your interest

inxi -v7azy                                                                                                                                       ✔  base  
System:
  Kernel: 6.1.60-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=0aa1d17b-7f6e-49a4-bc8a-1ccbf9f37832 rw quiet
    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
Machine:
  Type: Desktop Mobo: ASUSTeK model: F2A85-V PRO v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 6504
    date: 11/27/2014
Battery:
  Device-1: hidpp_battery_0 model: Logitech M570 serial: <filter> charge: 65%
    rechargeable: yes status: discharging
Memory:
  System RAM: total: 16 GiB note: est. available: 14.84 GiB
    used: 3.26 GiB (22.0%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD A10-6800K APU with Radeon HD Graphics bits: 64 type: MT MCP
    arch: Piledriver level: v2 built: 2012-13 process: GF 32nm family: 0x15 (21)
    model-id: 0x13 (19) stepping: 1 microcode: 0x6001119
  Topology: cpus: 1x cores: 4 smt: enabled cache: L1: 192 KiB
    desc: d-4x16 KiB; i-2x64 KiB L2: 4 MiB desc: 2x2 MiB
  Speed (MHz): avg: 2555 high: 4181 min/max: 2000/4100 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2000 2: 4181
    3: 2039 4: 2000 bogomips: 33465
  Flags: 3dnowprefetch abm aes aperfmperf apic arat avx bmi1 clflush cmov
    cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists
    extapic extd_apicid f16c flushbyasid fma fma4 fpu fxsr fxsr_opt ht
    hw_pstate ibs lahf_lm lbrv lm lwp mca mce misalignsse mmx mmxext monitor
    msr mtrr nodeid_msr nonstop_tsc nopl npt nrip_save nx osvw pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_nb pfthreshold pge pni
    popcnt pse pse36 rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2
    sse4a ssse3 svm svm_lock syscall tbm tce topoext tsc tsc_scale vmcb_clean
    vme vmmcall wdt xop xsave
  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: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow status: Not affected
  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, STIBP: disabled, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Richland [Radeon HD 8670D] vendor: ASUSTeK driver: radeon
    v: kernel alternate: amdgpu arch: TeraScale-3 code: Northern Islands
    process: TSMC 32nm built: 2010-13 ports: active: none off: VGA-1
    empty: DP-1,HDMI-A-1 bus-ID: 00:01.0 chip-ID: 1002:990c class-ID: 0300
  Device-2: AMD Turks XT [Radeon HD 6670/7670] vendor: ASUSTeK driver: radeon
    v: kernel alternate: amdgpu arch: TeraScale-2 code: Evergreen
    process: TSMC 32-40nm built: 2009-15 pcie: gen: 2 speed: 5 GT/s lanes: 16
    ports: active: HDMI-A-2 empty: DVI-D-1,VGA-2 bus-ID: 01:00.0
    chip-ID: 1002:6758 class-ID: 0300 temp: 37.0 C
  Device-3: Huawei [] driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2 chip-ID: 12d1:4321
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.9 compositor: kwin_x11 driver: X:
    loaded: radeon unloaded: modesetting alternate: fbdev,vesa dri: r600
    gpu: radeon display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-2 mapped: HDMI-1 pos: primary model: Philips PHL 243V7
    serial: <filter> built: 2020 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: VGA-1 mapped: VGA-1-0 note: disabled model: Philips PHL 243V7
    serial: <filter> built: 2020 res: 1920x1080 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
    drv: r600 device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: r600
    x11: drv: r600 inactive: wayland
  API: OpenGL v: 4.5 vendor: mesa v: 23.1.9-manjaro1.1 glx-v: 1.4
    direct-render: yes renderer: AMD TURKS (DRM 2.50.0 / 6.1.60-1-MANJARO LLVM
    16.0.6) device-ID: 1002:6758 memory: 1.95 GiB unified: no
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: AMD Trinity HDMI Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:01.1 chip-ID: 1002:9902 class-ID: 0403
  Device-2: AMD FCH Azalia vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
  Device-3: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aa90 class-ID: 0403
  Device-4: Huawei [] driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2 chip-ID: 12d1:4321
    class-ID: 0102 serial: <filter>
  Device-5: GN Netcom [] driver: jabra,snd-usb-audio,usbhid type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-2:3 chip-ID: 0b0e:0301
    class-ID: 0300 serial: <filter>
  API: ALSA v: k6.1.60-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.83 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
Network:
  Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:08b1 class-ID: 0280
  IF: wlp3s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK P8 series driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 05:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: deprecated dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-5:4 chip-ID: 8087:07dc
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 566.38 GiB used: 197.08 GiB (34.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 66B5 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SDSSDP128G
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Kingston model: SA400S37240G
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 66B5 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 223.27 GiB size: 218.71 GiB (97.96%)
    used: 197.08 GiB (90.1%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 0aa1d17b-7f6e-49a4-bc8a-1ccbf9f37832
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
    uuid: 44DB-0EA5
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 119.24 GiB fs: exfat label: SPARE
    uuid: 91B2-2E16
  ID-2: /dev/sdc1 maj-min: 8:33 size: 223.57 GiB fs: btrfs label: Backup
    uuid: 449d017a-7d2b-4dc5-b5b8-ea2dbd233efd
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 2-0:1 info: full speed or root hub ports: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-3: 3-0:1 info: full speed or root hub ports: 5 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 1d6b:0001
    class-ID: 0900
  Device-1: 3-2:2 info: Dell KB212-B Quiet Key Keyboard type: keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 413c:2107 class-ID: 0301
  Device-2: 3-4:3 info: Logitech Unifying Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-3: 3-5:4 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:07dc class-ID: e001
  Hub-4: 4-0:1 info: full speed or root hub ports: 5 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 1d6b:0001
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-1:2 info: Huawei [] type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 2mA
    chip-ID: 12d1:4321 class-ID: 0102 serial: <filter>
  Device-2: 5-2:3 info: GN Netcom [] type: audio,HID
    driver: jabra,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 0b0e:0301 class-ID: 0300 serial: <filter>
  Hub-6: 6-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 8-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-9: 9-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-10: 10-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 13.4 C mobo: N/A
  Fan Speeds (rpm): N/A
  GPU: device: radeon temp: 37.0 C device: radeon temp: 5.0 C
Info:
  Processes: 219 Uptime: 37m wakeups: 0 Init: systemd v: 254 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 alt: 12 clang: 16.0.6 Packages: 1571
  pm: pacman pkgs: 1523 libs: 410 tools: pamac pm: flatpak pkgs: 48 Shell: Zsh
  v: 5.9 default: Bash v: 5.2.15 running-in: yakuake inxi: 3.3.31
    ~                                                                                              

Has anybody a clue why this is not needed in Arch, at least on my parallel Arch installation there are no issues at all with the newer versions. :thinking:

1 Like

You could do that.

The cause is likely due to this KDE issue Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds.

According to a comment in that report, ddcutil-1.4.1-1 and powerdevil-5.27.9-1 are the last known working combination.

So far, the only workaround has been to downgrade the two players ddcutil and powerdevil. See Downgrading Packages for more information.

There is also a convenient Manjaro-Downgrade script you could use:

pamac install manjaro-downgrade
2 Likes

I think its dependent on a number of other things.
I dont notice it either - but I use a custom kernel.
I also dont use power-profiles-daemon … maybe related to that?
Theres a KDE bug tracker going that might end up with more info.
Theres some ideas there:

1 Like

I don’t have it installed either.