https://bugs.kde.org/show_bug.cgi?id=484015

            Bug ID: 484015
           Summary: SDDM Wayland does not go into monitor powersave
                    timeout with no user logged in
    Classification: Plasma
           Product: kwin
           Version: 6.0.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: mike.cloa...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Running Arch Linux with Plasma 6 ( 6.0.2-4 ) under a Wayland session but with
SDDM ( 0.21.0-4 ) all fully updated to latest versions runs fine with SDDM
running as default under X11. If SDDM is made to run in Wayland by adding in
the file /etc/sddm.conf.d/10-wayland.conf with contents:

[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell,XKB_DEFAULT_LAYOUT=gb

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts
--locale1

allows SDDM to run in Wayland, with the correct locale.

However if no user logs in then the monitor remains powered on indefinitely,
whereas when running under X11 it will timeout and put the monitor into
powersave after the timeout period.

This timeout should also be honoured when running under Wayland in order to
conserve energy and the monitor should go into powersave mode after the timeout
period until a user moves the mouse or presses a keyboard key and then logs in.

Also if the computer is a server then when detecting IdleMonitor suspend would
not be appropriate, even though monitor powersave would be very valuable.

STEPS TO REPRODUCE
1.  Start SDDM service under Wayland
2.  Do not login as any user on the greeter
3.  The monitor screen remains powered on indefinitely.

OBSERVED RESULT

There is no timeout leading to he monitor going into powersave

EXPECTED RESULT

The monitor should go into powersave (without going into suspend) after the
timeout period

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Plasma 6.0.2-4  sddm 0.21.0-4 kernel 6.6.2-2
(available in About System)
KDE Plasma Version: 6.0.2-4
KDE Frameworks Version:  6.0.0-1
Qt Version: 6.6.2-2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to