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.

  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)
  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
  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
  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
  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.
  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
  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>
  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
  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
  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
  ID-1: swap-1 type: zram size: 8 GiB used: 407.7 MiB (5.0%) priority: 100
    dev: /dev/zram0
  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
  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