Bug 482332 - Plasma desktop and window decorations disappears if display is turned off and then back on again while Valve Index VR headset is plugged in
Summary: Plasma desktop and window decorations disappears if display is turned off and...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-03 18:02 UTC by Ciaran Gillespie
Modified: 2024-11-04 21:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
GDB Backtrace (12.61 KB, text/plain)
2024-03-21 23:46 UTC, Nathan Pope
Details
Backtrace from journalctl (238.86 KB, text/plain)
2024-03-21 23:47 UTC, Nathan Pope
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ciaran Gillespie 2024-03-03 18:02:56 UTC
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
Comment 1 Nathan Pope 2024-03-21 23:46:57 UTC
Created attachment 167582 [details]
GDB Backtrace
Comment 2 Nathan Pope 2024-03-21 23:47:29 UTC
Created attachment 167583 [details]
Backtrace from journalctl
Comment 3 Nathan Pope 2024-03-21 23:54:08 UTC
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
Comment 4 Ciaran Gillespie 2024-07-08 13:58:24 UTC
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?