You are not logged in.
This started yesterday. User service plasma-powerdevil.service gets stuck in a restart loop. I have to stop the service and manually run /usr/lib/org_kde_powerdevil to get KDE power management to work.
$ journalctl --user -f -u plasma-powerdevil.service
Sep 23 13:15:50 archdesk systemd[4039]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 40.
Sep 23 13:15:50 archdesk systemd[4039]: Starting Powerdevil...
Sep 23 13:15:50 archdesk libddcutil[686499]: Initializing. ddcutil version 1.4.1
Sep 23 13:15:50 archdesk libddcutil[686499]: Library initialization complete.
Sep 23 13:15:50 archdesk org_kde_powerdevil[686499]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Sep 23 13:15:50 archdesk org_kde_powerdevil[686499]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Sep 23 13:15:55 archdesk systemd[4039]: plasma-powerdevil.service: start operation timed out. Terminating.
Sep 23 13:15:57 archdesk systemd[4039]: plasma-powerdevil.service: Failed with result 'timeout'.
Sep 23 13:15:57 archdesk systemd[4039]: Failed to start Powerdevil.Etc. Each restart attempt causes a significant stutter in running applications and input, which is how I discovered it.
After a systemctl --user stop plasma-powerdevil.service, I am able to manually run /usr/lib/org_kde_powerdevil & and it works. I've been doing that as a workaround.
$ /usr/lib/org_kde_powerdevil &
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
org.kde.powerdevil: Handle button events action could not check for screen configuration
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"Any help would be appreciated.
Configuration:
OS: Arch Linux x86_64
Kernel: 6.5.4-arch2-1
DE: KDE Plasma 5.27.8
WM: KWin (Wayland)
CPU: AMD Ryzen 9 5900X (24)
GPU: NVIDIA GeForce RTX 3070
Last edited by MaximGun (2023-09-27 01:32:43)
Offline
Ok, this was a weird one. My Hauppauge WinTV-HVR-950Q USB TV tuner is interacting badly with plasma-powerdevil.service for some reason.
I noticed the au0828 TV tuner module spamming dmesg (this series of messages appears dozens of times):
[110774.954506] au0828: Enabled Source: Xceive XC5000->au8522 11-0047->au0828a video Ret 0
[110774.954515] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep 0000000080097569
[110774.954518] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep 00000000e4bbdc4f
[110774.954520] xhci_hcd 0000:02:00.0: Trying to add endpoint 0x81 without dropping it.
[110774.954523] usb 1-2.1: Not enough bandwidth for altsetting 0
[110774.954524] au0828: Au0828 can't set alternate to 0!
[110774.954526] au0828: Disabled Source: Xceive XC5000->au8522 11-0047->au0828a video Ret 0On a hunch I unplugged the TV tuner and restarted plasma-powerdevil.service. It's working fine now. I guess I'll mark this solved.
Offline