PC doesn't display anything after waking up from suspend

Hi! I have a Manjaro desktop PC, and when I suspend it or it suspends itself due to inactivity and I wake it up by clicking a keyboard key, the PC wakes up, but it doesn’t display anything. I think it wakes up because the GPU light turns on, the case light starts blinking as usual, and the fans turn on as well, but the monitor doesn’t get any signal. I know it isn’t a blackscreen because when I try to switch the input to the display port on the monitor, the monitor starts looking for other signals and then goes into sleep mode, as it does when there’s nothing connected to it.
I tried disconnecting and connecting the display port, but it did nothing.
I can only get the display back if I manually reboot the PC (with the case button).
Here is my system information:
inxi -Fazy

System:
  Kernel: 6.11.10-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.11-x86_64
    root=UUID=22a23718-f74b-4b64-b9dd-8860d1dc4fd5 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 47.2 tk: GTK v: 3.24.43 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 47.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: B650M DS3H v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B650M DS3H v: x.x serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: FB
    date: 07/10/2023
Battery:
  Device-1: apple_mfi_fastcharge model: N/A serial: N/A charge: N/A status: N/A
  Device-2: hidpp_battery_0 model: Logitech Wireless Mouse M510
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4 gen: 4
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB
    desc: 8x1024 KiB L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 5340 min/max: 400/5573 boost: enabled scaling:
    driver: amd-pstate-epp governor: performance cores: 1: 5340 2: 5340 3: 5340
    4: 5340 5: 5340 6: 5340 7: 5340 8: 5340 9: 5340 10: 5340 11: 5340 12: 5340
    13: 5340 14: 5340 15: 5340 16: 5340 bogomips: 143782
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA AD104 [GeForce RTX 4070 SUPER] vendor: Gigabyte
    driver: nvidia v: 550.135 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-09) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2783
    class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Gigabyte
    driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-1, DP-2, DP-3, HDMI-A-1, Writeback-1 bus-ID: 13:00.0
    chip-ID: 1002:164e class-ID: 0300 temp: 36.0 C
  Display: x11 server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: amdgpu,nouveau
    unloaded: modesetting,radeon failed: nvidia alternate: fbdev,nv,vesa
    dri: radeonsi gpu: nvidia,amdgpu display-ID: :1
    note: <missing: xdpyinfo/xrandr>
  Monitor-1: Unknown-1 size-res: N/A modes: 2560x1440
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.135
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4070
    SUPER/PCIe/SSE2 memory: 11.71 GiB
Audio:
  Device-1: NVIDIA AD104 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:22bc class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 13:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 13:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.11.10-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 04:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  IF-ID-1: enp19s0f3u1c4i2 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-11:6 chip-ID: 13d3:3563
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.35 TiB used: 67.22 GiB (4.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: TeamGroup model: TM8FPK001T
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: ELFMH0.1 temp: 36.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37480G
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: K1B3 scheme: GPT
Partition:
  ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%) used: 67.19 GiB (7.3%)
    fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 31.1 MiB (10.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 45.1 C mobo: 34.0 C
  Fan Speeds (rpm): N/A
  GPU: device: nvidia screen: :1.0 temp: 36 C fan: 0% device: amdgpu
    temp: 36.0 C
Info:
  Memory: total: 16 GiB note: est. available: 14.77 GiB used: 3.2 GiB (21.7%)
  Processes: 371 Power: uptime: 24m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 5.87 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1719 libs: 380 tools: gnome-software,pamac
    pm: flatpak pkgs: 0 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.36

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
           video-linux            2024.05.06                true            PCI


Warning: No installed USB configs!

Here are some journals:

~ journalctl --boot -1 | sed -n -r "/Starting.+Suspend/,/Finished.+Suspend/p" 
dic 16 18:25:23 manjaro systemd[1]: Starting System Suspend...
dic 16 18:25:23 manjaro systemd-sleep[3647]: User sessions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).
dic 16 18:25:23 manjaro systemd-sleep[3647]: This is not recommended, and might result in unexpected behavior, particularly
dic 16 18:25:23 manjaro systemd-sleep[3647]: in suspend-then-hibernate operations or setups with encrypted home directories.
dic 16 18:25:23 manjaro systemd-sleep[3647]: Performing sleep operation 'suspend'...
dic 16 18:25:23 manjaro kernel: PM: suspend entry (deep)

If you need any other info about my PC, ask me.
Thanks!

1 Like

Hello @jokkess :wink:

Journal of the suspend process is needed to know where it hangs.

journalctl --boot -1 | sed -n -r "/Starting.+Suspend/,/Finished.+Suspend/p"

Edited the question to add the output of that command. Sorry for the tardiness, just been really busy

Related to this: Systemd 256 may break sleep

The problem appears to be with the most recent kernel. By the way, kernel 6.11 is EOL. Upgrade to Linux 6.12 and see if there is a fix for you, or use a LTS kernel.

It worked! Thanks! Note that Linux 6.12 didn’t work, I had to downgrade to the latest LTS available kernel, which is 6.6 at the time. But that worked. Thank you very much!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.