Bug 442826

Summary: After cold boot one of multiple monitors stays black with no wallpaper and no context menu, but windows can be dragged to it
Product: [Plasma] plasmashell Reporter: AndreasH59 <andreas>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: alexandre, corentingirard.dev, harogaston, JohnRCox, kdebugreport, nate, pappl1978, plasma-bugs, s.suther
Priority: NOR Keywords: multiscreen
Version: 5.22.5   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:
Attachments: KDE Plasma second Desktop-wallpaper stays black & no menu

Description AndreasH59 2021-09-23 06:43:13 UTC
I hope this is the right section. 

I have a triple screen setup here. After almost every boot now i have a "zombie" desktop screen, its black but i can drag a window over it, mouse pointer is there, but no right click menu and no wallpaper.

Turning the monitor on and off does not change that. 
Loging off/on or a plasmashell restart brings it back to normal.  


STEPS TO REPRODUCE
1. boot manjaro with triple screens ;)
2. 
3. 


SOFTWARE/OS VERSIONS

Manjaro Linux

KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Kernel: 5.14.2-1-MANJARO x86_64
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2070] vendor: Gigabyte driver: nvidia 
  v: 470.63.01 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:1f02 class-ID: 0300 
  Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 1-12:10 chip-ID: 046d:0825 class-ID: 0102 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 5760x1359 s-dpi: 91 s-size: 1605x378mm (63.2x14.9") 
  s-diag: 1649mm (64.9") 
  Monitor-1: DP-1 res: 1920x1080 hz: 60 dpi: 90 size: 544x303mm (21.4x11.9") 
  diag: 623mm (24.5") 
  Monitor-2: DP-3 res: 1920x1080 hz: 60 dpi: 90 size: 544x303mm (21.4x11.9") 
  diag: 623mm (24.5") 
  Monitor-3: DP-4 res: 1920x1080 hz: 60 dpi: 102 size: 477x268mm (18.8x10.6") 
  diag: 547mm (21.5") 
  OpenGL: renderer: NVIDIA GeForce RTX 2070/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.63.01 direct render: Yes
Comment 1 Nate Graham 2021-09-24 20:29:46 UTC

*** This bug has been marked as a duplicate of bug 427861 ***
Comment 2 pappl 2021-10-25 17:47:10 UTC
Created attachment 142862 [details]
KDE Plasma second Desktop-wallpaper stays black & no menu

i’m running Manjaro KDE with two monitors.
Since weeks the second monitor doesn’t show a wallpaper, only black screen.
I can’t right click on this second desktop and get into the rightclick menu to do anything.
But i can drag windows on this second screen and work like normal without any graphics issues. See attached file (kde-black screen.jpg)

Once every 20th reboot i get both wallpapers and it works, but most of the time not.
Unplugging the second monitor helps sometimes, most of the time bug occurs again after reboot.
Switched Kernels from LTS, 5.12, 5.13, 5.14, reinstalled whole system, always same issue.
Comment 3 Corentin Girard 2022-01-24 09:58:42 UTC
(In reply to Nate Graham from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 427861 ***

I think this is **not** a duplicate. 

Bug 427861 is "just" a reset of settings. Your settings go back to default but at least, the desktop works, it has a (default) wallpaper and you can have a context menu when you right-click.

Here in this bug, what we call a "zombie" desktop screen is a desktop where the wallpaper is unset (black), without any trace of Plasma Desktop. You can't even right click on the desktop. You can just drag windows on the "zombie" desktop.

I'm not even sure the "zombie" desktop loses its settings, we would have to investigate. But it seems to be a temporary glitch because it does that one out of 5 startups.

Also, for me it only does that on my second monitor.
Comment 4 Nate Graham 2022-01-24 18:24:10 UTC
Sorry, my mistake! You are right.
Comment 5 Nate Graham 2022-01-24 19:33:49 UTC
*** Bug 448503 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2022-01-24 19:34:45 UTC
*** Bug 443274 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2022-01-24 19:38:24 UTC

*** This bug has been marked as a duplicate of bug 353975 ***
Comment 8 Samuel Suther 2023-02-07 12:09:19 UTC
(In reply to Corentin Girard from comment #3)
> (In reply to Nate Graham from comment #1)
> > 
> > *** This bug has been marked as a duplicate of bug 427861 ***
> 
> I think this is **not** a duplicate. 
> 
> Bug 427861 is "just" a reset of settings. Your settings go back to default
> but at least, the desktop works, it has a (default) wallpaper and you can
> have a context menu when you right-click.
> 
> Here in this bug, what we call a "zombie" desktop screen is a desktop where
> the wallpaper is unset (black), without any trace of Plasma Desktop. You
> can't even right click on the desktop. You can just drag windows on the
> "zombie" desktop.
> 
> I'm not even sure the "zombie" desktop loses its settings, we would have to
> investigate. But it seems to be a temporary glitch because it does that one
> out of 5 startups.
> 
> Also, for me it only does that on my second monitor.

Have the same issue since 1 week.

```
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.91-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-3610QM CPU @ 2.30GHz
Memory: 15.1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: N76VZ
System Version: 1.0
```
After logout and re-login as same user, it appears without an issue.
Comment 9 Nate Graham 2023-02-11 01:29:34 UTC
Should be finally fixed in Plasma 5.27.
Comment 10 Alexandre 2023-08-31 10:58:36 UTC
The issue persists after plasma 5.27.7.

I currently have the following specs and the issue. Step to reproduce are the same i.e.:

1. Boot with more than one external monitor
2. Lock the computer, let it go into sleep
3. Wake up and unlock

Current setup is the following (and __may differ__ from the original bug post):
- eDP-1 (disabled)
- DP-1 (main, does not get disturbed)
- HDMI-A-1 (second, gets into zombie mode i.e. black background and shadows other virtual desktop windows as background if I have windows drag onto it)

The specs for my system are:
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.12-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics
Memory: 38,0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20YG006GGE
System Version: ThinkPad E15 Gen 3

Additional information:
The screen goes black and disrupts windows that have been put into it. These windows often go to the other screen that has not been affected. I often have only one window left on the zombie screen but I cannot say for that this happens all the time. It also disrupts bismuth in the way that windows get untitled when moved to the main screen after the cold restart. When I proceed to move windows back and then change virtual desktops I can see these windows as background, although glitching.

Let me know if you needs logs or any other information. Also let me know if I should open this as a new issue
Comment 11 Nate Graham 2023-08-31 18:49:56 UTC
> and __may differ__ from the original bug post

Indeed, which makes this a different issue. Please submit a new bug report and we'll investigate your specific issue. Thanks!