DESCRIPTION When the computer wakes from sleep or screen lock, the graphics driver and Wayland compositor struggle to sync up the display outputs, resulting in a black screen. The displays register as active, but no visual output is drawn by kwin_wayland or kscreenlocker. The session requires either a long wait to eventually recover, or a complete restart of plasmashell/kwin from a TTY. STEPS TO REPRODUCE 1. Use a single or multi-monitor setup (issue occurs with or without a KVM switch). 2. Allow the screen to lock and displays to go to sleep for a long period of time. 3. Attempt to unlock the screen / wake the computer. 4. OBSERVED RESULT: Keyboard input not recognized. After waiting a while (*minutes*) it will be recognized. Once logged in, you will have a black background with the interfaces that were open on locking, but nothing else. Theres no task bar to open applications or desktop at all. Remediation requires restarting plasmashall or waiting minutes (again) for it to eventually recover. EXPECTED RESULT The compositor should correctly detect the monitor reconnecting via the KVM switch and redraw the lock screen immediately without freezing the session. SOFTWARE/OS VERSIONS Operating System: Nobara Linux 44 KDE Plasma Version: 6.7.3 KDE Frameworks Version: 6.28.0 Qt Version: 6.11.1 Kernel Version: 7.1.3-200.nobara.fc44.x86_64 Graphics Platform: Wayland ADDITIONAL INFORMATION Hardware: AMD Radeon RX 9070 XT (amdgpu driver) There are no outright crashes of kscreenlocker_greet in the journal during this freeze, suggesting a hang rather than a segfault. (Note: Online communities suggest this could be related to amdgpu.sg_display features or KScreen's monitor polling when waking from sleep, but I have not been able to find a fix for this yet.
Thanks for the bug report. We need some details from your system to narrow this down. First, please paste the output of this into the report while the system is working normally: kscreen-doctor -o Then, please save the output of drm_info while the bug is present (if you can get to TTY) to a file and attach it to this report. Thanks.
(In reply to TraceyC from comment #1) > Thanks for the bug report. We need some details from your system to narrow > this down. > > First, please paste the output of this into the report while the system is > working normally: > kscreen-doctor -o > > Then, please save the output of drm_info while the bug is present (if you > can get to TTY) to a file and attach it to this report. > > Thanks. Normally operating output: kscreen-doctor -o Output: 1 HDMI-A-1 d2ec9f69-83b6-4ff5-93bd-76650648c4b7 enabled connected priority 1 HDMI replication source:0 Modes: 1:2560x1440@59.95*! 2:1920x1080@60.00 3:1920x1080@60.00 4:1920x1080@59.94 5:1920x1080@50.00 6:1920x1080@30.00 7:1920x1080@29.97 8:1920x1080@25.00 9:1920x1080@24.00 10:1920x1080@23.98 11:1680x1050@59.88 12:1280x1024@75.03 13:1280x1024@60.02 14:1440x900@59.90 15:1280x960@60.00 16:1280x800@59.91 17:1152x864@75.00 18:1280x720@60.00 19:1280x720@60.00 20:1280x720@59.94 21:1280x720@50.00 22:1280x720@50.00 23:1440x576@50.00 24:1440x576@50.00 25:1024x768@75.03 26:1024x768@70.07 27:1024x768@60.00 28:1440x480@60.00 29:1440x480@60.00 30:1440x480@59.94 31:1440x480@59.94 32:832x624@74.55 33:800x600@75.00 34:800x600@72.19 35:800x600@60.32 36:800x600@56.25 37:720x576@50.00 38:720x576@50.00 39:720x576@50.00 40:720x480@60.00 41:720x480@60.00 42:720x480@59.94 43:720x480@59.94 44:720x480@59.94 45:640x480@75.00 46:640x480@66.67 47:640x480@60.00 48:640x480@59.94 49:640x480@59.94 50:720x400@70.08 51:1600x1200@59.87 52:1920x1200@59.88 53:1600x900@59.95 54:1368x768@59.88 Custom modes: None Geometry: 0,316 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic HDR: disabled Wide Color Gamut: disabled ICC profile: none Color profile source: sRGB Color power preference: prefer accuracy Brightness control: supported, set to 100% and dimming to 100% DDC/CI: disallowed Color resolution: automatic (16), range: [8; 16] bits per color Allow EDR: unsupported Sharpness control: unsupported Automatic brightness: unsupported Auto Rotate Policy: incapable Adaptive backlight modulation: unsupported Output: 2 DP-2 8b07ae3a-12d9-47f7-9f6f-cce5b2fc76ab enabled connected priority 2 DisplayPort replication source:0 Modes: 55:2560x1440@143.99*! 56:2560x1440@120.00 57:2560x1440@59.95 58:1920x1080@120.00 59:1920x1080@119.88 60:1920x1080@60.00 61:1280x1024@75.03 62:1024x768@60.00 63:800x600@60.32 64:640x480@60.00 65:640x480@59.94 66:1600x1200@59.87 67:1600x1200@143.89 68:1280x1024@59.90 69:1280x1024@143.79 70:1024x768@143.87 71:1920x1200@59.88 72:1920x1200@143.89 73:1280x800@59.81 74:1280x800@143.84 75:1920x1080@143.88 76:1600x900@59.95 77:1600x900@143.93 78:1368x768@59.88 79:1368x768@143.77 80:1280x720@59.85 81:1280x720@143.67 Custom modes: None Geometry: 2560,316 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic HDR: disabled Wide Color Gamut: disabled ICC profile: none Color profile source: sRGB Color power preference: prefer accuracy Brightness control: supported, set to 100% and dimming to 100% DDC/CI: disallowed Color resolution: automatic (16), range: [8; 16] bits per color Allow EDR: unsupported Sharpness control: unsupported Automatic brightness: unsupported Auto Rotate Policy: incapable Adaptive backlight modulation: unsupported Output: 3 DP-3 de14a137-c546-4c6b-a0a7-1022e4265a1a enabled connected priority 3 DisplayPort replication source:0 Modes: 82:1920x1080@60.00! 83:1920x1080@144.00* 84:1920x1080@119.98 85:1920x1080@109.95 86:1920x1080@99.93 87:1920x1080@60.00 88:1920x1080@59.94 89:1920x1080@50.00 90:1280x1024@75.03 91:1280x1024@60.02 92:1440x900@119.98 93:1440x900@59.89 94:1280x720@60.00 95:1280x720@59.94 96:1280x720@50.00 97:1024x768@119.93 98:1024x768@75.03 99:1024x768@60.00 100:800x600@119.93 101:800x600@75.00 102:800x600@60.32 103:720x576@50.00 104:720x576@50.00 105:720x480@60.00 106:720x480@60.00 107:720x480@59.94 108:720x480@59.94 109:640x480@119.80 110:640x480@75.00 111:640x480@72.81 112:640x480@66.67 113:640x480@60.00 114:640x480@59.94 115:640x480@59.94 116:720x400@70.08 117:1280x1024@143.79 118:1024x768@143.87 119:1280x800@59.81 120:1280x800@143.84 121:1600x900@59.95 122:1600x900@143.93 123:1368x768@59.88 124:1368x768@143.77 125:1280x720@143.67 Custom modes: None Geometry: 5120,0 1080x1920 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: Automatic HDR: disabled Wide Color Gamut: disabled ICC profile: none Color profile source: sRGB Color power preference: prefer efficiency and performance Brightness control: supported, set to 100% and dimming to 100% DDC/CI: disallowed Color resolution: 8 bits per color, range: [8; 16] bits per color Allow EDR: unsupported Sharpness control: unsupported Automatic brightness: unsupported Auto Rotate Policy: incapable Adaptive backlight modulation: unsupported Will get drm_info when it happens again
Created attachment 194531 [details] drm_info output during broken state. drm_info while broken attached.