Bug 480562

Summary: With NVIDIA GPU, Switching to a tty and back sometimes results in one or both of my monitors giving a black screen
Product: [Plasma] kwin Reporter: Dashon <dashonwwIII>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dashonwwIII, kde, nate
Priority: NOR Keywords: multiscreen, qt6
Version First Reported In: 5.92.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dashon 2024-01-30 20:16:31 UTC
SUMMARY
Alright, so full disclosure. I'm using a dual monitor setup with nvidia and trying out the plasma 6 wayland session on endeavourOS (a.k.a Arch). If I switch to a tty and then back to plasma. Sometimes, one or both of my monitors will turn black. I can usually get things working again by running kwin_wayland --replace, but on wayland that takes all my apps with it. However, sometimes when both screens are black, nothing works and I just reboot.

STEPS TO REPRODUCE
1. Switch to a tty (for me that is done with ctrl + alt + function keys)
2. Wait a few seconds.
3. Switch back to plasma.

OBSERVED RESULT
Sometimes, one or both of my monitors is now a black screen. It doesn't happen every time. Give it a few tries.

EXPECTED RESULT
Switching back should bring back to where I was without any graphical errors.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0
Kernel Version: 6.7.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0
Comment 1 Nate Graham 2024-01-30 21:13:51 UTC
Does it still happen if you have only one screen connected?
Comment 2 Dashon 2024-01-30 21:33:29 UTC
(In reply to Nate Graham from comment #1)
> Does it still happen if you have only one screen connected?

Sorry, I updated again today and can no longer reproduce at all. So, I will close this one.