Bug 499852 - Black screen after waking from suspend-then-hibernate
Summary: Black screen after waking from suspend-then-hibernate
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-12 04:08 UTC by Kimiblock Moe
Modified: 2025-02-12 08:23 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 Kimiblock Moe 2025-02-12 04:08:54 UTC
SUMMARY
On Arch Linux with NVIDIA 570 driver, suspend works but suspend-then-hibernate doesn't. A black screen with cursor blinking occurs. Switching TTY (usually tty 3) bring the desktop back.

STEPS TO REPRODUCE
1. Run systemctl suspend-then-hibernate
2. Wake up the system
3. Black screen until switching tty

OBSERVED RESULT
Black screen

EXPECTED RESULT
Screen locker comes up

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION

Name            : nvidia-open
Version         : 570.86.16-5
Description     : NVIDIA open kernel modules

There are some relevant logs while exiting suspend:

```
Feb 12 11:55:42 kimiblocks-workstation kscreenlocker_greet[13335]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)
Feb 12 11:55:42 kimiblocks-workstation kscreenlocker_greet[13335]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)
Feb 12 11:55:42 kimiblocks-workstation kscreenlocker_greet[13335]: Failed to write to the pipe: Bad file descriptor.
Feb 12 11:55:42 kimiblocks-workstation plasmashell[5361]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Feb 12 11:55:43 kimiblocks-workstation chronyd[4650]: Can't synchronise: no majority
Feb 12 11:55:45 kimiblocks-workstation kwin_wayland[5184]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x58f319cc4ff0)
```
Comment 1 Kimiblock Moe 2025-02-12 04:58:56 UTC
I think this is an NVIDIA bug because GNOME shows a black screen too...
Comment 2 David Redondo 2025-02-12 08:23:12 UTC
EGL_BAD_ALLOC FWIW