Bug 457793 - Powerdevil restart loop on startup on kernels 5.18+
Summary: Powerdevil restart loop on startup on kernels 5.18+
Status: RESOLVED DUPLICATE of bug 455511
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.25.4
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-12 10:06 UTC by leob94mt
Modified: 2022-10-14 18:10 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
journalctl --grep "powerdevil" output from a kernel 5.18.x boot (20.10 KB, text/plain)
2022-08-12 10:06 UTC, leob94mt
Details
journalctl --grep "powerdevil" output from a kernel 5.15 session (1.41 KB, text/plain)
2022-08-12 10:08 UTC, leob94mt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description leob94mt 2022-08-12 10:06:57 UTC
Created attachment 151277 [details]
journalctl --grep "powerdevil" output from a kernel 5.18.x boot

SUMMARY
Ever since kernel 5.18 came out Plasma has started hanging on startup, not showing panels, slowing down performance (wifi and bluetooth fail to work), and causing an infinite loop at shutdown (stop job running forever). These problems do not occur when booting an LTS kernel (5.15.x) or when downgrading to the last version of kernel 5.17.

Laptop Specs are as follows:
Model: ASUS K501UX
CPU: Intel core i7-6500U
GPU: NVIDIA GeForce GTX950M

STEPS TO REPRODUCE
1. Booting the system on kernels 5.18+

OBSERVED RESULT
Plasma hangs on startup, with panels not showing and most functionality (e.g. network and bluetooth) unavailable. Performance is also greatly reduced. Trying to power off the system results in an infinite stop job running, requiring to force shutdown by keeping the power button pressed.

EXPECTED RESULT
Normal startup of a Plasma session, I guess.

SOFTWARE/OS VERSIONS
Linux: 5.18+ (EndeavourOS)
KDE Plasma Version: 5.24.x - 5.25.x
Qt version: 5.15.5
KDE Frameworks version: 5.96.0

ADDITIONAL INFORMATION
It is worth mentioning that if I boot into kernel 5.18.x AFTER a session on kernel 5.15.x, this problem does not occur; however it starts happening again when I boot into 5.18.x more than once consecutively. Maybe powerdevil is looking for some information from the previous session that for some reason is not generated when running from kernel 5.18? 

The outputs of journalctl --grep powerdevil for a "hanging" (kernel 5.18.x) session and a "healthy" (kernel 5.15.x) session have been attached to this bug report.
Comment 1 leob94mt 2022-08-12 10:08:07 UTC
Created attachment 151278 [details]
journalctl --grep "powerdevil" output from a kernel 5.15 session
Comment 2 leob94mt 2022-08-30 18:20:35 UTC
Issue persists on kernel 5.19.5
Comment 3 Guillaume Ausset 2022-10-13 09:17:56 UTC
I can confirm I encounter the same bug with a caveat: only on my laptop. Desktop is fine.

On the laptop the problem doesn't manifest if I'm hooked to a dock. I checked that it's not due to power/no-power by using a charger. It seems, interestingly, that powerdevil goes in a restart loop if I don't have networking via ethernet.
Comment 4 Nate Graham 2022-10-14 18:10:23 UTC

*** This bug has been marked as a duplicate of bug 455511 ***