Bug 504537

Summary: Screen stays black after display standby on lock screen – only TTY switch revives it (Wayland, Plasma 6, NVIDIA)
Product: [Plasma] plasmashell Reporter: Philippe <twoplay19>
Component: Screen lockingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: john.kizer, nate
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
URL: https://forums.developer.nvidia.com/t/black-screen-after-pc-wakes-up-from-suspend/304023
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Log while I do the reproduced steps and also try again with the connected screen
log from main work system (default) with nouveau driver
check for driver status
log from fedora kde live installer

Description Philippe 2025-05-19 17:29:56 UTC
Created attachment 181531 [details]
Log while I do the reproduced steps and also try again with the connected screen

SUMMARY
If I want to lock my screen and put the display in standby, the display stays black when I wake it up. It only comes back on when I change the tty. If i connect a second screen the bug disappears. if i disconnect the screen the bug comes back.

The same problem also occurs with Arch Linux

Blind typing also works. 
I don't know if it is a screen (driver) problem or if Nvidia is to blame. I haven't tried it with Gnome yet, but I probably will.



I have no problems with suspend (power save), it works perfectly after waking up. 

STEPS TO REPRODUCE
1. In unlocked Plasma session press Meta + L (to lock the screen and switch off the display)
2. Wait until the display switches to standby mode (or press ESC)
3. Press a random key to wake up the PC 
   - plug out sound appears
   - plug in sound appears
   - standby led disappears, but display remains exactly the same black as in standby (no backlight comes on)

OBSERVED RESULT
Display remains black


EXPECTED RESULT
Display switches on and the lock screen should be displayed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900 CPU @ 3.10GHz
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090
Display (LC49G95T): 5120x1440 @ 240 Hz in 49" [External, HDR] (Connected via DP) (49" Odyssey G9)


ADDITIONAL INFORMATION

During testing, I plugged in a USB stick in the black display state after changing the tty and unlocking, the plasmashell crashed.
Comment 1 John Kizer 2025-05-25 06:49:20 UTC
Hi - this appears to potentially be related to the issue discussed in bullet point 4 of the "Known Issues And Workarounds" section here: https://download.nvidia.com/XFree86/Linux-x86_64/570.153.02/README/dynamicpowermanagement.html

To help check that - could you try booting using the Nouveau drivers, temporarily, and seeing if the issue continues?

Thanks!
Comment 2 Philippe 2025-05-25 12:26:00 UTC
(In reply to John Kizer from comment #1)
> Hi - this appears to potentially be related to the issue discussed in bullet
> point 4 of the "Known Issues And Workarounds" section here:
> https://download.nvidia.com/XFree86/Linux-x86_64/570.153.02/README/
> dynamicpowermanagement.html
> 
> To help check that - could you try booting using the Nouveau drivers,
> temporarily, and seeing if the issue continues?
> 
> Thanks!


Hello, 

Thanks for your answer. Unfortunately, the Nouveau driver did not work either. The difference to nvidia was that the display backlight comes on for 3-5 seconds (still blackscreen) and then goes back to standby (standby led goes on).
I entered the following at startup in grub “modprobe.blacklist=nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm”

I have also tried all this with live installer. There was no difference. 

However, the same problem occurs in Gnome. So it will probably have to do with the graphics driver?
Comment 3 Philippe 2025-05-25 12:27:36 UTC
Created attachment 181734 [details]
log from main work system (default) with nouveau driver
Comment 4 Philippe 2025-05-25 12:28:21 UTC
Created attachment 181735 [details]
check for driver status
Comment 5 Philippe 2025-05-25 12:28:57 UTC
Created attachment 181736 [details]
log from fedora kde live installer
Comment 6 John Kizer 2025-05-25 16:43:00 UTC
Thanks for checking! Unfortunately, yes it looks like this is a manifestation of that NVIDIA issue - the post I was previously able to find on their developer forums is here: https://forums.developer.nvidia.com/t/black-screen-after-pc-wakes-up-from-suspend/304023

Thanks!
Comment 7 Philippe 2025-05-28 18:01:51 UTC
Hello, thank you very much. 

So I will contact NVIDIA.