Waking up from suspend

Hii
I am using kde dragonized and here I encountered rather a strange issue.Whenever I put my laptop to sleep, it does not wake up. Meaning to say when I press a key, It does not respond. I tried a few things

  1. Updating and rebooting
  2. Using snapper and tried to restore to a previous snapshot, It worked but after I updated in that snapshot, I observed the same problem. When I tried different snapshots, It had the same problem.
System:
Kernel: 5.16.0-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=55ad2dc2-c093-4bbf-a6b9-f8f27f5449b0 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81MT v: Lenovo V145-15AST
serial: <superuser required> Chassis: type: 10 v: Lenovo V145-15AST
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: No DPK serial: <superuser required>
UEFI-[Legacy]: LENOVO v: 8ZCN27WW(V2.06) date: 01/12/2021
Battery:
ID-1: BAT1 charge: 24.5 Wh (98.0%) condition: 25.0/30.0 Wh (83.2%)
volts: 8.5 min: 7.5 model: 0x53 0x4D 0x50 0x00 0x31 0x PABAS0241231
type: Li-ion serial: <filter> status: N/A cycles: 508
CPU:
Info: model: AMD A6-9225 RADEON R4 5 COMPUTE CORES 2C+3G bits: 64 type: MCP
arch: Excavator family: 0x15 (21) model-id: 0x70 (112) stepping: 0
microcode: 0x6006705
Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 192 KiB
desc: d-2x32 KiB; i-2x64 KiB L2: 2 MiB desc: 2x1024 KiB
Speed (MHz): avg: 2344 high: 2373 min/max: 1300/2600 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 2373 2: 2316
bogomips: 10380
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
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: Full AMD retpoline, IBPB: conditional,
STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics] vendor: Lenovo
driver: amdgpu v: kernel bus-ID: 00:01.0 chip-ID: 1002:98e4 class-ID: 0300
Device-2: Syntek EasyCamera type: USB driver: uvcvideo bus-ID: 1-1.3:4
chip-ID: 174f:241a class-ID: 0e02
Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: eDP res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6")
diag: 394mm (15.5")
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 00:01.1 chip-ID: 1002:15b3 class-ID: 0403
Device-2: AMD Family 15h Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:09.2 chip-ID: 1022:157a class-ID: 0403
Sound Server-1: ALSA v: k5.16.0-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.43 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 01:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Lenovo driver: rtw_8821ce v: N/A modules: rtw88_8821ce port: 2000
bus-ID: 02:00.0 chip-ID: 10ec:c821 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 1-1.2:3 chip-ID: 0bda:c024 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 3 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 24.17 GiB (2.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 0E scheme: MBR
Partition:
ID-1: / raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 24.17 GiB (2.6%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-2: /home raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 24.17 GiB (2.6%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-3: /var/log raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 24.17 GiB (2.6%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-4: /var/tmp raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 24.17 GiB (2.6%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 3.72 GiB used: 206.8 MiB (5.4%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 71.2 C mobo: N/A gpu: amdgpu temp: 71.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 227 Uptime: 16m wakeups: 1 Memory: 3.72 GiB
used: 2.59 GiB (69.6%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1475 lib: 401 Shell: fish
v: 3.3.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.11

Any help?

The first thing to do is install and test the linux-lts kernel.

5 Likes

Are you booting in UEFI legacy mode on purpose?

I think there might be a kernel option you need to specify on the GRUB_CMDLINE_LINUX line of /etc/default/grub for suspend to work correctly if you are booting in legacy mode. Let me see if if I can find it.

Edit:

I’m not as confident this will fix your issue as I initially was. I found the kernel option I mentioned, but it doesn’t appear to be a universal fix (some people try it and it doesn’t help).

If you want to give it a shot, it’s easy and it couldn’t hurt. You can always delete it out if it doesn’t work.

sudo micro /etc/default/grub
A few lines down (line 7 on mine) is GRUB_CMDLINE_LINUX. Add mem_sleep_default=deep to whatever you already have there.
sudo update-grub
Reboot.

2 Likes

Check for a new bios release.

Try the linux-mainline kernel, as it will likely be a better choice with your newer computer.

Also give the linux-firmware-git package a try.

4 Likes