Black screen after suspend, loginctl shows session

Hi,

I have a PC with AMD Ryzen 7 5700G CPU, no nvidia graphic, and using wayland…

Randomly, I get a black screen when resuming from suspend my PC in the morning. I can open a tty by pressing Ctrl-Alt-F5, then log as root, and look at loginctl output and get something like that :

SESSION  UID USER   SEAT  LEADER CLASS         TTY  IDLE SINCE
11    0 root   seat0 59364  user-early    tty5 no   -
12    0 root   -     59504  manager-early -    no   -
3 1000 pascal seat0 2357   user          tty2 no   -
4 1000 pascal -     2528   manager       -    no   -

4 sessions listed.

From here, I type loginctl activate 3, and then I get the mouse cursor, but it is still tty screen displayed. I can use my multimedia “Play” key, and music starts… So the session is still alive, but I cannot access it (as I can understand).

At this step, I have to go back to tty5 and reboot system. Once rebooted, I cannot find something relevant in the logs.

My question is about any other command I could use from tty to get my previous session back ? Any idea ?

Thank you.

Hi,

From what you’ve described this sounds like it might be a DE issue. Do you happen to know which desktop environment you’re using?

@pled, could you share the output of this please:

inxi -SMGxx --za

Sorry, I should have mentioned it ! :worried: I am using Gnome (gnome-shell version is 50.1).

I also forgot to mention I have 2 monitors.

Here is the output of the command (this morning, desktop resumed as expected, so the command is run under “normal” conditions) :

$ inxi -SMGxx --za
System:
Kernel: 6.19.14-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
Desktop: GNOME v: 50.1 tk: GTK v: 3.24.52 wm: gnome-shell dm: GDM
Distro: EndeavourOS base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: 
Mobo: ASUSTeK model: PRIME B550M-A (WI-FI) v: Rev X.0x
serial:  part-nu: SKU Firmware: UEFI
vendor: American Megatrends v: 3636 date: 01/04/2026
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Cezanne [Radeon Vega Series /
Radeon Mobile Series] vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5
pcie: speed: 8 GT/s lanes: 16 ports: active: DP-1,HDMI-A-1 empty: DVI-D-1
bus-ID: 0a:00.0 chip-ID: 1002:1638 temp: 31.0 C
Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2:2 chip-ID: 046d:082d
 Display: wayland server: X.org v: 1.21.1.22 with: Xwayland v: 24.1.10 
compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
Monitor-1: DP-1 model: AOC 24G2W1G3- res: 1920x1080 dpi: 93
diag: 604mm (23.8")
Monitor-2: HDMI-A-1 model: Philips PHL 243S7 res: 1920x1080 dpi: 93
diag: 604mm (23.8")
API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
gbm: drv: kms_swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 26.0.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
renoir ACO DRM 3.64 6.19.14-arch1-1) device-ID: 1002:1638 display-ID: :0.0
Info: Tools: api: eglinfo,glxinfo x11: xdpyinfo, xprop, xrandr

Thanks for providing that info.

I did a little research as something about a black screen on gnome sounded familiar. Found this: https://gitlab.gnome.org/GNOME/mutter/-/work_items/2467

So it looks like others have had this problem. You could maybe try using another DE as a workaround (though that’s hardly a fix).

Additonally, could you run the following after resuming so we can see what is failing?

sudo journalctl -b

Thank you for your help. Yes, it might be DE related, but this is not a reason for me to leave Gnome ! :wink: . I will keep with it…

This morning, issue is back. I open tty and check logs again. I paste it here : https://pastebin.com/1TBcZyFY

The only thing I can see is the thousands of lines at the end of the log.
avril 30 09:24:45 pascal-eos gnome-shell[2675]: [Smart Auto Move NG] _handleTimeoutSync() skipped: screen shield active or session locked

They come from a Gnome extension “Smart Auto Move NG” that allows to save desktop windows (position, size, and workspace). I thought it was not related to the problem (being a consequence and not the cause), but the number of lines every second is so high (thousands of lines every second)… It may need some action !
So I have disabled that extension for now. I will check now if issue is still present, and will update that post accordingly.

Thank you again for your help !

Quick update : The extension problem was a known defect, and is fixed with latest version. Which is now installed.

I will check again now, and if issue is still present, I will continue investigations focusing on Gnome extensions (deactivate all) to make sure issue is not coming from that side.

After one week using new version for “Smart Auto Move NG” extension (v59), which fix the issue with logs, everything works now as expected, and I have no more issue when resuming from suspend.

From that experience, when having such issue, I will now remember to disable all Gnome extensions and see what happens. The same good practice as for Firefox…
I should also have been more accurate when looking at logs, extension was the cause and not a consequence…