Hibernation stopped working with kernel 6.11

Apparently, all kernels >= 6.11 have regressions on machine GMKTec M5 Plus, Ryzen 7 5825U with AMD Radeon Renoir Graphics card, Bluetooth Mediatek ver. 2.22 WiFi MT7921e, and cannot resume from hibernation. Kernel 6.6 LTS was fine, so I downgraded OS to this kernel.

This is nasty, because after the last stable upgrade it leaves no fully working kernel on this machine:

6.6.x can hibernate/resume, but has graphical artifacts
6.11.10 no hibernation/resume
6.12.1 no hibernation/resume

There is no DE dependency, I think only HW.

Any help please ?

Update your system. The stable branch has 6.12.4. Don’t use 6.11 because it’s unsupported.

I tried kernel 6.12.4. But without WiFi Mediatek, Bluetooth Mediatek and Hibernate(swapfile & swap partition doesn’t work) success. Only latest stable is 6.6 is worth for daily work(Hibernate works out-of-the box).

Thank you

Logs? System info? Do you have adequate swap? Are you dual-booting Windows?
More information is needed to address the issue. Please read the following:

Manjaro Logs:
https://dpaste.com/BH5GX3H39

System:
  Kernel: 6.6.65-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=e3e2a6be-17b4-4361-8830-5e1aa34a206c rw
    resume=UUID=126b5adf-1338-464e-8a9d-df8619d0eeb0 quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Mini-pc Mobo: GMKtec model: GMKtec v: Version 1.0
    serial: <superuser required> part-nu: M5 PLUS-001 uuid: <superuser required>
    UEFI: American Megatrends LLC. v: M5 PLUS 1.03 date: 09/13/2024
CPU:
  Info: model: AMD Ryzen 7 5825U with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA500011
  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: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 400 min/max: 400/4546 scaling: driver: amd-pstate-epp
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 400 16: 400
    bogomips: 63919
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  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 mitigation: Safe RET
  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: Retpolines; IBPB: conditional; IBRS_FW;
    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: Advanced Micro Devices [AMD/ATI] Barcelo driver: amdgpu v: kernel
    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: DP-1
    empty: DP-2,HDMI-A-1 bus-ID: 06:00.0 chip-ID: 1002:15e7 class-ID: 0300
    temp: 46.0 C
  Device-2: Realtek FULL HD 1080P Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.1.1:5
    chip-ID: 0bda:58b0 class-ID: 0102 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.14 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-size: <missing: xdpyinfo>
  Monitor-1: DP-1 mapped: DisplayPort-0 model: LG (GoldStar) HDR 4K
    serial: <filter> built: 2023 res: mode: 3840x2160 hz: 60 scale: 100% (1)
    dpi: 163 gamma: 1.2 size: 600x340mm (23.62x13.39") diag: 690mm (27.2")
    ratio: 16:9 modes: max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir
    LLVM 18.1.8 DRM 3.54 6.6.65-1-MANJARO) device-ID: 1002:15e7 memory: 500 MiB
    unified: no
  API: Vulkan v: 1.4.303 layers: 1 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RENOIR) driver: N/A device-ID: 1002:15e7
    surfaces: xcb,xlib
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo de: xfce4-display-settings
    x11: xprop,xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
    Audio driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Conexant Systems driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Realtek FULL HD 1080P Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.1.1:5
    chip-ID: 0bda:58b0 class-ID: 0102 serial: <filter>
  Device-5: Walmart AB13X Headset Adapter
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-1.1.3:6 chip-ID: 001f:0b21 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.6.65-1-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: Realtek RTL8125 2.5GbE driver: r8169 v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:8125
    class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE driver: r8169 v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8125
    class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-3: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3 chip-ID: 0e8d:c616
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.13 TiB used: 141.97 GiB (12.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Patriot model: M.2 P310 240GB
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: APF1M3R1 temp: 44.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: A-Data model: LEGEND 800
    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: 1.2.N.1A temp: 51.9 C
    scheme: MBR
Partition:
  ID-1: / raw-size: 81.06 GiB size: 79.23 GiB (97.74%) used: 19.44 GiB (24.5%)
    fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:8
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 30.8 MiB (32.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:4
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 16.6 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p6 maj-min: 259:9
Sensors:
  System Temperatures: cpu: 55.1 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.02 GiB used: 5.56 GiB (37.0%)
  Processes: 359 Power: uptime: 3h 12m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 5.99 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1263 libs: 363 tools: pamac,yay pm: flatpak
    pkgs: 0 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Bash v: 5.2.37
    running-in: xfce4-terminal inxi: 3.3.37

My swap partition is the size of the RAM. In this case it is 16GB. With swapfile I used 20GB for this memory. This worked for me approx. 12+ years on many Linux distros. This PC have dual-boot with Windows.

Here are the Recommended swap sizes… and yes replace kernel 6.11.x with 6.12.x

The RAM size is not a problem. With kernel 6.6.65-1 all is correct, run smoothly. But kernel 6.12.4 doesn’t support hibernation yet or some not supported HW hooks ? for my PC.

Your system support various modes.

As it is a desktop pc - s2idle is the best choice - even a laptop can be kept alive for days only powered by battery.

If you are referring to the old method where ramstate was written to file or partition - the s2idle is preferred over the old method as it wakes instantly and does not cause excessive writes to your ssd.