System does not load after sleep

Hi, I installed the system again because I changed SSD, but when I put the pc to sleep ( or happens due to inactivity), most of the time I get no login windows and just a black screen with the cursor able to move

Nvidia? https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend

full red team user :dizzy_face:

You can share some hardware info like this:

inxi -Fxxc0z | eos-sendlog

Are you able to reproduce the issue by manually invoking suspend?

systemctl suspend

When you resume to a black screen with only a cursor, are you able to switch to a TTY? Press Ctrl+Alt+F2 (or F3, or F4, and so on) to switch to a TTY.

When you have a chance, enable Magic SysReq: [Tip] Enable Magic SysRq Key (REISUB) See if invoking the first few letters from the black screen (R, E, I) jostles the system back into responsiveness.

I’ve been having the same issue and I figured out that re-selecting the input source on the monitor brings he display back.

here my device hardware, tried repeating the issue, it does repeat but digging more I can tab if there’s multiple apps at the moment, and also I can interact with everything (example: click a youtube video to start a again) but I cannot see the desktop once leaving tab manager

System:
  Kernel: 6.6.37-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: KDE Plasma v: 6.1.2 tk: Qt v: N/A wm: kwin_x11 dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B650E-F GAMING WIFI v: Rev 1.xx
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 2214
    date: 01/02/2024
CPU:
  Info: 8-core model: AMD Ryzen 7 7700 bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 32 MiB
  Speed (MHz): avg: 400 min/max: 400/5389 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
    15: 400 16: 400 bogomips: 121633
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 32 [Radeon RX 7700 XT / 7800 XT] vendor: Tul / PowerColor
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 03:00.0 chip-ID: 1002:747e
  Device-2: AMD Raphael vendor: ASUSTeK driver: amdgpu v: kernel
    arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-4,HDMI-A-2 bus-ID: 0f:00.0 chip-ID: 1002:164e temp: 48.0 C
  Device-3: Microdia Webcam Vitade AF driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-12:6
    chip-ID: 0c45:6366
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: HP M24fw FHD res: 1920x1080
    dpi: 93 diag: 628mm (24.7")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: radeonsi
    device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7800 XT (radeonsi
    navi32 LLVM 18.1.8 DRM 3.54 6.6.37-1-lts) device-ID: 1002:747e
  API: Vulkan v: 1.3.279 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: mesa radv device-ID: 1002:747e device: 1 type: integrated-gpu
    driver: mesa radv device-ID: 1002:164e
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30
  Device-2: AMD Rembrandt Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0f:00.1 chip-ID: 1002:1640
  Device-3: Microdia Webcam Vitade AF driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-12:6
    chip-ID: 0c45:6366
  Device-4: ASUSTek USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-6:2 chip-ID: 0b05:1a52
  API: ALSA v: k6.6.37-1-lts status: kernel-api
  Server-1: PipeWire v: 1.2.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie:
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0a:00.0 chip-ID: 8086:15f3
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel pcie:
    speed: 5 GT/s lanes: 1 bus-ID: 0b:00.0 chip-ID: 14c3:0608
  IF: wlan0 state: down mac: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 bus-ID: 1-11:5 chip-ID: 0e8d:0608
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 2.27 TiB used: 230.6 GiB (9.9%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SNV2S500G size: 465.76 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 45.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO Plus 2TB
    size: 1.82 TiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 49.9 C
Partition:
  ID-1: / size: 1.79 TiB used: 230.44 GiB (12.6%) fs: ext4 dev: /dev/nvme1n1p2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 53.9 C mobo: 44.0 C
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 48.0 C mem: 59.0 C fan: 0 device: amdgpu
    temp: 48.0 C
Info:
  Memory: total: 32 GiB note: est. available: 30.57 GiB used: 2.84 GiB (9.3%)
  Processes: 339 Power: uptime: 7m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1203 Compilers: gcc: 14.1.1 Shell: Bash
    v: 5.2.26 running-in: konsole inxi: 3.3.35