SUMMARY When I connect the external monitor to my laptop and suspend it by closing the laptop lid and waking it up again by opening the lid it works as expected on Xorg but not on Wayland. On Wayland my laptop's screen is disabled. It starts for a sec and then goes black. I have to go to settings and check the "Enabled" field manually to enable laptop screen. I can reproduce this all the time. This only happens when I close the laptop lid. using "systemctl suspend" or clicking the "sleep" button works fine and does not reproduce this issue. I'm not sure if this is duplicate of https://bugs.kde.org/show_bug.cgi?id=428424 cause sometimes it wont allow me to enable my laptop screen at all. When I press the "Apply" button in display settings, laptop screen starts for a second and again goes black and applications like firefox, latte-dock .. etc crashes.Kwin also crashes sometimes but restarts and wallpaper turns black. I can't reproduce this one but when It happens, I have to log back into the Xorg session and set Display settings there and then it works again in Wayland session. Even when Loged into Xorg session, I can see bunch processes from last session still running and taking 100% CPU STEPS TO REPRODUCE 1. Log Into KDE Wayland session with external monitor attached 2. Suspend laptop by closing lid. 3. Open lid to wake laptop OBSERVED RESULT Laptop Screen is disabled EXPECTED RESULT Like Xorg, Laptop screen and external monitor both starts normally SOFTWARE/OS VERSIONS OS: ArchLinux KDE Plasma Version: 5.21.0 KDE Frameworks Version: 5.79.0 Qt Version: 5.15
Can confirm, this exact bug is also happening to me. Except, I couldn't manage to re-enable laptop screen while logged to Wayland session, because kwin always crashes and leaves black screen with only mouse cursor visible. To enable the screen, it's necessary to log in to Xorg. Using "systemctl suspend" or clicking the "sleep" button are the only workarounds I've found so far. SYSTEM INFORMATION: Operating System: Arch Linux KDE Plasma Version: 5.21.0 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 Kernel Version: 5.11.0-arch2-1 OS Type: 64-bit Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz Memory: 11.5 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4000
This bug also exists for me in Plasma 5.23.2. My specifications are. Operating System: Manjaro Linux KDE Plasma Version: 5.23.2 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Kernel Version: 5.14.14-1-MANJARO (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics
*** Bug 448412 has been marked as a duplicate of this bug. ***
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 5.25 or 5.26? If it is, please add a comment with the output of `kscreen-doctor -o` and change the status to CONFIRMED. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
The bug seems to have been fixed for me, at least. I've not noticed it happen for a while. Although that may be partially because the bug conditioned me to press sleep before closing the lid! I just tried closing the lid without sleeping before hand, and everything seems to be fine. I can't remember how regular it was for me before, though, so I could be getting lucky.
Thanks for following up!