Bug 448503 - Secondary monitor has black screen when waking from sleep with wayland on 5.24 beta.
Summary: Secondary monitor has black screen when waking from sleep with wayland on 5.2...
Status: RESOLVED DUPLICATE of bug 353975
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.23.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords: regression, wayland
Depends on:
Blocks:
 
Reported: 2022-01-15 01:30 UTC by kdebugreport
Modified: 2022-01-24 19:38 UTC (History)
2 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 kdebugreport 2022-01-15 01:30:26 UTC
SUMMARY
***
When waking my PC from Idle/Standby, and using the new primary monitor feature, my secondary monitor loses interactivity and the wallpaper is black. Enabling and disabling the monitor or power cycling it returns the monitor to the appropriate state. My main monitor takes awhile to wake from standby and I think that is the cause of this issue, as my desktop first appears on the secondary monitor and then stuff gets shifted over, thus the secondary monitor has this problem.
***


STEPS TO REPRODUCE
1.  Have a monitor that takes awhile to wake from sleep that is the primary and a secondary monitor that is "quick" to wake from sleep.
2. Wake the pc from standby (monitors off to on)
3. Observe bug.

OBSERVED RESULT
Secondary monitor's desktop is not interactive and wallpaper is black.

EXPECTED RESULT
No loss of functionality while respecting my primary monitor choice.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.15.13-xanmod1-tt-g1c2ef95f5cf4 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT

ADDITIONAL INFORMATION
I have a Samsung Odyssey G7, 240Hz @ 1440p as the primary (notorious for taking a long time to wake) and a HP Omen 165Hz 1440p monitor as the secondary. Both connected via displayport.
Comment 1 Nate Graham 2022-01-20 22:18:43 UTC
> loses interactivity and the wallpaper is black
Can you move the cursor onto it? If so, when you right-click on the black background, what happens?
Comment 2 kdebugreport 2022-01-22 05:52:58 UTC
(In reply to Nate Graham from comment #1)
> > loses interactivity and the wallpaper is black
> Can you move the cursor onto it? If so, when you right-click on the black
> background, what happens?

Nothing happens, the expected context menu does not appear. 

Desktop still functions fine, just requires a power cycle of my second display.
Comment 3 kdebugreport 2022-01-22 23:16:06 UTC
I should also add, that when this happens, in System Settings -> Display Configuration, when my primary monitor finally wakes, the message I get above the "Drag screens to re-arrange them" is "A new output has been added. Settings have been reloaded."

I kinda see why this is happening, as since they both don't wake at the same time, to the system it's as if my primary monitor isn't hooked up. I can dig out more monitors and see if I can reproduce this behavior with different models, I think that would be useful info.
Comment 4 Nate Graham 2022-01-24 19:33:49 UTC
That means this is a Plasma problem.

*** This bug has been marked as a duplicate of bug 442826 ***
Comment 5 Nate Graham 2022-01-24 19:38:35 UTC

*** This bug has been marked as a duplicate of bug 353975 ***