Summary: | "Failed to start Powerdevil" slowing down log-in in KDE Plasma 5.25.0; error spams "Charge thresholds not supported" | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | Lyroy TheToad <lyroy.thetoad> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | andrewlatrace, danielbermond, fw64, i, jordan.lowater+kde, kv3f5ves, leob94mt, liuerfire, me, med.medin.2014, nate |
Priority: | NOR | ||
Version: | 5.25.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Lyroy TheToad
2022-06-17 20:32:50 UTC
UPDATE: Updated powerdevil to version 5.25.2-1. Now the log-in takes around 15 seconds instead of the previous 30, but since it originally took ~3 seconds, I wasn't really satisfied. I checked `journalctl -b` and the reason it was faster than 30 seconds is that powerdevil now tries 3 times instead of previous 5/6 times... The error is the same: "Charge threshold not supported" UPDATE Updated powerdevil to version 5.25.3-1. It went back to trying 5/6 times. Same error. *** Bug 457793 has been marked as a duplicate of this bug. *** The same problem happens on my acer laptop with or without battery. Operating System: Manjaro Linux KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.12-1-MANJARO (64-bit) Graphics Platform: X11 same problem happens in my desktop. Operating System: openSUSE Tumbleweed 20231117 KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.112.0 Qt Version: 5.15.11 Kernel Version: 6.6.1-1-default (64-bit) Graphics Platform: X11 I also have the same issue. I've found two work arounds: downgrading ddcutil or editing /etc/xdg/autostart/powerdevil.desktop and setting X-systemd-skip=False and X-KDE-autostart=phase=1 both of these are not ideal. Any time powerdevil updates the powerdevil.desktop file needs to be edited again. persoanlly I find downgrading to be a last resort and not a long term work around so I'm not doing that as it could potentially break things later on if I leave it is an out of date state. Operating System: EndeavourOS KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.112.0 Qt Version: 5.15.11 Kernel Version: 6.6.6-zen1-1-zen (64-bit) Graphics Platform: X11 got same problem while upgrading ddcutil to 2.1.0. The issue is gone when downgrade ddcutil to 2.0.0. Powerdevil version: 5.27.10 Operating System: Arch Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 Kernel Version: 6.7.0-arch3-1 (64-bit) Graphics Platform: Wayland That's something else. Likely bug 476375 or something related. I upgraded from ddcutil 1.4.1 since there was a similar (or the same?) regression in ddcutil 2.0. I upgraded today as I thought it might be fixed after this bug was closed: https://bugs.kde.org/show_bug.cgi?id=476375 But the log shows an infinite restart loop for powerdevil busno=6, sleep-multiplier = 1.00, Retesting for unsupported feature 0xdd returned Error_Info[DDCRC_RETRIES in ddc_write_read_with_retry, causes: DDCRC_READ_ALL_ZERO(10)] busno=6, sleep-multiplier= 1.00, Testing for unsupported feature 0x41 returned Error_Info[DDCRC_RETRIES in ddc_write_read_with_retry, causes: DDCRC_READ_ALL_ZERO(10)] Turning off dynamic sleep and retrying busno=6, sleep-multiplier = 1.00, Retesting for unsupported feature 0x41 returned Error_Info[DDCRC_RETRIES in ddc_write_read_with_retry, causes: DDCRC_READ_ALL_ZERO(10)] plasma-powerdevil.service: start operation timed out. Terminating. plasma-powerdevil.service: Failed with result 'timeout'. Failed to start Powerdevil. plasma-powerdevil.service: Scheduled restart job, restart counter is at 62. Out of pure coincidence I run ddcutil detect and the problem stopped. The log seems to show it successfully disabled unsupported features after running ddcutil detect: systemd[1]: dbus-:1.2-org.kde.powerdevil.discretegpuhelper@0.service: Deactivated successfully. systemd[1]: dbus-:1.2-org.kde.powerdevil.backlighthelper@0.service: Deactivated successfully. systemd[1]: dbus-:1.2-org.kde.powerdevil.chargethresholdhelper@0.service: Deactivated successfully. For now I will persist with this version and run ddcutil detect on startup until a permanent fix comes along. Operating System: EndeavourOS KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 Kernel Version: 6.6.10-arch1-1 (64-bit) Graphics Platform: Wayland |