SUMMARY With the Valve Index VR headset plugged into one display port and my primary monitor plugged into an HDMI port I run into an issue if my primary display is turned off and then on again. This only occurs while the Valve Index VR headset it plugged into the display port. This happens if the display is manually turned off and then on, or if the monitor is turned off because of power saving. Once the monitor is turned back on all the application windows that were visible and running are still there how ever the window decorations and desktop are gone. Restarting the display-manager service does return me to the log in screen but logging in end up with a still broken plasma desktop with no desktop background, window decoration or panels. STEPS TO REPRODUCE 1. Have a display plugged into an HDMI port and Valve Index plugged into a display port 2. Turn off the primary display by pressing the power button, or having the power manager turn the display off 3. Turn the primary display back on by either pressing the power button, or waking up the system OBSERVED RESULT Desktop is completely black and all window decorations and panels are missing EXPECTED RESULT Desktop continues to work when display is turned back on SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 6.0 / Plasma 6.0 (available in About System) KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION AMD Ryzen 7 5700X AMD Radeon RX6700 XT
Created attachment 167582 [details] GDB Backtrace
Created attachment 167583 [details] Backtrace from journalctl
I'm experiencing this with the exact same repro steps, so I thought I take a stab at adding some backtrace info. The shell comes back if I run `systemctl --user restart plasma-plasmashell.service` after the crash. System info: OS: EndeavourOS Linux x86_64 Kernel: 6.8.1-arch1-1 Uptime: 27 mins Packages: 1299 (pacman), 10 (flatpak) Shell: bash 5.2.26 Resolution: 3840x1080 DE: Plasma 6.0.2 WM: kwin Theme: Breeze-Dark [GTK2], Breeze [GTK3] Icons: breeze [GTK2/3] Terminal: konsole CPU: AMD Ryzen 7 5800X (16) @ 4.200GHz GPU: AMD ATI Radeon RX 7900 XT/7900 XTX/7900M Memory: 3528MiB / 32000MiB
With KDE Plasma 6.1.2 there are some changes to the behavior of this bug. We still end up with a disappearing plasma desktop if the main display is turned off while a Valve Index is plugged into the other display port on the graphics card, however we can recover the desktop very easily in this state by disconnecting the valve index and then turning off and on the main display again. I guess that when the main display is being turned off KDE is checking to see what monitors are available to put the desktop onto and for some reason sees the valve index plugged in as a valid monitor to put the desktop on?