Unable to wakeup since last update

Hello,
3 years Garuda user here on Gnome, without any issue at all.

Did an update 5 days ago and since that my system can’t wake-up from sleep, resulting with sometimes no display, sometimes vertical colored artifatcs.

2 days later I did a fresh garuda install because this is very annoying to me, reboot from scratch every day is painfull for my job, but no differences at all, got same issues.

Here is some issues after update and first reboot:

 ╰─λ journalctl -b -1 -p err
juil. 09 07:45:33 Archtower kernel: x86/cpu: SGX disabled by BIOS.
juil. 09 07:45:34 Archtower kernel: 
juil. 09 07:46:02 Archtower systemd-tmpfiles[669]: Failed to write file "/sys/module/pcie_aspm/parameters/policy": Operation not permitted
juil. 09 07:46:11 Archtower gdm-password][3279]: gkr-pam: unable to locate daemon control file
juil. 09 07:46:12 Archtower 30-systemd-environment-d-generator[3314]: /home/harmo/.config/environment.d/firefox.conf:2: invalid variable name "env MOZ_USE_XINPUT2", ignoring.
juil. 09 07:46:12 Archtower systemd[3304]: Failed to start Profile-sync-daemon.
juil. 09 07:46:12 Archtower gdm[1246]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
juil. 09 07:46:13 Archtower systemd[3304]: Failed to start Application launched by gnome-session-binary.
juil. 09 07:46:17 Archtower gdm[1246]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
juil. 09 07:52:04 Archtower kernel: NVRM: GPU at PCI:0000:01:00: GPU-d6c23c6d-6030-24a0-c85e-f94d1cfdb88d
juil. 09 07:52:04 Archtower kernel: NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception on GPC 0: SAVE_RESTORE_ADDR_OOB
juil. 09 07:52:04 Archtower kernel: NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x500900=0x80000001
juil. 09 07:52:04 Archtower kernel: NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception on GPC 1: SAVE_RESTORE_ADDR_OOB
juil. 09 07:52:04 Archtower kernel: NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x508900=0x80000001
juil. 09 07:52:04 Archtower kernel: NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception on GPC 2: SAVE_RESTORE_ADDR_OOB
juil. 09 07:52:04 Archtower kernel: NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x510900=0x80000001
juil. 09 07:52:04 Archtower kernel: NVRM: Xid (PCI:0000:01:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ChID 0020, Class 0000c197, Offset 000034a4, Data 00000f20
juil. 09 07:52:04 Archtower kernel: BUG: unable to handle page fault for address: ffffc90004fcac00
juil. 09 07:52:04 Archtower kernel: #PF: supervisor read access in kernel mode
juil. 09 07:52:04 Archtower kernel: #PF: error_code(0x0000) - not-present page
juil. 09 07:52:04 Archtower kernel: Oops: 0000 [#1] PREEMPT SMP PTI

Here is my output from garuda-inxi

 ╰─λ garuda-inxi  
System:
  Kernel: 6.6.37-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=20ade41b-ae3e-4740-981a-24eeff5fba8f rw rootflags=subvol=@
    quiet loglevel=3 splash ibt=off
  Desktop: GNOME v: 46.3.1 tk: GTK v: 3.24.42 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 46.2 Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: MSI model: B150M BAZOOKA (MS-7982) v: 3.0
    serial: <superuser required> uuid: <superuser required>
    UEFI: American Megatrends v: I.C0 date: 10/24/2016
CPU:
  Info: model: Intel Core i5-6600 bits: 64 type: MCP arch: Skylake-S
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 2331 high: 3876 min/max: 800/3900 scaling:
    driver: intel_pstate governor: performance cores: 1: 800 2: 3876 3: 800
    4: 3849 bogomips: 26411
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Micro-Star MSI
    driver: nvidia v: 555.58.02 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s ports: active: none off: HDMI-A-1
    empty: DP-1, DP-2, DP-3, DVI-D-1 bus-ID: 01:00.0 chip-ID: 10de:1b81
    class-ID: 0300
  Device-2: Creative Live! Cam Sync HD [VF0770]
    driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    mode: 2.0 bus-ID: 1-10:7 chip-ID: 041e:4095 class-ID: 0102
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
    compositor: gnome-shell driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: Asus MX279
    serial: <filter> built: 2016 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: Vulkan v: 1.3.279 layers: 1 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1070 driver: nvidia v: 555.58.02
    device-ID: 10de:1b81 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  Device-2: NVIDIA GP104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-3: ASUSTek TUF H3 Wireless driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1:2
    chip-ID: 0b05:1963 class-ID: 0300
  Device-4: Creative Live! Cam Sync HD [VF0770]
    driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    mode: 2.0 bus-ID: 1-10:7 chip-ID: 041e:4095 class-ID: 0102
  Device-5: OPPO CPH2399 driver: snd-usb-audio type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:3 chip-ID: 22d9:2046
    class-ID: 0103 serial: <filter>
  API: ALSA v: k6.6.37-1-lts status: kernel-api tools: N/A
  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 tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: ASUSTek TUF H3 Wireless driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1:2
    chip-ID: 0b05:1963 class-ID: 0300
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-11:8
    chip-ID: 0a12:0001 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: yes address: N/A
Drives:
  Local Storage: total: 2.28 TiB used: 1010.09 GiB (43.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SUV400S37120G
    size: 111.79 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 96R9 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DM010-2EP102
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: CC43 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Corsair model: Force LX SSD
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 7A scheme: MBR
  ID-4: /dev/sdd maj-min: 8:48 vendor: HGST (Hitachi) model: HTS721010A9E630
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: A3U0 scheme: MBR
  ID-5: /dev/sde maj-min: 8:64 vendor: Smart Modular Tech. model: SH00N256GB
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 5A0
Partition:
  ID-1: / raw-size: 111.49 GiB size: 111.49 GiB (100.00%)
    used: 13.79 GiB (12.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 931.51 GiB size: 915.82 GiB (98.31%)
    used: 268.85 GiB (29.4%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17
  ID-4: /var/log raw-size: 111.49 GiB size: 111.49 GiB (100.00%)
    used: 13.79 GiB (12.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 111.49 GiB size: 111.49 GiB (100.00%)
    used: 13.79 GiB (12.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 47.01 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.0 C pch: 47.0 C mobo: N/A gpu: nvidia
    temp: 40 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
  Memory: total: 48 GiB available: 47.01 GiB used: 4.58 GiB (9.7%)
  Processes: 275 Power: uptime: 20m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 18.76 GiB services: gsd-power,upowerd
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1337 libs: 423 tools: paru Compilers:
    gcc: 14.1.1 Shell: garuda-inxi default: Zsh v: 5.9 running-in: terminator
    inxi: 3.3.35
Garuda (2.6.26-1):
  System install date:     2024-07-06
  Last full system update: 2024-07-09
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       No/Undetected
  Failed units:            

Any help appreciated, hoping for not a material or compatibility issue.

1 Like

Try setting up " Preserve video memory after suspend" as described in this article: NVIDIA/Tips and tricks - ArchWiki

You can add a kernel module parameter by creating a config in etc/modprobe.d/ with an editor like Micro:

sudo micro /etc/modprobe.d/nvidia-preserve-memory.conf

Paste in the options for the kernel module parameter:

options nvidia NVreg_PreserveVideoMemoryAllocations=1

Save and exit out of the file. Then rebuild the initramfs.

sudo dracut-rebuild

Finally, enable the services mentioned in the article.

sudo systemctl enable --now nvidia-suspend.service nvidia-hibernate.service nvidia-resume.service

I hope that helps, welcome to the community @HarmO. :wave:

2 Likes

Thanks for the detailed reply !

I did everything listed, but unfortunately no change at all.

I found a workaround, I have to unplug/replug a monitor manually to get out of the screen sleep now!

I also replaced HDMI cables by display port ones, same issue, have to unplug/replug to get an image on wake-up. I also have sometimes this problem on PC reboot. Looks like Nvidia last drivers broke everything on my setup.

1 Like

Ya lots of problems with the Nvidia drivers lately. Well since forever really, but maybe a bit worse than usual recently.

I guess you could always try running the non proprietary Nvidia driver. :person_shrugging:

1 Like