Bug 492278 - Before the first login, SDDM keeps the system and the monitor always on
Summary: Before the first login, SDDM keeps the system and the monitor always on
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.1.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-27 16:34 UTC by Enrico
Modified: 2024-12-04 17:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico 2024-08-27 16:34:45 UTC
Hello,
after booting the system and before the first login, SDDM keeps the system and the monitor always-on.

How to reproduce (I tested it on Fedora KDE and KaOS)
- Boot the system
- Wait for the screen to stanby (it never happens)

The standby works fine after the first login, I guess because it uses the user's power settings, but if you don't login the monitor and the system will never go in standby.
I think SDDM should let the monitor at least for the monitor go in standby. A default 10-minutes standby will help to preserve the hardware and reduce the power consumption.
Moreover, the users with offline-updates enabled have to check the end of the updates and login, otherwise the system will stay on "forever"

This is a copy of the bug report https://github.com/sddm/sddm/issues/1980
Following the previous Discuss thread https://discuss.kde.org/t/after-booting-without-log-in-the-screen-never-goes-in-standby/19918
Comment 1 alt 2024-12-04 17:08:32 UTC
The same happens on my system (Nvidia + Intel hybrid laptop).

As a user, once I set the power management rules I would expect them to be applied consistently and be honored by the greeter too. Is there a feasible way to make sure it does? If not, is it possible to (temporarily?) implement a screen timeout (or even suspend to RAM) after a fixed amount of time by default? 
This would help saving battery in the case you (re)start your PC and suddenly have to leave for while, or when the PC is set to restart after some time/task.

PS: I enabled the experimental Wayland greeter mode, i.e. SDDM runs directly on Wayland instead of the default X11.

Operating System: Manjaro Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.10-2-MANJARO (64-bit)
Graphics Platform: Wayland