Fedora 39 with Wayland failing to wake up from sleep

Hey all,

When my desktop falls asleep (Either due to being idle for a certain period of time or manually put to sleep) when I try to wake it back up I’m met with both my monitors backlights turning on, but thats the end of it. I have to reboot to actually get passed that, for now I set my computer to never sleep but of course thats less than ideal.

X11 seems to do this as well (Tried once with X11 and it did indeed happen, although this time it looked like the time popped up and then it froze)


Any ideas? I do have the latest Nvidia drivers from the rpmfusion repo as well.

I don’t have much to add other than this also happens for me sometimes, normally when suspended overnight.

OS: Fedora Linux 39 (Workstation Edition) x86_64 
Host: B650E PG-ITX WiFi 
Kernel: 6.6.8-200.fc39.x86_64 
Uptime: 3 hours, 56 mins 
Packages: 1729 (rpm), 59 (flatpak) 
Shell: bash 5.2.21 
Resolution: 2560x1440 
DE: GNOME 45.2 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: AMD Ryzen 7 7800X3D (16) @ 5.050GHz 
GPU: AMD ATI 12:00.0 Raphael 
GPU: AMD ATI Radeon RX 7900 XT/7900 XTX 
Memory: 14426MiB / 31199MiB

Similar issue for both Nvidia RTX 2070 and AMD Radeon RX 7900 XT/7900 XTX points to something other than GPU issues. First step should be to see if linux has crashed or is still running, in which case you can try connecting from another system using ssh, <Ctrl-Alt F3>, or the magic SysReq key. The you can use journalctl -b N to search for relevant error messages.

Providing the output from inxi -Fzxx gives more details of the drivers actually being used.

I don’t get the issue very often but I will try to ssh if it happens again.

System:
  Kernel: 6.6.8-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-13.fc39 Desktop: GNOME v: 45.2 tk: GTK v: 3.24.39 wm: gnome-shell
    dm: GDM Distro: Fedora release 39 (Thirty Nine)
Machine:
  Type: Desktop System: ASRock product: B650E PG-ITX WiFi v: N/A
    serial: <superuser required>
  Mobo: ASRock model: B650E PG-ITX WiFi serial: <superuser required>
    UEFI: American Megatrends LLC. v: 2.02 date: 11/17/2023
Battery:
  ID-1: hidpp_battery_0 charge: 53% condition: N/A volts: 3.8 min: N/A
    model: Logitech G Pro Wireless Gaming Mouse serial: <filter>
    status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 96 MiB
  Speed (MHz): avg: 4806 high: 4839 min/max: 400/5050 cores: 1: 4836 2: 4829
    3: 4831 4: 4830 5: 4832 6: 4832 7: 4788 8: 4826 9: 4679 10: 4824 11: 4729
    12: 4834 13: 4797 14: 4764 15: 4831 16: 4839 bogomips: 134147
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
    arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1,DP-3
    empty: DP-2,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:744c
  Device-2: AMD Raphael driver: amdgpu v: kernel arch: RDNA-2 pcie:
    speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4, DP-5, HDMI-A-2,
    eDP-1 bus-ID: 12:00.0 chip-ID: 1002:164e temp: 48.0 C
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.3
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 model: LG (GoldStar) 27GL850 res: 2560x1440 dpi: 109
    diag: 685mm (27")
  Monitor-2: DP-3 model: LG (GoldStar) ULTRAGEAR res: 2560x1440 dpi: 109
    diag: 685mm (27")
  API: OpenGL v: 4.6 vendor: amd mesa v: 23.3.1 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM
    17.0.6 DRM 3.54 6.6.8-200.fc39.x86_64) device-ID: 1002:744c
    display-ID: :0.0
  API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: mesa radv device-ID: 1002:744c device: 1
    type: integrated-gpu driver: mesa radv device-ID: 1002:164e device: 2
    type: cpu driver: mesa llvmpipe device-ID: 10005:0000
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
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 driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:1640
  Device-3: AMD Family 17h/19h HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 12:00.6 chip-ID: 1022:15e3
  Device-4: DSEA A/S [] driver: cdc_acm,hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-4:7 chip-ID: 1395:009a
  API: ALSA v: k6.6.8-200.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.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 Wi-Fi 6 AX210/AX211/AX411 160MHz vendor: Rivet Networks
    driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 08:00.0
    chip-ID: 8086:2725
  IF: wlp8s0 state: down mac: <filter>
  Device-2: Realtek Killer E3000 2.5GbE vendor: ASRock driver: r8169
    v: kernel pcie: speed: 5 GT/s lanes: 1 port: e000 bus-ID: 09:00.0
    chip-ID: 10ec:3000
  IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-12:4 chip-ID: 8087:0032
  Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.3 lmp-v: 12
Drives:
  Local Storage: total: 931.51 GiB used: 252.23 GiB (27.1%)
  ID-1: /dev/nvme0n1 vendor: Seagate model: ZP1000GM30004 size: 931.51 GiB
    speed: 126 Gb/s lanes: 4 serial: <filter> temp: 54.9 C
Partition:
  ID-1: / size: 464.96 GiB used: 251.88 GiB (54.2%) fs: btrfs dev: /dev/dm-0
    mapped: luks-cf93fef2-30b6-4bdc-bfa9-c8ba0951b71d
  ID-2: /boot size: 973.4 MiB used: 345.9 MiB (35.5%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 464.96 GiB used: 251.88 GiB (54.2%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-cf93fef2-30b6-4bdc-bfa9-c8ba0951b71d
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 407.7 MiB (5.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 59.8 C mobo: N/A
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 53.0 C mem: 64.0 C fan: 0 device: amdgpu
    temp: 48.0 C
Info:
  Processes: 545 Uptime: 1d 4h 56m Memory: total: 32 GiB note: est.
  available: 30.47 GiB used: 11.93 GiB (39.2%) Init: systemd v: 254
  target: graphical (5) default: graphical Compilers: N/A Packages: pm: rpm
  pkgs: N/A note: see --rpm pm: flatpak pkgs: 47 Shell: Bash v: 5.2.21
  running-in: gnome-terminal inxi: 3.3.31

Same problem here. AMD hardware.


System:
  Kernel: 6.7.11-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.5 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Desktop Mobo: Micro-Star model: A320M-A PRO (MS-7C51) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.30
    date: 11/08/2019
CPU:
  Info: quad core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64
    type: MT MCP arch: Zen/Zen+ note: check rev: 1 cache: L1: 384 KiB L2: 2 MiB
    L3: 4 MiB
  Speed (MHz): avg: 3219 high: 3700 min/max: N/A cores: 1: 3700 2: 3700
    3: 3700 4: 3700 5: 1494 6: 3700 7: 3700 8: 2064 bogomips: 59199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: Micro-Star MSI driver: amdgpu v: kernel arch: GCN-5 pcie:
    speed: 8 GT/s lanes: 16 ports: active: DVI-D-1 empty: HDMI-A-1,HDMI-A-2
    bus-ID: 29:00.0 chip-ID: 1002:15d8 temp: 40.0 C
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: DVI-D-1 model: EIZO NANAO L768 res: 1280x1024 dpi: 86
    diag: 482mm (19")
  API: OpenGL v: 4.6 vendor: amd mesa v: 23.3.6 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon Vega 11 Graphics (radeonsi raven
    LLVM 17.0.6 DRM 3.57 6.7.11-200.fc39.x86_64) device-ID: 1002:15d8
    display-ID: :0.0
  API: Vulkan v: 1.3.275 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 1002:15d8 device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 29:00.1 chip-ID: 1002:15de
  Device-2: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 29:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.7.11-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 25:00.0 chip-ID: 10ec:8168
  IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.13 TiB used: 712.7 GiB (61.7%)
  ID-1: /dev/sda vendor: Apacer model: AS340 240GB size: 223.57 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: Toshiba model: HDWD110 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 1.13 TiB used: 712.34 GiB (61.8%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 351.3 MiB (36.1%) fs: ext4
    dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 1.13 TiB used: 712.34 GiB (61.8%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 27.0 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 2556 fan-3: 0 fan-4: 0 fan-5: 0
  Power: 12v: N/A 5v: N/A 3.3v: 3.41 vbat: 3.33
Info:
  Memory: total: 32 GiB note: est. available: 29.31 GiB used: 3.06 GiB (10.4%)
  Processes: 366 Power: uptime: 35m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: gnome-terminal inxi: 3.3.33

Any ideas on how to debug this? I can not login via ssh, neither ping. An LED on the computer, that is usually permanent on when computer is running, blinks when the computer tries to start after sleep (suspend).

You should start a new thread – this one is months old. Running journalctl in a terminal may have some useful information, but I get nearly 3000 lines following a boot, so it takes some effort to find relevant entries, and many lines are very long. Each line begins with a date and time, so if you note the time when the system went to sleep you can find a previous boot and start looking around that time. Start with journalctl -b -1 -p 3 | cat (see man journalctl for the meaning of these options).