Bug 2252467 - monitor's don't sleep
Summary: monitor's don't sleep
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kwin
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-01 21:15 UTC by rhavenn
Modified: 2023-12-03 15:38 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 477641 0 NOR UNCONFIRMED Displays wake up right after locking the screens and going to sleep 2023-12-03 15:38:16 UTC

Description rhavenn 2023-12-01 21:15:07 UTC
Fresh install of Fedora 39 KDE spin with testing repos enabled. Dual monitors attached via HDMI using the default Wayland session. Monitors will go sleep and then immediately (a few seconds) wake back up and will never try sleeping again. This happens both at the SDDM login / greeter screen or when logged in with no apps running or apps running with the screen locked or unlocked.

I did see this issue with Fedora 37 Wayland as well, but ended up switching to Tumbleweed for reasons. I'm now back on Fedora 39 for reasons, but the issue still is here. So, I'm reporting.

I don't "think" it matters, but I have a system hooked up via the DP ports as well. Sleep does work fine with a Xorg session on Tumbleweed or Fedora 37 (when I last ran it) using Xorg sessions.

Reproducible: Always

Steps to Reproduce:
1. Install Fedora 39 KDE spin with dual monitors. Set "screen energy saving" to 2 minutes and disable / uncheck the rest of the options under "Energy Saving".
2. Wait for system to suspend monitors.
3.
Actual Results:  
Monitors wake back up immediately.

Expected Results:  
Monitors should sleep.

monitors: Dell U2719D
system info:
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.3-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series
Manufacturer: Dell Inc.
Product Name: OptiPlex 7060

Comment 1 rhavenn 2023-12-01 21:28:48 UTC
Here is `sudo journalctl -o short-iso` output for the system doing this behavior at a few seconds before: 12:20:22 PM LOCAL

2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kwin_core: Parse error in tiles configuration for monitor "92e842d7-5928-5c43-884a-4912e7cc82ed" : "illegal value" Creating default setup
2023-12-01T12:20:15 mydesktopname kwalletd5[1466]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kactivitymanagerd[1927]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname xdg-desktop-portal-kde[1938]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname polkit-kde-authentication-agent-1[1936]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname DiscoverNotifier[2255]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[10433]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[6798]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[10406]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[16505]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[17722]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kdeconnectd[2196]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[5004]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[7202]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[16466]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kate[11676]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[8887]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname plasmashell[4763]: [4763:1201/122015.549938:ERROR:gl_display.cc(520)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.551276:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.553700:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.554127:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.555140:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.555784:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.556179:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.556537:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.556867:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:15 mydesktopname keepassxc[2200]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kate[8341]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname konsole[7818]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kded5[1865]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kcminit[17797]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kcminit[17810]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname systemd[1431]: Starting plasma-kscreen-osd.service - KScreen OSD service...
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kcminit[17811]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:15 mydesktopname kcminit[17816]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kcminit[17820]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kcminit[17831]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname org_kde_powerdevil[1937]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kcminit[17842]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kcminit[17808]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kcminit[17815]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname plasmashell[4763]: [4763:1201/122015.679757:ERROR:gl_display.cc(520)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname systemd[1431]: Started plasma-kscreen-osd.service - KScreen OSD service.
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kcminit[17849]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname kcminit[17859]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2709:2709:1201/122015.741312:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:20: TypeError: Cannot read property 'pluginName' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:78: TypeError: Cannot read property 'pluginName' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:80: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:81: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:82: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:83: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:84: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:16: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:17: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:18: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:15 mydesktopname plasmashell[4763]: [4763:1201/122015.781804:ERROR:gl_display.cc(520)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:20: TypeError: Cannot read property 'pluginName' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:78: TypeError: Cannot read property 'pluginName' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:80: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:81: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:82: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:83: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:84: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:16: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:17: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[1903]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:18: TypeError: Cannot read property 'configuration' of null
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2709:2709:1201/122015.783378:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2709:2709:1201/122015.789877:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2709:2709:1201/122015.819499:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2709:2709:1201/122015.822739:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname plasmashell[2661]: [2709:2709:1201/122015.846766:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglGetMscRateANGLE: glXGetMscRateOML failed.
2023-12-01T12:20:15 mydesktopname kded5[1865]: kscreen.kded: Config does not have at least one screen enabled, WILL NOT save this config, this is not what user wants.
2023-12-01T12:20:16 mydesktopname plasmashell[2661]: [2656:2656:1201/122015.999922:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:16 mydesktopname plasmashell[2661]: [2656:2656:1201/122016.000520:ERROR:browser_main_loop.cc(290)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
2023-12-01T12:20:16 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:16 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:16 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:16 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname kwin_wayland[1716]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field.
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2023-12-01T12:20:16 mydesktopname plasmashell[1903]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Comment 2 rhavenn 2023-12-01 21:49:13 UTC
I should say. If I come back and do something they will try again to sleep. However, if I just let them sit there they won't try again. So, it's almost like the OS thinks the monitors are, in fact, asleep when they're not and then it "wakes" them like normal and tries again when you go absent.

Comment 3 Neal Gompa 2023-12-03 15:36:51 UTC
This seems like a kwin bug rather than an SDDM bug, switching to that.

Comment 4 Neal Gompa 2023-12-03 15:38:16 UTC
This seems like this upstream KDE bug I reported awhile ago: https://bugs.kde.org/show_bug.cgi?id=477641

Could you please provide information in that bug?


Note You need to log in before you can comment on or make changes to this bug.