System freezes on suspend/hibernate after update to systemd 256-3

After the recent update of systemd to 256-3, suspend and hibernate are not working. The system just freezes (no display).

Hi,

I made a fresh install this morning and am facing the same issue. When I close the laptop lid and then open it, I only see a black screen and an immovable mouse cursor.

Only way to get out is to restart the computer. I’m running the LTS kernel.

What hardware are you guys running?

inxi -Fxxc0z | eos-sendlog

A L W A Y S :wink:

System:
  Kernel: 6.6.34-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA507NU_FA577NU
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: FA507NU v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: FA507NU.312 date: 08/11/2023
Battery:
  ID-1: BAT1 charge: 63.4 Wh (81.4%) condition: 77.9/90.2 Wh (86.3%)
    volts: 15.9 min: 15.9 model: ASUS A32-K55 serial: N/A status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3+ rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 2730 high: 4686 min/max: 400/4829 cores: 1: 2080 2: 2082
    3: 4667 4: 4682 5: 4681 6: 4686 7: 2084 8: 2082 9: 2079 10: 2084 11: 2081
    12: 2077 13: 2079 14: 2083 15: 2078 16: 2081 bogomips: 102255
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: ASUSTeK
    driver: nvidia v: 535.179 arch: Lovelace pcie: speed: 2.5 GT/s lanes: 8
    ports: active: none off: HDMI-A-1 empty: DP-9,eDP-2 bus-ID: 01:00.0
    chip-ID: 10de:28e1
  Device-2: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu
    v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, DP-7, DP-8 bus-ID: 36:00.0
    chip-ID: 1002:1681 temp: 52.0 C
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-4:2 chip-ID: 2b7e:b685
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia dri: radeonsi
    gpu: amdgpu,nvidia,nvidia-nvswitch display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: HDMI-A-1 mapped: HDMI-1-0 note: disabled model: BenQ GW2780
    res: 1920x1080 dpi: 82 diag: 686mm (27")
  Monitor-2: eDP-1 pos: primary model: AU Optronics B156HAN15.H
    res: 1920x1080 dpi: 142 diag: 394mm (15.5")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: radeonsi
    device: 3 drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11:
    drv: radeonsi inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.1.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 680M (radeonsi rembrandt
    LLVM 17.0.6 DRM 3.54 6.6.34-1-lts) device-ID: 1002:1681
Audio:
  Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22be
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 36:00.1 chip-ID: 1002:1640
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: snd_pci_acp6x v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 36:00.5 chip-ID: 1022:15e2
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 36:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.6.34-1-lts status: kernel-api
  Server-1: PipeWire v: 1.0.7 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: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network
    vendor: AzureWave driver: rtw89_8852be v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 04:00.0 chip-ID: 10ec:b852
  IF: wlan0 state: up mac: <filter>
  Device-3: Lite-On Dell Wireless Device driver: hid-generic,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-2:2 chip-ID: 04ca:00ac
  IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
    rev: 1.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-3:3 chip-ID: 13d3:3571
  Report: btmgmt ID: hci0 rfk-id: 0 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: 942.7 GiB used: 1.45 TiB (157.6%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 47.9 C
  ID-2: /dev/nvme1n1 vendor: Micron model: 2400 MTFDKBA512QFM
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 40.9 C
Partition:
  ID-1: / size: 133.51 GiB used: 81.35 GiB (60.9%) fs: ext4
    dev: /dev/nvme1n1p7
  ID-2: /boot/efi size: 256 MiB used: 64.1 MiB (25.0%) fs: vfat
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme1n1p9
Sensors:
  System Temperatures: cpu: 73.4 C mobo: N/A gpu: amdgpu temp: 49.0 C
  Fan Speeds (rpm): cpu: 2800
Info:
  Memory: total: 16 GiB note: est. available: 14.87 GiB used: 6.37 GiB (42.8%)
  Processes: 420 Power: uptime: 39m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: 1240 pm: pacman pkgs: 1209 pm: flatpak pkgs: 31 Compilers:
    clang: 17.0.6 gcc: 14.1.1 Shell: Bash v: 5.2.26 running-in: gnome-terminal
    inxi: 3.3.34

there is ongoing issue with suspend/hibernate and Nvidia Drivers:

1 Like

Hello, i am facing this problem as well, but i am running AMD only hardware. I had this happen on both GNOME and KDE.

The symptoms are:
I go to suspend my laptop via the DE’s gui and it “suspends”. What instead happens is that everything turns off but i can still see the power light turned on and when i go to power it up back again (via the power button, as the other keys don’t work to turn it back on anymore) it freezes up.

One time GNOME managed to turn back on from this suspension (it’s not always 100% freeze on my case) and i noticed that the battery drained a lot, meaning that something didn’t suspend correctly, even if it appeared to be suspended (seems the power light did indicate something not go right).
KDE is more likely to freezing up than GNOME.

Im not going to be around anymore in Endeavour for a while because i need a reliable system right now, i really didn’t expect systemd or/and the kernel to be unstable. Im just going to leave my full logs and some theories i have and good luck with this one.

Im suspecting that this is related to Arch having/lacking some kernel/systemd patches because Fedora works just fine, maybe it confirms that instead it is a versioning problem because right now Fedora is running systemd 255.7-1.

But in my opinion i doubt it is related to systemd 256 because since KDE 6 released, i had these suspend problems on Endeavour/Arch with systemd 255 (KDE 6 only), yet on Fedora it suspends just fine.

System:
  Kernel: 6.6.34-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X421DA_M413DA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X421DA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X421DA.303 date: 10/08/2021
Battery:
  ID-1: BAT0 charge: 19.9 Wh (70.3%) condition: 28.3/42.1 Wh (67.4%)
    volts: 11.8 min: 11.8 model: ASUSTeK ASUS Battery serial: N/A
    status: discharging
CPU:
  Info: quad core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
    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: 1358 high: 1400 min/max: 1400/2100 boost: disabled
    cores: 1: 1397 2: 1394 3: 1400 4: 1400 5: 1243 6: 1235 7: 1397 8: 1400
    bogomips: 33551
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s
    lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:15d8 temp: 50.0 C
  Device-2: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2.2:4 chip-ID: 13d3:56a8
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: gnome-shell driver: X: loaded: amdgpu dri: radeonsi gpu: amdgpu
    display-ID: 0
  Monitor-1: eDP-1 model: BOE Display 0x07f6 res: 1920x1080 dpi: 158
    diag: 355mm (14")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    surfaceless: drv: radeonsi wayland: drv: radeonsi x11: drv: radeonsi
    inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Vega 8 Graphics
    (radeonsi raven LLVM 17.0.6 DRM 3.54 6.6.34-1-lts) device-ID: 1002:15d8
    display-ID: :0.0
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: 03:00.1 chip-ID: 1002:15de
  Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 03:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.6.34-1-lts status: kernel-api
  Server-1: PipeWire v: 1.0.7 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: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: AzureWave driver: rtw_8821ce v: N/A pcie: speed: 2.5 GT/s lanes: 1
    port: f000 bus-ID: 02:00.0 chip-ID: 10ec:c821
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
    rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 13d3:3530
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 4.2
    lmp-v: 8
Drives:
  Local Storage: total: 2.05 TiB used: 1.71 TiB (83.4%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM256GDJTNG-8310A
    size: 238.47 GiB speed: 15.8 Gb/s lanes: 2 serial: <filter> temp: 53.9 C
  ID-2: /dev/sda vendor: Western Digital model: WD20EARX-00PASB0
    size: 1.82 TiB type: USB rev: 3.0 spd: 5 Gb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 228.67 GiB used: 202.52 GiB (88.6%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-2: /home size: 228.67 GiB used: 202.52 GiB (88.6%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-3: /var/log size: 228.67 GiB used: 202.52 GiB (88.6%) fs: btrfs
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 662.5 MiB (7.4%)
    priority: -2 dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 51.1 C mobo: N/A gpu: amdgpu temp: 51.0 C
  Fan Speeds (rpm): cpu: 2900
Info:
  Memory: total: 6 GiB available: 5.74 GiB used: 2.42 GiB (42.1%)
  Processes: 309 Power: uptime: 20m wakeups: 0 Init: systemd v: 255
    default: graphical
  Packages: 1576 pm: pacman pkgs: 1522 pm: flatpak pkgs: 54 Compilers:
    clang: 17.0.6 gcc: 14.1.1 Shell: Bash v: 5.2.26 running-in: gnome-terminal
    inxi: 3.3.34

1 Like

Without journal logs, we can only use imagination, or the world-famous :crystal_ball: .

Fixed the issue by setting kernel parameters as follows:

nowatchdog nvme_load=YES nvidia-drm.modeset=1 NVreg_PreserveVideoMemoryAllocations=1 nvidia-drm.fbdev=1 

and enabling following services:

sudo systemctl enable nvidia-sleep.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
1 Like

I have been seeing this, but I had all the above set (except hibernate as do not use) already, unsure if the last update to systemd fixed it (there were two in quick succession) - will find out when I get home :crossed_fingers:

Same issue here on latest kernel and with nVidia. Latest systemd didn’t fix this for me yet. Not sure if I should go with elrond’s suggestion, got to read through resources shared on top over the WE.

Yeh, no fix here either - forgot to post back (football was on!).

New version of nVidia dkms 550.90.07-3 seems to have fixed the issue :crossed_fingers:

1 Like

I can confirm that the issue is gone for me with nvidia-dkms 550.90.07-3 :clap:

1 Like

Here is my log, works perfectly now too :slight_smile:

System:
  Kernel: 6.9.5-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: KDE Plasma v: 6.1.0 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Apple product: MacBookAir7,2 v: 1.0
    serial: <superuser required> Chassis: type: 9 v: Mac-937CB26E2E02BB01
    serial: <superuser required>
  Mobo: Apple model: Mac-937CB26E2E02BB01 v: MacBookAir7,2
    serial: <superuser required> UEFI: Apple v: 489.0.0.0.0 date: 10/07/2023
Battery:
  ID-1: BAT0 charge: 46.4 Wh (98.3%) condition: 47.2/54.3 Wh (86.9%)
    volts: 8.5 min: 7.6 model: SMP bq20z451 serial: N/A status: full
CPU:
  Info: dual core model: Intel Core i5-5250U bits: 64 type: MT MCP
    arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 650 high: 800 min/max: 500/2700 cores: 1: 800 2: 500
    3: 500 4: 800 bogomips: 12805
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 6000 vendor: Apple driver: i915 v: kernel
    arch: Gen-8 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:1626
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 res: 1440x900 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast
    surfaceless: drv: iris wayland: drv: iris x11: drv: iris inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.1.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 6000 (BDW
    GT3) device-ID: 8086:1626 display-ID: :1.0
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Apple driver: snd_hda_intel
    v: kernel bus-ID: 00:03.0 chip-ID: 8086:160c
  Device-2: Intel Wildcat Point-LP High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0
  Device-3: Broadcom 720p FaceTime HD Camera driver: N/A pcie: speed: 5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 14e4:1570
  API: ALSA v: k6.9.5-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.0.7 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: Broadcom BCM4360 802.11ac Dual Band Wireless Network Adapter
    vendor: Apple driver: wl v: kernel pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14e4:43a0
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth USB Host Controller driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-3.3:6 chip-ID: 05ac:828f
  Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 343.47 GiB used: 14.94 GiB (4.3%)
  ID-1: /dev/sda vendor: Apple model: SSD SM0128G size: 113 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: Apple model: SD Card Reader size: 230.47 GiB
    type: USB rev: 3.0 spd: 5 Gb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 103.2 GiB used: 9.39 GiB (9.1%) fs: btrfs dev: /dev/sda2
  ID-2: /boot/efi size: 1022 MiB used: 584 KiB (0.1%) fs: vfat
    dev: /dev/sda1
  ID-3: /home size: 103.2 GiB used: 9.39 GiB (9.1%) fs: btrfs dev: /dev/sda2
  ID-4: /var/log size: 103.2 GiB used: 9.39 GiB (9.1%) fs: btrfs
    dev: /dev/sda2
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 566.8 MiB (6.3%)
    priority: -2 dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 38.0 C pch: 39.5 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.66 GiB used: 3.88 GiB (50.6%)
  Processes: 298 Power: uptime: 15h 29m wakeups: 4 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1121 Compilers: gcc: 14.1.1 Shell: Bash
    v: 5.2.26 running-in: konsole inxi: 3.3.35```