Bug 2173300

Summary: kf5-kidletime not built with wayland support to enable automatic display dimming and system sleep
Product: [Fedora] Fedora Reporter: Neal Gompa <ngompa13>
Component: kf5-kidletimeAssignee: KDE SIG <kde-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: amessina, fzatlouk, geraldo.simiao.kutz, jgrulich, kde-sig, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: kf5-kidletime-5.103.0-2.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-28 17:01:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2083911    

Description Neal Gompa 2023-02-25 14:44:23 UTC
Description of problem:
Because kf5-kidletime wasn't built with wayland features enabled, Plasma stopped being able to automatically trigger power management features automatically, including dimming the display and triggering system sleep

Version-Release number of selected component (if applicable):
5.103.0-1.fc38

How reproducible:
Always

Steps to Reproduce:
1. Set up Fedora KDE on a laptop
2. Unplug laptop
3. Wait

Actual results:
Display doesn't dim, and system doesn't sleep

Expected results:
Display should dim after 5 minutes and sleep after 10 minutes

Comment 1 Fedora Blocker Bugs Application 2023-02-25 14:47:00 UTC
Proposed as a Freeze Exception for 38-beta by Fedora user ngompa using the blocker tracking app because:

 We don't seem to have criteria around this, but it would be very bad if power management features didn't work on a release-blocking desktop.

Comment 2 Fedora Update System 2023-02-25 14:48:26 UTC
FEDORA-2023-32fcec29bf has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-32fcec29bf

Comment 3 Fedora Update System 2023-02-26 02:02:12 UTC
FEDORA-2023-32fcec29bf has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-32fcec29bf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Neal Gompa 2023-02-26 16:47:31 UTC
*** Bug 2168955 has been marked as a duplicate of this bug. ***

Comment 5 Anthony Messina 2023-02-26 23:01:37 UTC
Thank you Neal for the CC on this bug.  This certainly fixes the issue in Fedora 37, when I'm logged in.  However, as described in Bug #2168955, the SDDM Wayland Greeter keeps the screen on all the time when no user is logged in.  Are there separate power management settings for the greeter?

Comment 6 Neal Gompa 2023-02-27 10:43:06 UTC
(In reply to Anthony Messina from comment #5)
> Thank you Neal for the CC on this bug.  This certainly fixes the issue in
> Fedora 37, when I'm logged in.  However, as described in Bug #2168955, the
> SDDM Wayland Greeter keeps the screen on all the time when no user is logged
> in.  Are there separate power management settings for the greeter?

not that I'm aware of. Can you report this upstream to SDDM?

Comment 7 Anthony Messina 2023-02-27 13:40:48 UTC
(In reply to Neal Gompa from comment #6)
> (In reply to Anthony Messina from comment #5)
> > Thank you Neal for the CC on this bug.  This certainly fixes the issue in
> > Fedora 37, when I'm logged in.  However, as described in Bug #2168955, the
> > SDDM Wayland Greeter keeps the screen on all the time when no user is logged
> > in.  Are there separate power management settings for the greeter?
> 
> not that I'm aware of. Can you report this upstream to SDDM?

It is already reported upstream. Those links are included in Bug #2168955 to raise the issue here, since it will be the default in Fedora 38.

Comment 8 Geraldo Simião 2023-02-27 13:47:00 UTC
Just to say that this fixed the problem on F37 too, now the monitors turn off automaticaly as expected after some time idle.

Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.14-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-3632QM CPU @ 2.20GHz
Graphics Processor: Mesa Intel® HD Graphics 4000

Comment 9 František Zatloukal 2023-02-28 11:07:37 UTC
Discussed in ticket: https://pagure.io/fedora-qa/blocker-review/issue/1052

The decision to classify this bug as an FreezeException was made:

"It would be very bad if power management features didn't work on a release-blocking desktop."

Comment 10 Fedora Update System 2023-02-28 17:01:15 UTC
FEDORA-2023-32fcec29bf has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.