Computer will not resume from sleep and just shows a black screen!

I have already tried searching the forum to fix this sleep issue but none of the things i have tried seem to fix the problem. Can someone please help i tried the nvidia-drm.modeset=1 in garuda boot options checked the power management settings and it only says sleep. But when computer sleeps i can not get back to the desktop without hard reset. I am using nvidia drivers and included the inxi as required below.

System:
Kernel: 6.11.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=3495fb3a-0f93-47a7-b1f5-7c2587aad828 rw rootflags=subvol=@
quiet loglevel=3 splash nvidia-drm.modeset=1 ibt=off
Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A info: frameworks v: 6.6.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: Razer product: Blade 17 (2022) - RZ09-0423 v: 8.04
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Razer model: DI780 v: 4 serial: <superuser required>
part-nu: RZ09-0423PEF3 uuid: <superuser required> UEFI: Razer v: 1.09
date: 01/10/2023
Battery:
ID-1: BAT0 charge: 79.0 Wh (93.4%) condition: 84.6/82.1 Wh (103.1%)
volts: 16.4 min: 15.4 model: Razer Blade type: Unknown serial: <filter>
status: not charging
CPU:
Info: model: 12th Gen Intel Core i9-12900H bits: 64 type: MST AMCP
arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
microcode: 0x434
Topology: cpus: 1x dies: 1 clusters: 8 cores: 14 threads: 20 mt: 6 tpc: 2
st: 8 smt: enabled cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32
KiB, 8x64 KiB L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB
desc: 1x24 MiB
Speed (MHz): avg: 3398 min/max: 400/4900:5000:3800 scaling:
driver: intel_pstate governor: powersave cores: 1: 3398 2: 3398 3: 3398
4: 3398 5: 3398 6: 3398 7: 3398 8: 3398 9: 3398 10: 3398 11: 3398 12: 3398
13: 3398 14: 3398 15: 3398 16: 3398 17: 3398 18: 3398 19: 3398 20: 3398
bogomips: 116736
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Razer USA
driver: i915 v: kernel alternate: xe arch: Gen-12.2 process: Intel 10nm
built: 2021-22+ ports: active: none off: eDP-1 empty: none bus-ID: 00:02.0
chip-ID: 8086:46a6 class-ID: 0300
Device-2: NVIDIA GA103M [GeForce RTX 3080 Ti Mobile] vendor: Razer USA
driver: nvidia v: 560.35.03 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-09; EOL~2026-12-xx) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 1 speed: 2.5 GT/s
lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
off: HDMI-A-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 01:00.0
chip-ID: 10de:2420 class-ID: 0300
Device-3: IMC Networks Integrated RGB Camera driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-8:4 chip-ID: 13d3:5279
class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
gpu: i915,nvidia display-ID: 0
Monitor-1: HDMI-A-1 res: 5120x1440 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.2.3-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
device-ID: 8086:46a6 memory: 15.15 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.3.295 layers: 10 device: 0 type: integrated-gpu
name: Intel Graphics (ADL GT2) driver: mesa intel v: 24.2.3-arch1.1
device-ID: 8086:46a6 surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: NVIDIA GeForce RTX 3080 Ti Laptop GPU
driver: nvidia v: 560.35.03 device-ID: 10de:2420
surfaces: xcb,xlib,wayland device: 2 type: cpu name: llvmpipe (LLVM
18.1.8 256 bits) driver: mesa llvmpipe v: 24.2.3-arch1.1 (LLVM 18.1.8)
device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Razer USA
driver: sof-audio-pci-intel-tgl alternate: snd_hda_intel, snd_soc_avs,
snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8 class-ID: 0401
Device-2: NVIDIA vendor: Razer USA driver: snd_hda_intel v: kernel pcie:
gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:2288 class-ID: 0403
API: ALSA v: k6.11.1-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Alder Lake-P PCH CNVi WiFi vendor: Rivet Networks
Simultaneous Dual Band Wi-Fi 6E AX1690i 160MHz 2x2 driver: iwlwifi
v: kernel bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Razer USA driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp4s0 state: down mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 8087:0033
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 4.57 TiB used: 42.95 GiB (0.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVL21T0HCLR-00B00 size: 953.87 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: GXA7601Q temp: 36.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: Western Digital
model: WDS400T3X0C-00SJG0 size: 3.64 TiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 114000WD temp: 44.9 C scheme: GPT
Partition:
ID-1: / raw-size: 107.42 GiB size: 107.42 GiB (100.00%)
used: 42.9 GiB (39.9%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:9
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 50.4 MiB (52.5%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
ID-3: /home raw-size: 107.42 GiB size: 107.42 GiB (100.00%)
used: 42.9 GiB (39.9%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:9
ID-4: /var/log raw-size: 107.42 GiB size: 107.42 GiB (100.00%)
used: 42.9 GiB (39.9%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:9
ID-5: /var/tmp raw-size: 107.42 GiB size: 107.42 GiB (100.00%)
used: 42.9 GiB (39.9%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:9
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.03 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 20 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 51.8 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB note: est. available: 31.03 GiB used: 5.35 GiB (17.2%)
Processes: 405 Power: uptime: 53m states: freeze,mem,disk suspend: s2idle
avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.34 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Packages: 1955 pm: pacman pkgs: 1938 libs: 588 tools: octopi,paru
pm: flatpak pkgs: 17 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi
default: fish v: 3.7.1 running-in: konsole inxi: 3.3.36
Garuda (2.6.26-1):
System install date:     2024-07-06
Last full system update: 2024-10-03
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Which one?
:slight_smile: .
Please post what exactly you have found and what you have tried so that helpers do not post something in vain. Which also inflates the topic.

‘Try this’
‘I already have’

etc. etc.

Please check the links and search also the web about.

1 Like

As @SGS already linked to my reply, I definitely believe this to be a kernel issue(mostly).

2 Likes

i got a RTX4080 and had the same problem this fixed it for me

#commands to fix suspending computer with a nvidia graphic card
sudo micro /etc/modprobe.d/nvidia-preserve-video-memory.conf
#paste the line below
options nvidia NVreg_PreserveVideoMemoryAllocations=1
#press Ctrl s, and then Ctrl q, to save and close the file.
#activate suspend services.
sudo systemctl enable --now nvidia-suspend.service
sudo systemctl enable --now nvidia-hibernate.service
sudo systemctl enable --now nvidia-resume.service
4 Likes

Happy for you, just an addition to possible fixes, using nvidia-open-dkms also seems to fix these kind of issues sometimes, in some cases.

4 Likes

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