Bug 480562 - With NVIDIA GPU, Switching to a tty and back sometimes results in one or both of my monitors giving a black screen
Summary: With NVIDIA GPU, Switching to a tty and back sometimes results in one or both...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 5.92.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen, qt6
Depends on:
Blocks:
 
Reported: 2024-01-30 20:16 UTC by Dashon
Modified: 2024-01-30 21:33 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.