Bug 466215 - Screen Energy Saving timeout is no longer switching off DisplayPort screens
Summary: Screen Energy Saving timeout is no longer switching off DisplayPort screens
Status: RESOLVED DUPLICATE of bug 462695
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-02-21 21:31 UTC by skierpage
Modified: 2023-02-22 19:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2023-02-21 21:31:32 UTC
SUMMARY
After Fedora KDE spin updated to 5.27.0 I noticed my screens don't turn off after X minutes. I'm using Fedora 37 Wayland session on a Thinkpad laptop with external monitor over DisplayPort.

STEPS TO REPRODUCE
1. Set System Settings > Power Management > Energy Saving > Dim screen (I've never knowingly used this before) to 1 minute, ... > Screen Energy Saving to checked with "Switch off after" 2 minutes, and System Settings > Workspace Behavior > Screen Locking > "Lock screen automatically" to checked after 3 minutes.
2. Stand there watching.

OBSERVED RESULT
Neither my laptop screen nor external monitor dims, neither screen turns off, and after three minutes the lock screen enables.

EXPECTED RESULT
My screens should turn off after the timeout set in System Settings > Power Management > Energy Saving. (I've never paid attention to "Dim screen" before.)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.27.0 
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8 on Wayland

ADDITIONAL INFORMATION
"Arthur" reported the same thing on Nate's blog, https://pointieststick.com/2023/02/10/this-week-in-kde-the-best-plasma-5-version-ever-2/#comment-34816
I didn't see anything from powerdevil in journalctl --since=-5m output. Some warnings and errors from kscreenlocker_greet but I assume that's the lock screen, not screen poweroff. (Are there debug flags to print more details?)

One workaround is to add a shortcut in System Settings -> Shortcuts -> Power Management -> Turn Monitor off , e.g. Meta+Alt+L.
Comment 1 Patrick Silva 2023-02-22 01:23:59 UTC

*** This bug has been marked as a duplicate of bug 462695 ***
Comment 2 Nate Graham 2023-02-22 19:00:14 UTC
A few questions:
1. Can you make sure that powerdevil is running? You can check with `ps -ef | grep powerdevil` in a terminal window.
2. Does the system (not the screen, the whole system) go to sleep as the correct time, or is that broken too?
3. How is your external screen connected to the laptop? What connector type does it use?
Comment 3 Nate Graham 2023-02-22 19:00:58 UTC
Oh one more: it does it work on X11?