Created attachment 173118 [details] powerdevil log After installing the latest Arch Linux updates, including upower 1.90.5-1, the Plasma session takes longer than usual to start up, as well as Dolphin and autostart applications in ~/.config/autostart/ Systemd logs indicate that Powerdevil fails to start the first 2 times, then succeeds on the third attempt. See the logs attached to this bug report. It doesn't happen on every boot, sometimes Powerdevil starts immediately (several boots in a row). It seems to fail randomly. Downgrading to upower 1.90.4 seems to solve the problem so I suspect this is the culprit, but since the issue appears randomly I may have just missed it. STEPS TO REPRODUCE 1. Start the computer then log in a Plasma session. OBSERVED RESULT The session takes longer than usual to load up. EXPECTED RESULT The session loads up almost instantly. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: Arch Linux / Plasma 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2
Same problem on an Asus ROG scar laptop. Plasma hangs on ksplash for exactly 30 seconds: This is the journal with upower 1.90.5: 08:54:42 systemd[681]: Starting Powerdevil... 08:56:12 systemd[681]: plasma-powerdevil.service: start operation timed out. Terminating. 08:56:12 systemd[681]: plasma-powerdevil.service: Failed with result 'timeout'. 08:56:12 systemd[681]: Failed to start Powerdevil. 08:56:12 systemd[681]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 1. And this is with upower downgraded to 1.90.4 08:58:34 systemd[688]: Starting Powerdevil... 08:58:34 org_kde_powerdevil[1038]: Initializing libddcutil. ddcutil version: 2.1.4, shared library: /usr/lib/libddcutil.so.5.1.2 08:58:34 org_kde_powerdevil[1038]: Options passed from client: 08:58:34 org_kde_powerdevil[1038]: Applying combined options: 08:58:37 org_kde_powerdevil[1038]: Library initialization complete. 08:58:38 systemd[688]: Started Powerdevil. 08:58:38 org_kde_powerdevil[1038]: org.kde.powerdevil: Handle button events action could not check for screen configuration Operating System: Arch Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics Memory: 60.7 GiB of RAM Graphics Processor: AMD Radeon Graphics
Seems to be upstream upower bug https://gitlab.freedesktop.org/upower/upower/-/issues/281 It is fixed in arch upower-1.90.5-2, at least for me.
So this is fixed on Arch, then. Do we still need to look into fixing PowerDevil startup for an unpatched UPower 1.90.5, or can we rely on other distributions to also cherry-pick this patch?
I confirm this seems fixed on my end, since the upower-1.90.5-2 update on Arch.
I think we can rely on the rolling release distros to be responsive here. Thanks for following up!