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

            Bug ID: 452553
           Summary: Monitor instantly wakes up from energy saving in
                    Wayland
           Product: frameworks-kwayland
           Version: 5.73.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mgraess...@kde.org
          Reporter: sonichedgehog_hyperblas...@yahoo.com
                CC: kwin-bugs-n...@kde.org
  Target Milestone: ---

SUMMARY
For many years the Plasma Wayland session suffered from issues with monitor
standby breaking things, which has been the one explicit reason why I still
need to use the X11 session. In the past the problem was the session crashing
whenever the screen went into power saving, typically Plasmashell or Kwin or
the screen locker. Allegedly this was because Wayland didn't know how to handle
being left without any displays: I understand a fake display is now being used
which keeps the desktop from freaking out. I tried this again under Plasma
5.24.3, and for the first time the screen powering off did not appear to crash
or break anything.

Unfortunately monitor standby still doesn't work: The screen immediately wakes
up as it goes to sleep, instead of staying asleep until I move the mouse or
press a button on the keyboard. Since all previous discussion about monitor
standby not working in Wayland was related to processes crashing, I wanted to
open a new report focusing on the screen not staying powered down. Let us know
what's documented on this issue so far, and what extra information you'd like
me to provide to better understand it.

It's worth noting that problems with monitors not staying asleep exist with X11
as well: I need to disable the KScreen 2 service from System Settings -
Workspace - Startup and Shutdown - Background Services, only then the monitor
won't wake up immediately... in Wayland the monitor always wakes up instantly
after going to sleep, regardless whether KScreen 2 is stopped or running. I
remember that at least with the previous monitor, this wasn't always an issue
when using a DVI cable, but both HDMI and DisplayPort would introduce such
problems, and yes I tried different cables the last of which are high quality
and explicitly the latest version of the interface. All of my video cards are
AMD and use the amdgpu module. I believe it was suggested that I look for a
setting in the monitor's OSD having to do with automatic source detection, I
looked everywhere but couldn't find such an option.

STEPS TO REPRODUCE
1. Select Plasma (Wayland) as the session in SDDM and log in.
2. Go to System Settings - Hardware - Power Management - Energy Saving. Enable
the checkbox for Screen Energy Saving. Set the Switch off After counter to 1
minute for quick testing.
3. Wait for a minute without using the mouse or keyboard.

OBSERVED RESULT
At first the screen powers off and goes black accordingly, but after a second
wakes right back up.

EXPECTED RESULT
The screen must stay powered off until moving the mouse or pressing a button on
the keyboard.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.14-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series

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

Reply via email to