Bug 413396

Summary: kwin_wayland crash when displays turned back on
Product: [Plasma] kwin Reporter: Tom B <tom>
Component: platform-wayland-nestedAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: journal from previous boot

Description Tom B 2019-10-24 14:51:17 UTC
Created attachment 123458 [details]
journal from previous boot

SUMMARY

The system freezes when displays are turned off then back on.

STEPS TO REPRODUCE
1. Allow KDE to turn off the screen using power management ( Energy Saving > enable "Screen energy saving" )
2. Wait for the screen to turn off
3. Press a key to bring the screens back on

OBSERVED RESULT

The screens turn back on but I see the output of systemd with "reached graphical target". The system is completely frozen and I can't even switch TTY.

EXPECTED RESULT

The screens should come back on and display the desktop.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux 
(available in About System)
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION

I'm using two monitors with a radeon VII and the AMDGPU driver. 

It works as expected in Xorg, it's only kwin_wayland that's affected.

I've attached my journal from the previous boot, it looks like the crash may actually happen when the screens turn off, not when they come back on.
Comment 1 Vlad Zahorodnii 2019-11-20 15:29:08 UTC
In order to fix a crash, we need a backtrace. It appears like you use Arch Linux, in which case you need to repackage kwayland and kwin. [1][2]

[1] https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#CMAKE_(KDE)_applications
[2] https://community.kde.org/KWin/Debugging
Comment 2 Bug Janitor Service 2019-12-05 04:33:07 UTC
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!
Comment 3 Bug Janitor Service 2019-12-20 04:33:08 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!