Cant resume after hibernate

Hi everyone
i have Manjaro KDE 20.0.3 installed on my machine(acer aspire a715-71g) when i hibernate using the systemctl or just application launcher menu machines turns off
but when i try to power it back on it gets stuck on acer logo.
my swap partition is 17gigs and ram is 8 gigs googled this and that have tried different kernels (57, 54, 419, 414) i have no idea whats wrong
inxi -Fazy output:

System:
  Kernel: 5.7.17-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 
  root=UUID=e82d6481-d908-4d1a-ad0a-e721069b0705 rw quiet 
  resume=UUID=66a57526-7768-4b92-b492-8b5ccb76c9e3 udev.log_priority=3 
  Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Acer product: Aspire A715-71G v: V1.13 serial: <filter> 
  Mobo: KBL model: Charmeleon_KLS v: V1.13 serial: <filter> UEFI: Insyde 
  v: 1.13 date: 12/26/2017 
Battery:
  ID-1: BAT1 charge: 40.8 Wh condition: 40.8/48.9 Wh (83%) volts: 16.9/15.2 
  model: COMPAL PABAS0241231 type: Li-ion serial: <filter> status: Full 
CPU:
  Topology: Quad Core model: Intel Core i5-7300HQ socket: U3E1 bits: 64 
  type: MCP arch: Kaby Lake family: 6 model-id: 9E (158) stepping: 9 
  microcode: D6 L1 cache: 256 KiB L2 cache: 6144 KiB L3 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 20004 
  Speed: 800 MHz min/max: 800/3500 MHz base/boost: 3100/8300 volts: 1.0 V 
  ext-clock: 100 MHz Core speeds (MHz): 1: 801 2: 800 3: 800 4: 800 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  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 generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Acer Incorporated ALI driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:591b 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] 
  vendor: Acer Incorporated ALI driver: nvidia v: 440.100 
  alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1c8c 
  Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus ID: 1-9:5 
  chip ID: 0408:a060 serial: <filter> 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 
  driver: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.1.6 
  direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a171 
  Sound Server: ALSA v: k5.7.17-2-MANJARO 
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter 
  vendor: Lite-On driver: ath10k_pci v: kernel port: 4000 bus ID: 02:00.0 
  chip ID: 168c:003e 
  IF: wlp2s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000 
  bus ID: 03:00.1 chip ID: 10ec:8168 
  IF: enp3s0f1 state: down mac: <filter> 
Drives:
  Local Storage: total: 935.42 GiB used: 9.44 GiB (1.0%) 
  ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-21Z10T0 family: Blue 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B sata: 3.1 
  speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 1A02 temp: 38 C 
  scheme: GPT 
  SMART: yes state: enabled health: PASSED on: 300d 2h cycles: 3893 Old-Age: 
  g-sense error rate: 15111 
  ID-2: /dev/sdb type: USB vendor: Generic model: Flash-Disk size: 3.91 GiB 
  block size: physical: 512 B logical: 512 B serial: <filter> rev: 1.08 
  scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition:
  ID-1: / raw size: 64.00 GiB size: 62.50 GiB (97.65%) used: 8.24 GiB (13.2%) 
  fs: ext4 block size: 4096 B dev: /dev/sda2 
  ID-2: /home raw size: 850.00 GiB size: 835.66 GiB (98.31%) 
  used: 1.20 GiB (0.1%) fs: ext4 block size: 4096 B dev: /dev/sda3 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 17.26 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda4 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 29.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 190 Uptime: 33m Memory: 7.66 GiB used: 1.54 GiB (20.1%) 
  Init: systemd v: 246 Compilers: gcc: N/A Packages: pacman: 1021 lib: 279 
  Shell: Bash (su) v: 5.0.18 running in: konsole inxi: 3.1.05

dmesg -l emerg,alert,crit,err,warn output:

[    0.109981] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.502454] resource sanity check: requesting [mem 0xfdffe800-0xfe0007ff], which spans more than pnp 00:00 [mem 0xfdb00000-0xfdffffff]
[    0.502458] caller pmc_core_probe+0x85/0x380 mapping multiple BARs
[    1.192238] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[    1.213221] usb: port power management may be unreliable
[    2.725216] sd 3:0:0:0: [sdb] No Caching mode page found
[    2.725220] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[    9.032777] nvidia: loading out-of-tree module taints kernel.
[    9.032807] nvidia: module license 'NVIDIA' taints kernel.
[    9.032809] Disabling lock debugging due to kernel taint
[    9.160444] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  440.100  Fri May 29 08:45:51 UTC 2020
[   10.273386] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[   10.273388] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[   10.273389] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[   10.273391] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[   10.694951] i2c_hid i2c-ELAN0511:01: supply vdd not found, using dummy regulator
[   10.694961] i2c_hid i2c-ELAN0511:01: supply vddl not found, using dummy regulator
[   10.937892] r8169 0000:03:00.1: can't disable ASPM; OS doesn't have ASPM control
[   12.023518] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[   14.935900] uvcvideo 1-9:1.0: Entity type for entity Extension 4 was not initialized!
[   14.935906] uvcvideo 1-9:1.0: Entity type for entity Processing 2 was not initialized!
[   14.935909] uvcvideo 1-9:1.0: Entity type for entity Camera 1 was not initialized!
[   22.727596] kauditd_printk_skb: 11 callbacks suppressed
[   29.940732] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20200326/nsarguments-59)
[   41.781907] kauditd_printk_skb: 3 callbacks suppressed
[   57.811316] kauditd_printk_skb: 8 callbacks suppressed

journalctl | tail -n 30 output:

าšั‹ั€ 08 23:12:26 USER-aspire-a715-71g rtkit-daemon[1093]: Successfully made thread 5200 of process 5018 owned by '1000' RT at priority 10.
าšั‹ั€ 08 23:12:26 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 10 threads of 8 processes of 1 users.
าšั‹ั€ 08 23:12:59 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 6 threads of 4 processes of 1 users.
าšั‹ั€ 08 23:12:59 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 6 threads of 4 processes of 1 users.
าšั‹ั€ 08 23:13:03 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 6 threads of 4 processes of 1 users.
าšั‹ั€ 08 23:13:03 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 6 threads of 4 processes of 1 users.
าšั‹ั€ 08 23:13:03 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 6 threads of 4 processes of 1 users.
าšั‹ั€ 08 23:13:03 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 6 threads of 4 processes of 1 users.
าšั‹ั€ 08 23:13:03 USER-aspire-a715-71g rtkit-daemon[1093]: Successfully made thread 5363 of process 5086 owned by '1000' RT at priority 10.
าšั‹ั€ 08 23:13:03 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:16:24 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:16:24 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:17:00 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:17:00 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:03 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:03 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:05 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:05 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:10 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:10 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:10 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:10 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 7 threads of 5 processes of 1 users.
าšั‹ั€ 08 23:19:10 USER-aspire-a715-71g rtkit-daemon[1093]: Successfully made thread 6171 of process 5746 owned by '1000' RT at priority 10.
าšั‹ั€ 08 23:19:10 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 8 threads of 6 processes of 1 users.
าšั‹ั€ 08 23:19:11 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 8 threads of 6 processes of 1 users.
าšั‹ั€ 08 23:19:11 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 8 threads of 6 processes of 1 users.
าšั‹ั€ 08 23:19:11 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 8 threads of 6 processes of 1 users.
าšั‹ั€ 08 23:19:11 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 8 threads of 6 processes of 1 users.
าšั‹ั€ 08 23:19:11 USER-aspire-a715-71g rtkit-daemon[1093]: Successfully made thread 6186 of process 5980 owned by '1000' RT at priority 10.
าšั‹ั€ 08 23:19:11 USER-aspire-a715-71g rtkit-daemon[1093]: Supervising 9 threads of 7 processes of 1 users.

EDIT:
oh also forgot to add these:

BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 root=UUID=e82d6481-d908-4d1a-ad0a-e721069b0705 rw quiet resume=UUID=66a57526-7768-4b92-b492-8b5ccb76c9e3 udev.log_priority=3

mkinitcpio.conf is set properly

HOOKS="base udev resume autodetect modconf block keyboard keymap filesystems"

and grub is set properly too

grep CMD /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=66a57526-7768-4b92-b492-8b5ccb76c9e3 udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

blkid output

/dev/sda1: UUID="69F8-D7A8" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="f0e4e836-f5b8-f647-92f5-d2534b7df4f1"
/dev/sda2: UUID="e82d6481-d908-4d1a-ad0a-e721069b0705" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="b43e3855-9062-a649-8d66-b02eb8982a60"
/dev/sda3: UUID="7d45f793-2b45-40ea-ab84-e4d501a8692e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="6f4caa86-b684-c847-a22e-d3a95c0f1c82"
/dev/sda4: UUID="66a57526-7768-4b92-b492-8b5ccb76c9e3" TYPE="swap" PARTUUID="c6b4cbc6-b991-ea41-ac7b-1784c8e10e2f"
/dev/sdb1: UUID="6AD9-B431" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="14b50f58-01"

The Configuartion seems to be ok. Donโ€™t see a mistake there. But it could be useful to upgrade the UEFI, since hibernation depends on the UEFI.

Latest UEFI is:

Date: 2018/11/15 Version: 1.21 

https://www.acer.com/ac/en/US/content/support-product/7296?b=1

1 Like

Oh man i was hoping i wouldnt have to do this
because bios updater/installer acer provides is an .exe file meaning i have to reinstall Windows 10
welp im going to do it today wish me luck!

1 Like

updated bios aaaaand no luck :frowning: tried on 57 and 54 linux kernels
any other ideas?

Here is doc about debugging hibernation. Maybe try another method:

https://www.kernel.org/doc/html/latest/power/basic-pm-debugging.html

1 Like

c) Using the โ€œtest_resumeโ€ hibernation option

this worked and as doc suggests it looks like an firmware issue
what should i do now?

I am afraid it is then not possible to use hibernation properly on your Acer Laptop, Acer might be to blame for this **** UEFI. The next steps of deep debugging are new to me and i never done that. But at least, you know now that the UEFI is the Problem, not the kernel.

Maybe check if secure boot is enabled? That could be a problem also.

The option โ€œacpi_osiโ€ can make the UEFI thinking that it is Windows running. Mayb this helps?

Here are the options: How to Identify the Windows Version in ACPI by Using _OSI - Windows drivers | Microsoft Docs

acpi_osi
acpi_osi=       [HW,ACPI] Modify list of supported OS interface strings
                        acpi_osi="string1"      # add string1
                        acpi_osi="!string2"     # remove string2
                        acpi_osi=!*             # remove all strings
                        acpi_osi=!              # disable all built-in OS vendor
                                                  strings
                        acpi_osi=!!             # enable all built-in OS vendor
                                                  strings
                        acpi_osi=               # disable all strings

                        'acpi_osi=!' can be used in combination with single or
                        multiple 'acpi_osi="string1"' to support specific OS
                        vendor string(s).  Note that such command can only
                        affect the default state of the OS vendor strings, thus
                        it cannot affect the default state of the feature group
                        strings and the current state of the OS vendor strings,
                        specifying it multiple times through kernel command line
                        is meaningless.  This command is useful when one do not
                        care about the state of the feature group strings which
                        should be controlled by the OSPM.
                        Examples:
                          1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
                             to 'acpi_osi="Windows 2000" acpi_osi=!', they all
                             can make '_OSI("Windows 2000")' TRUE.

                        'acpi_osi=' cannot be used in combination with other
                        'acpi_osi=' command lines, the _OSI method will not
                        exist in the ACPI namespace.  NOTE that such command can
                        only affect the _OSI support state, thus specifying it
                        multiple times through kernel command line is also
                        meaningless.
                        Examples:
                          1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
                             FALSE.

                        'acpi_osi=!*' can be used in combination with single or
                        multiple 'acpi_osi="string1"' to support specific
                        string(s).  Note that such command can affect the
                        current state of both the OS vendor strings and the
                        feature group strings, thus specifying it multiple times
                        through kernel command line is meaningful.  But it may
                        still not able to affect the final state of a string if
                        there are quirks related to this string.  This command
                        is useful when one want to control the state of the
                        feature group strings to debug BIOS issues related to
                        the OSPM features.
                        Examples:
                          1. 'acpi_osi="Module Device" acpi_osi=!*' can make
                             '_OSI("Module Device")' FALSE.
                          2. 'acpi_osi=!* acpi_osi="Module Device"' can make
                             '_OSI("Module Device")' TRUE.
                          3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
                             equivalent to
                             'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
                             and
                             'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
                             they all will make '_OSI("Windows 2000")' TRUE.

https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html

You need to add it in /etc/default/grub on line with GRUB_CMDLINE_LINUX_DEFAULT="" For Windows 10:

 GRUB_CMDLINE_LINUX_DEFAULT=" acpi_osi="Windows 2020" "

(donโ€™t forget sudo update-grub) :wink:

1 Like

sorry for late response i did try to trick uefi into thinking machine is running windows and no luck with that either so i decided to distro-hop around and found out that in fedora 32(after some fixing) hibernation works
now im trying to figure out why is that

1 Like

im losing all hope i guess i will just use manjaro without hibernation

Look out for UEFI firmware updates for your laptop model and file a bug with Acer.

(TBH: Iโ€™m never buying an Acer again as their software support sucks)

:man_shrugging:

Change order in /etc/mkinitcpio.conf to this:
HOOKS="base udev autodetect modconf block keyboard keymap filesystems resume"
then
sudo mkinitcpio -p linux57
reboot and test it

And does that suddenly make itwork now?

:thinking: