Suspend doesn't work on my laptop

I got Asus Zenbook 14, and suspend mode on my laptop doesn’t work. Like at all.
When I’m trying to suspend, the laptop is still working, the power button light is still on, and the coolers on as well.
What I have already tried to do:

  1. Switching kernels
  2. Turning off fastboot.
  3. I used scripts to turn off the network adapter from other similar posts on this forum.
  4. Switching GPU’s driver.

I do not know what information to provide for a better understanding of the problem, if necessary, write about it, please.

Suggest solutions, I hope we will defeat this problem together since I am not alone here with a similar problem.

System:
  Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=088ef75f-4872-4f47-8e9d-ceb0144a7e82 rw quiet splash apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.29 wm: gnome-shell dm: GDM 40.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: ASUSTeK product: ZenBook UX434DA_UM433DA v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: UX434DA v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: UX434DA_UM433DA.307 date: 12/09/2020 
Battery:
  ID-1: BAT0 charge: 9.5 Wh (21.9%) condition: 43.3/50.0 Wh (86.5%) 
  volts: 11.9 min: 11.9 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A 
  status: Charging cycles: 66 
Memory:
  RAM: total: 5.81 GiB used: 1.81 GiB (31.1%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen/Zen+ note: check family: 17 (23) 
  model-id: 18 (24) stepping: 1 microcode: 8108109 cache: L2: 2 MiB 
  bogomips: 33551 
  Speed: 2169 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 
  1: 2169 2: 1226 3: 1224 4: 1227 5: 1224 6: 1227 7: 1293 8: 1395 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca 
  mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl 
  npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb 
  perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 
  rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme 
  smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce 
  topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt 
  xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  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 and seccomp 
  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 Picasso vendor: ASUSTeK driver: amdgpu v: kernel 
  bus-ID: 03:00.0 chip-ID: 1002:15d8 class-ID: 0300 
  Device-2: IMC Networks USB2.0 HD IR UVC WebCam type: USB driver: uvcvideo 
  bus-ID: 3-2:3 chip-ID: 13d3:56cb class-ID: 0e02 serial: <filter> 
  Display: wayland server: X.org 1.20.11 compositor: gnome-shell driver: 
  loaded: amdgpu note: n/a (using device driver) - try sudo/root display-ID: 0 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.40.0 
  5.10.42-1-MANJARO LLVM 12.0.0) 
  v: 4.6 Mesa 21.1.2 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel 
  v: kernel bus-ID: 03:00.1 chip-ID: 1002:15de class-ID: 0403 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A 
  alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 03:00.5 
  chip-ID: 1022:15e2 class-ID: 0480 
  Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.30 running: no 
Network:
  Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel 
  bus-ID: 01:00.0 chip-ID: 8086:24fd class-ID: 0280 
  IF: wlp1s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
  bus-ID: 1-4:2 chip-ID: 8087:0a2b class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
Logical:
  Permissions: Unable to run lvs. Root privileges required. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 238.47 GiB used: 62.67 GiB (26.3%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM256GDJTNG-8310A 
  size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
  lanes: 2 rotation: SSD serial: <filter> rev: 80001C00 temp: 45.9 C 
  scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 238.17 GiB size: 233.38 GiB (97.99%) 
  used: 62.67 GiB (26.9%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: 088ef75f-4872-4f47-8e9d-ceb0144a7e82 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: NO_LABEL uuid: 6E4A-86DC 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-4:2 info: Intel Bluetooth wireless interface type: Bluetooth 
  driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 8087:0a2b class-ID: e001 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-1:2 info: Realtek RTS5129 Card Reader Controller 
  type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc 
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129 
  class-ID: ff00 serial: <filter> 
  Device-2: 3-2:3 info: IMC Networks USB2.0 HD IR UVC WebCam type: Video 
  driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 13d3:56cb class-ID: 0e02 serial: <filter> 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 58.2 C mobo: 58.0 C gpu: amdgpu temp: 58.0 C 
  Fan Speeds (RPM): cpu: 3200 
Info:
  Processes: 292 Uptime: 9m wakeups: 436 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: 11.1.0 Packages: 1291 pacman: 1276 lib: 303 flatpak: 9 
  snap: 6 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.04 

How should I proceed?

Welcome to the forum! :wave:

Please post your system info as outlined here:

1 Like

After attempting to suspend, please post the output of:

journalctl -b -g suspend

Strange, but it shows nothing but this:

-- Journal begins at Sun 2021-07-04 17:44:54 MSK, ends at Sat 2>
-- No entries --

Had you tried suspending since boot?

Yes, I tried it, but I cannot display the “Journalctl” immediately after the computer wakes up, because I need to reboot it to see the user interface

All that I see when I wake up laptop from sleep is a glitchy screen, and the mouse cursor on it

I tried several times, I managed to display this output:

-- Journal begins at Sun 2021-07-04 17:44:54 MSK, ends at Sat 2021-07-10 19:14:41 MSK. --
Jul 10 18:53:21 dvegas03laptop gnome-shell[1518]: Couldn't find child [0x55cf73455990 Gjs_ui_windowPreview_WindowPrevi>
Jul 10 18:53:22 dvegas03laptop gnome-shell[1518]: Couldn't find child [0x55cf73455990 Gjs_ui_windowPreview_WindowPrevi>
Jul 10 18:58:03 dvegas03laptop gnome-shell[1518]: Couldn't find child [0x55cf735378e0 Gjs_ui_windowPreview_WindowPrevi>
Jul 10 18:58:05 dvegas03laptop gnome-shell[1518]: Couldn't find child [0x55cf735378e0 Gjs_ui_windowPreview_WindowPrevi>
~

Ah, okay. Then you would need to show the log from the previous boot with -b -1:

journalctl -b -1 -g suspend

Here’s the output

-- Journal begins at Sun 2021-07-04 17:44:54 MSK, ends at Sat 2021-07-10 19:57:18 MSK. --
Jul 10 19:55:52 dvegas03laptop ModemManager[513]: <info>  [sleep-monitor] system is about to suspend
Jul 10 19:55:53 dvegas03laptop systemd[1]: Starting Suspend...
Jul 10 19:55:54 dvegas03laptop systemd-sleep[2312]: Suspending system...
Jul 10 19:55:54 dvegas03laptop kernel: PM: suspend entry (s2idle)
Jul 10 19:56:14 dvegas03laptop kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 10 19:56:14 dvegas03laptop kernel:  suspend_devices_and_enter+0x32c/0x7e0
Jul 10 19:56:14 dvegas03laptop kernel:  pm_suspend.cold+0x329/0x374
Jul 10 19:56:14 dvegas03laptop kernel: PM: suspend exit
Jul 10 19:56:15 dvegas03laptop systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 10 19:56:15 dvegas03laptop systemd[1]: Finished Suspend.
Jul 10 19:56:15 dvegas03laptop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 10 19:56:15 dvegas03laptop kernel: audit: type=1130 audit(1625936175.520:121): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 10 19:56:15 dvegas03laptop kernel: audit: type=1131 audit(1625936175.520:122): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 10 19:56:15 dvegas03laptop audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 10 19:56:15 dvegas03laptop systemd[1]: systemd-suspend.service: Consumed 1.346s CPU time.
Jul 10 19:56:15 dvegas03laptop systemd[1]: Reached target Suspend.
Jul 10 19:56:15 dvegas03laptop systemd[1]: Stopped target Suspend.

AMD Ryzen 7 4700U suspend/hibernate not working on any kernel : linuxhardware (reddit.com)

2 Likes

That shows a successful suspend. Maybe we’re missing something else in the log. The following will only print errors from the last boot:

journalctl -b -1 -p 3 -xb
-- Journal begins at Sun 2021-07-04 17:44:54 MSK, ends at Sat 2021-07-10 20:08:59 MSK. --
Jul 10 19:56:42 dvegas03laptop kernel: snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 2
Jul 10 19:56:43 dvegas03laptop systemd-backlight[751]: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument
Jul 10 19:56:43 dvegas03laptop systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.
░░ Subject: A start job for unit systemd-backlight@backlight:amdgpu_bl0.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-backlight@backlight:amdgpu_bl0.service has finished with a failure.
░░ 
░░ The job identifier is 561 and the job result is failed.
Jul 10 19:56:43 dvegas03laptop systemd-backlight[753]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
Jul 10 19:56:43 dvegas03laptop systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
░░ Subject: A start job for unit systemd-backlight@backlight:acpi_video0.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-backlight@backlight:acpi_video0.service has finished with a failure.
░░ 
░░ The job identifier is 567 and the job result is failed.
Jul 10 19:56:45 dvegas03laptop kernel: Bluetooth: hci0: Reading supported features failed (-16)
Jul 10 19:56:47 dvegas03laptop bluetoothd[773]: Failed to set mode: Blocked through rfkill (0x12)
Jul 10 19:56:57 dvegas03laptop gdm-password][1426]: gkr-pam: unable to locate daemon control file
Jul 10 19:57:02 dvegas03laptop systemd[1437]: Failed to start Application launched by gnome-session-binary.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 459 and the job result is failed.
Jul 10 19:59:49 dvegas03laptop kernel: iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
Jul 10 19:59:50 dvegas03laptop kernel: iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...

As I understand it, it remains only to wait for the support of “Modern Standby” by the new Linux kernel?

Hmm, no related errors. How about the log in that time frame that it was trying to suspend:

journalctl --since "Jul 10 19:55:53" --until "Jul 10 19:56:15"

Also post the output of:

cat /sys/power/mem_sleep

And:

sudo dmesg | grep -i acpi\|supports

There are really too many symbols in journalctl, but
As for the errors (what’s written in red):

Jul 10 19:56:14 dvegas03laptop kernel: amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on gfx (-22).
Jul 10 19:56:14 dvegas03laptop kernel: [drm:process_one_work] *ERROR* ib ring test failed (-22)

cat /sys/power/mem_sleep :

[s2idle]

And this has no output:
sudo dmesg | grep -i acpi|supports

upd:
I’ve typed this instead:
sudo dmesg | grep -i acpi | grep supports:

[    0.118124] ACPI: (supports S0)
[    0.125212] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]

That’s funny, my ACPI does not support suspend at all?

Yes. It does not support.

Reference
Kernel/Reference/S3 - Ubuntu Wiki

S2RAM is supported if the CONFIG_SUSPEND kernel configuration option is set and the support for it is registered by the platform with the core system suspend subsystem. On ACPI-based systems it is mapped to the S3 system state defined by ACPI.

from System Sleep States — The Linux Kernel documentation

Note. For Lenovo is available patch for override ACPI. See: Lenovo IdeaPad 5 14are05 - ArchWiki (archlinux.org)

Ideapad 14ARE05 S3 sleep fix : linuxhardware (reddit.com)

Sadly, I don’t see similar workaround for ASUS new devices.

1 Like

What I posted is exactly the same thing without the redundancy. You typed the command I posted without the backslash before, that’s why it didn’t work. :wink:

Without the backslash, quotes are needed:

sudo dmesg | grep -i 'acpi|supports'