Ryzen 5500U Laptop Suspend Freezes After About 30min

Very similar, if not the same problem, to this thread my laptop freezes after spending about 30min with the lid closed, I can see the side led power blinking slowly, but when I open the lid the only thing I can see is a grayish background and the mouse pointer, everything frozen, not even num lock can be turned on.

At first I thought it was kernel issue, so I tried other kernels instead of the one I had, tried 5.10.105-1, then 5.15.28-1, and finally the kernel I’m using right now, 5.16.14-1 and the problem persisted.

So I tried the fixes suggested in this page Fixing Suspend / Resume on Lenovo ThinkBook 15 G2 ARE Laptop with AMD in Linux – Luc Raymond.net .
First I tried adding iommu=soft to GRUB_CMDLINE_LINUX_DEFAULT but did not work. ]

Then, after reading more fix suggestions from ArchWiki Ryzen page I added processor.max_cstate=5 intel_idle.max_cstate=5 to the same line, I chose number 5 because I still want my laptop to suspend and save energy while closed because setting it to 0 would make no sense, but still freezes when trying to recover from suspension after spending approximately 30min with the lid closed.

Here are some infos you’ll probably need.

Laptop Model: Lenovo IdeaPad 3-15ALC6 Laptop - Type 82MF

laptop’s specs from inxi -F:

System:
  Host: luan-lenovo Kernel: 5.16.14-1-MANJARO arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.24.3 Distro: Manjaro Linux
Machine:
  Type: Laptop System: LENOVO product: 82MF v: IdeaPad 3 15ALC6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    UEFI: LENOVO v: GLCN40WW date: 07/23/2021
Battery:
  ID-1: BAT0 charge: 22.3 Wh (58.2%) condition: 38.3/38.0 Wh (100.9%)
    volts: 7.7 min: 7.7
CPU:
  Info: 6-core model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 1535 min/max: 1400/4056 cores: 1: 2096 2: 2366 3: 1397
    4: 1397 5: 1396 6: 1397 7: 1397 8: 1396 9: 1397 10: 1397 11: 1397 12: 1396
Graphics:
  Device-1: AMD Lucienne driver: amdgpu v: kernel
  Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu
    unloaded: modesetting gpu: amdgpu resolution: 1920x1080~60Hz
  OpenGL: renderer: AMD RENOIR (DRM 3.44.0 5.16.14-1-MANJARO LLVM 13.0.1)
    v: 4.6 Mesa 21.3.7
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.16.14-1-MANJARO running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8822ce
  IF: wlp1s0 state: up mac: 00:45:e2:7e:99:53
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 476.95 GiB used: 42.59 GiB (8.9%)
  ID-1: /dev/nvme0n1 vendor: SSSTC model: CL1-4D256 size: 238.47 GiB
  ID-2: /dev/sda vendor: Netac model: SSD 256GB size: 238.47 GiB
Partition:
  ID-1: / size: 224.71 GiB used: 42.52 GiB (18.9%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 43.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 364 Uptime: 47m Memory: 9.58 GiB used: 3.44 GiB (35.9%)
  Shell: Zsh inxi: 3.3.14

Output from journalctl | grep amdgpu.

mar 31 10:43:53 luan-lenovo kernel: [drm] amdgpu kernel modesetting enabled.
mar 31 10:43:53 luan-lenovo kernel: amdgpu: Virtual CRAT table created for CPU
mar 31 10:43:53 luan-lenovo kernel: amdgpu: Topology: Add CPU node
mar 31 10:43:53 luan-lenovo kernel: fb0: switching to amdgpu from EFI VGA
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: vgaarb: deactivate vga console
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: enabling device (0006 -> 0007)
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from VFCT
mar 31 10:43:53 luan-lenovo kernel: amdgpu: ATOM BIOS: 113-LUCIENNE-016
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: PCIE atomic ops is not supported
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
mar 31 10:43:53 luan-lenovo kernel: [drm] amdgpu: 2048M of VRAM memory ready
mar 31 10:43:53 luan-lenovo kernel: [drm] amdgpu: 3072M of GTT memory ready.
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: PSP runtime database doesn't exist
mar 31 10:43:53 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SMU is initialized successfully!
mar 31 10:43:54 luan-lenovo kernel: snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
mar 31 10:43:54 luan-lenovo kernel: kfd kfd: amdgpu: Allocated 3969056 bytes on gart
mar 31 10:43:54 luan-lenovo kernel: amdgpu: HMM registered 2048MB device memory
mar 31 10:43:54 luan-lenovo kernel: amdgpu: SRAT table not found
mar 31 10:43:54 luan-lenovo kernel: amdgpu: Virtual CRAT table created for GPU
mar 31 10:43:54 luan-lenovo kernel: amdgpu: Topology: Add dGPU node [0x164c:0x1002]
mar 31 10:43:54 luan-lenovo kernel: kfd kfd: amdgpu: added device 1002:164c
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 8, active_cu_number 7
mar 31 10:43:54 luan-lenovo kernel: fbcon: amdgpudrmfb (fb0) is primary device
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
mar 31 10:43:54 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
mar 31 10:43:54 luan-lenovo kernel: [drm] Initialized amdgpu 3.44.0 20150101 for 0000:03:00.0 on minor 0
mar 31 10:43:54 luan-lenovo systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0...
mar 31 10:43:54 luan-lenovo systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.
mar 31 10:43:54 luan-lenovo audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-backlight@backlight:amdgpu_bl0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
mar 31 11:08:59 luan-lenovo kernel: [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: MODE2 reset
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: dpm has been disabled
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
mar 31 11:08:59 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
mar 31 13:24:30 luan-lenovo kernel: [drm] amdgpu kernel modesetting enabled.
mar 31 13:24:30 luan-lenovo kernel: amdgpu: Virtual CRAT table created for CPU
mar 31 13:24:30 luan-lenovo kernel: amdgpu: Topology: Add CPU node
mar 31 13:24:30 luan-lenovo kernel: fb0: switching to amdgpu from EFI VGA
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: vgaarb: deactivate vga console
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: enabling device (0006 -> 0007)
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from VFCT
mar 31 13:24:30 luan-lenovo kernel: amdgpu: ATOM BIOS: 113-LUCIENNE-016
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: PCIE atomic ops is not supported
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
mar 31 13:24:30 luan-lenovo kernel: [drm] amdgpu: 2048M of VRAM memory ready
mar 31 13:24:30 luan-lenovo kernel: [drm] amdgpu: 3072M of GTT memory ready.
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: PSP runtime database doesn't exist
mar 31 13:24:30 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SMU is initialized successfully!
mar 31 13:24:31 luan-lenovo kernel: snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
mar 31 13:24:31 luan-lenovo kernel: kfd kfd: amdgpu: Allocated 3969056 bytes on gart
mar 31 13:24:31 luan-lenovo kernel: amdgpu: HMM registered 2048MB device memory
mar 31 13:24:31 luan-lenovo kernel: amdgpu: SRAT table not found
mar 31 13:24:31 luan-lenovo kernel: amdgpu: Virtual CRAT table created for GPU
mar 31 13:24:31 luan-lenovo kernel: amdgpu: Topology: Add dGPU node [0x164c:0x1002]
mar 31 13:24:31 luan-lenovo kernel: kfd kfd: amdgpu: added device 1002:164c
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 8, active_cu_number 7
mar 31 13:24:31 luan-lenovo kernel: fbcon: amdgpudrmfb (fb0) is primary device
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
mar 31 13:24:31 luan-lenovo kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
mar 31 13:24:31 luan-lenovo kernel: [drm] Initialized amdgpu 3.44.0 20150101 for 0000:03:00.0 on minor 0
mar 31 13:24:31 luan-lenovo systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0...
mar 31 13:24:31 luan-lenovo systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.
mar 31 13:24:31 luan-lenovo audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-backlight@backlight:amdgpu_bl0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

I also noticed this problem seems to not have a fix yet but, well, I’d like to try any other thing that may fix it because it is very annoying to not be able to close the lid of the laptop.

What’s wrong with this picture? :wink:

3 Likes

have you try
“amd_iommu=on iommu=pt”
“processor.max_cstate=5 rcu_nocbs=0_11”
“systemd.unified_cgroup_hierarchy=true scsi_mod.use_blk_mq=1”

also add part for lm_sensors ( detect-sensors )

1 Like

Well, I can’t remember right now, but, in some other fix attempts that line was used even for AMD CPUs.

But, since you’re calling that out, I’ll give a try without that line.

Edit: no luck, still freezing.

I’m not sure if I was supposed to try each one at time or add all of them at once, I did the latter and it seems to have fixed it, at least when I tell the computer to hibernate, it might have a different behavior when I close the lid for 30min.

I just hope it doesn’t make the laptop overheat or consume too much battery when suspended.

I’ll try leaving the laptop closed for some time and check back if it still freezes when waking up, if it doesn’t I’ll check your reply as a solution. :grin:

Edit: didn’t work, still freezes after opening the lid.

I had this on Lenovo & Luc’s fix worked, but there were some differences for me at first:

NOTE Luc’s page has a slight error at the top, the command should read sudo update-grub ; his page says ‘grub-update’ which is a typo.
So you might want to check that edit & update was completed correctly, & reboot.

At first, iommu=soft only worked when I activated ‘suspend’ in the OS without closing the lid. but, if I actually closed the lid, then it didn’t work (did not wake). odd, yes.
If you find that to be the case on your laptop, read the first comment in Luc’s page comments. You can explicitly set HandleLidSwitch=ignore or HandleLidSwitch=suspend & for me, that then worked for both situations.

Yeah I found it confusing that Luc’s guide has sudo grub-update, but I did update GRUB correctly after each edit.

I will try changing to HandleLidSwitch=ignore tomorrow because it’s too late here, but I noticed mine already is set to suspend, so I will try the ignore option.

You may try this one Lenovo IdeaPad 5 14are05 - ArchWiki

I had similar problem look here.

Solved it by following this method

So, I got to use my laptop today again, closed the lid for about an hour, and still froze when I opened it, even after setting HandleLidSwitch=suspend and HandleLidSwitchExternalPower=ignore.

Weird that when I do sudo dmesg | grep -i acpi | grep supports it returns this:

[    0.267697] ACPI: PM: (supports S0 S3 S4 S5)
[    0.271824] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]

And cat /sys/power/mem_sleep returns:

s2idle [deep]

So, it does support S3 I guess, but still ■■■■■■■ freezes? These outputs are the ones desired by doing the method you suggested, but should I still do it?

Hi @leonov

I just want you to read 1 2 carefully to understand first than proceed.

I followed the instruction for dell. But yours is Lenovo.

So before doing anything study it well please. I am not an expert just average user.

I hope you will be find a way to fix the problem.

Just to keep this thread updated, I haven’t been able to solve that problem yet, still can’t hibernate or close the laptop lid without having it frozen and forcing a power off to reboot and use again.

Guess I’ll have to wait until it is fixed in a kernel update.

Kernel 5.18.6-1-MANJARO seems to have fixed it for me, no more freezes!

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