Powerdevil fails, Energy settings unavailable

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.

The original report on the KDE bug tracker is from an Arch Linux user.

I don’t have any issue myself, but I also don’t have either a DDC capable monitor or power-profiles-daemon installed.

EDIT In the interest of science I installed power-profiles-daemon. Still no issue. So I suspect that the problem only happens if you have a DDC capable monitor (try ddcutil detect).

Going through the downgrade today and noticed that powerdevil-5.27.9-1 is not available on my system

5.27.9.r3021.gc299adfc located in remote and 5.27.9 in /var/cache/pacman/pkg

Where can I download 5.27.9.1? As Choosing 5.27.8 results in other issues :

Sudo downgrade powerdevil                                                                                                               1 ✘  52s   base  
loading packages...
warning: downgrading package powerdevil (5.27.9-2 => 5.27.8.r2967.g4a72772a-1)
resolving dependencies...
warning: cannot resolve "bluez-qt", a dependency of "powerdevil"
warning: cannot resolve "networkmanager-qt", a dependency of "powerdevil"
:: The following package cannot be upgraded due to unresolvable dependencies:
      powerdevil

:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'bluez-qt' required by powerdevil
:: unable to satisfy dependency 'networkmanager-qt' required by powerdevil

Update: Rebooted fine & powerdevil is only consuming 1% of cpu time, the system stable and the network seems fine too. But Power management settings are still inaccessible. Thanks for all the help.

It is from the bug report thread. It was suggested that you use manjaro-downgrade
With that you don’t need to manually download it
With that you should have access to it via command line so logout and in tty:

sudo pacman -S manjaro-downgrade
#this remove the package "downgrade" for you also
sudo manjaro-downgrade powerdevil
#from there version .....9.1 should be offered, select that and confirm
reboot

EDIT

This was posted as a solution but I haven’t tried it

https://bugs.kde.org/show_bug.cgi?id=476375


[Altamush Nayyer Khan] in: 476375 – Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

For anyone who is still having issues with this, please read this post: [SOLVED] KDE plasma power management not working / starting / Applications & Desktop Environments / Arch Linux Forums

Although I released a solution, this one appears to be working better. Only the KDE devs can tell whether this solution or mine is safe or not for the people that are facing this issue. I hope this bug is pushed, and fixed quickly as some people that are using KDE might not even know why their system is hitching due to this.

You should edit the timeout after you have installed these latest versions of powerdevil & ddcutil, because the update resets it to 5s.

Hm, it is working fine as in you get screen brightness now that is working along Night Color.

For the 3 energy options Power Save / Balanced / Performance that do reappear too, the slider will not hold i. e. I don’t think it sets them while logged in. However drag that slider where you want it, maybe try a few times :slight_smile: then logout and login and the slider is set. Must be working that way, or how do you make sure the option is in fact in tact after the re-login?
If so, this is a workaround I can live with so a while, latest versions, 1 logo-logi required for changed things to come into effect.
No powerdevil cpu hassle or anything. Thanks for mentioning.

1 Like

Still finding this issue today after the most recent Manjaro updates. The downgrade now throws dependency errors because of the renaming of KDE packages. I’m sure there’s a way to force it, but instead I tried this workaround:

https://bbs.archlinux.org/viewtopic.php?id=289979

Immediately after reboot, the problem is solved. I haven’t done any long-term testing though, as I just made the change 10 minutes ago.

3 Likes

And 5 days later?

Oh, sorry if I left you with the impression that I’d actually be doing that long-term testing. The only PC in my house that’s been affected so far is a rarely-used workshop PC. It spends most of its life turned off.

I can tell you though, after sitting a few hours it was still fine, and when I booted it up a couple of days later to check something it also was behaving itself. So as workarounds go this one seems safe.

1 Like

Has this been fixed with the 2023-12-10 stable update?

EDIT: Is not fixed, I had to downgrade the ddcutil & powerdevil again.

1 Like

Hint: if something isn’t mentioned in the respective Update announcement, then, it’s a fair guess that thing hasn’t been fixed.

Yeah, I’ve found the upstream bug report now so I’ll keep an eye on that.

2 Likes

It’s a fair question, since Powerdevil received an update. Will soon do the system update and post if it works without downgrading on either linux66, linux61 or linux515.

I haven’t tried if it’s kernel related yet.


Edit, so now I have. And it’s not kernel-related. Maybe their HDR thing?
Anyone affected having an HDR-capable display connected?

This worked for me as well, energy settings are back with these workarounds. I think this workaround should be implemented in the official package, if it takes weeks to get a proper fix in stable.

Here’s the latest on the bug… we’ve figured out how to get around it, but the next step seems like data collection so it can be fixed for real.

https://bugs.kde.org/show_bug.cgi?id=476375#c60

They said they fixed it, but it’s not (yet?) backported to 5.27.
It’s in Plasma 6 however. :slight_smile:
It’s said to work with the complete list of affected monitors again, with current ddcutil 2.0. :slight_smile:
(( There is however a new(?) issue with ddcutil 2.1 . ))
Unsure if we can mark this solved if it’s not backported, I’m on Stable so I don’t want to test.

@1efaf7d71a8637c6800a, if you have a specific (new) issue, please open a new topic.