Bug 447427

Summary: Switching to linux console and back turns the displays to black
Product: kwin Reporter: auxsvr
Component: platform-drmAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR Keywords: wayland
Version: 5.23.4   
Target Milestone: ---   
Platform: openSUSE RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description auxsvr 2021-12-23 13:00:34 UTC
SUMMARY
Switching to linux console and back displays just the mouse cursor and the monitor positions become incorrect. The Wayland session is still in progress and I use loginctl to kill it and start sddm.

STEPS TO REPRODUCE
1. Ctrl-Alt-F1 to switch to a Linux console.
2. Alt-F7 to switch to the Wayland session.

OBSERVED RESULT
The display on both monitors is black, only the mouse pointer appears. Also, the position of the monitors becomes incorrect and the backlight of the monitor other than the one with the mouse pointer is turned off.

EXPECTED RESULT
Resume the Wayland session as it was.

SOFTWARE/OS VERSIONS
Linux: 5.15.8
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
On Wayland with 2 monitors.