SUMMARY After updating plasma to 5.24, if I leave the computer inactive for a couple of hours, it will not be usable anymore when I try to reactivate it (nothing is shown on screen, even though the computer is turned on and the fans are making noise, and it doesn't respond to key presses, mouse clicks, or power button presses). I suspect the computer might have been sent to sleep or hibernation somehow, even though I have both those states disabled in systemd and even though my KDE power settings explicitly say not to suspend nor hibernate in any situation. The computer (a laptop from a cheap brand) does not support sleep nor hibernation with linux kernels of the 5.something line, and this kind of thing tends to happen when one tries to enter those states. STEPS TO REPRODUCE 1. Install some old plasma version. 2. Go to the system settings and remove anything from the power settings that would result in sleep or hibernation. Optionally, remove those states altogether from systemd. 3. Update to plasma 5.24.3. 4. Leave the computer inactive for a couple hours. OBSERVED RESULT Computer is not usable anymore: nothing shows on screen, doesn't respond to key presses, doesn't respond to mouse movements or clicks, doesn't respond to power button presses, doesn't switch tty's with Ctrl + Alt + F<number>. Only way to make it usable is through a forcible poweroff. EXPECTED RESULT The computer should be showing the lock screen program and nothing else. In any event, the computer should be usable without a forcible poweroff. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.0-5-amd64 (64-bit) Graphics Platform: X11 Processors: 16 ร AMD Ryzen 7 2700 Eight-Core Processor Memory: 15.6 GiB of RAM Graphics Processor: AMD VEGA10
Can you share a screenshot of how you've configured the the "Energy Saving" page in System Settings? Is this a laptop or a desktop? What's the hardware?
Created attachment 147771 [details] power_settings Attached a screenshot with the power settings configuration. This is a laptop Acer Predator Helios 500 with AMD hardware (sleep and hibernation are broken in linux kernel line 5). It's always connected to a power source, and always has a screen plugged in through HDMI.
> It's always connected to a power source Oh, then can you attach a screenshot of the "On AC power" tab,? The screenshot you attached depicts the settings for when the computer is on battery power, but you say it's always plugged in. Is it possible you adjusted the settings for the "On battery" tab, rather than the "On AC power" tab?
(In reply to Nate Graham from comment #3) > > It's always connected to a power source > Oh, then can you attach a screenshot of the "On AC power" tab,? The > screenshot you attached depicts the settings for when the computer is on > battery power, but you say it's always plugged in. > > Is it possible you adjusted the settings for the "On battery" tab, rather > than the "On AC power" tab? It looks exactly the same, save for a different number of minutes to trigger "Dim screen", as does the "On Low Battery" section.
OK, thanks.
A lot of things have changed since this issue was reported, including a new configuration UI and presumably many changes to the underlying power management libraries we use. Can I ask if you still reproduce the issue with Plasma 6.3.5 or later? Thanks again!
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.