The sleep mode S3 is available by default without patching anything. So this is fine. I tried several kernels. 5.10 lts 5.11, xanmod, liquorix ect. meanwhile im on new released 5.13 but unfortunately all of them fail.
They laptop turns off but once i start it again there is a problem with the AMDGPU -> error ring sdma0, after this error the kernel tries to reset the gpu but fails and suddently stucks. Only a hard reset is possible.
I had chance to make hibernation run by using Debian Bullseye (distro doesnt matter) with packages: tuned, preload and tuned profile -> throughput. With this config the state got saved and on starting, it really started. All was fine for a while. I recognised up to 100 kthread kworker unbound entries on ps aux immediately after starting. Sometimes there was a problem with the nvme0 -> it suddently got remounted with read-only because of an error. Sometimes there was another error -> on every command i received some message regarding missing libs LD_PRELOAD or something like that.
My kernel parameter line is: "quiet ipv6.disable=1 apparmor=0 resume=/dev/mapper/hostname--vg-swap usbcore.autosuspend=-1 nvme_core.default_ps_max_latency_us=5500 snd_rn_pci_acp3x.dmic_acpi_check=0 acpiphp.disable=1 acpi_backlight=vendor"
]]>The issue with resuming from suspend on 5.11.x and later kernels is discussed here: https://bugs.archlinux.org/task/69764. The most common workaround has been to fall back to linux-lts. There is a patch in that bug report that I can confirm works, but requires kernel compilaton.
Unfortunately, in addition to this bug, the most recent 5.11 and 5.10 versions all suffer from another issue - the S3 sleep mode is not available at all (even with the ACPI tables patch). I downgraded to 5.10.25 via https://archive.archlinux.org/packages/l/linux-lts/ to resolve this.
]]>I'm facing a similar issue - https://bbs.archlinux.org/viewtopic.php?id=265276
Ever since I upgraded to 5.11, I'm unable to suspend properly. The laptop goes into suspend, but when I wake it up, the screen shows strange static colors and is totally unresponsive. I have to force shutdown the laptop to get it working again.
This was my issue with hibernation, but everything seems fine now. I assume some fix that works on some models and others it doesn't. Maybe, if you have a compatible machine, you could try some ACPI patches that were linked here in a few posts above
]]>Apr 05 20:02:34 nuno-laptop gnome-shell[1063]: An active wireless connection, in infrastructure mode, involves no access point?
Apr 05 20:02:36 nuno-laptop gnome-shell[1418]: [1411:1433:0405/200236.419279:ERROR:connection_factory_impl.cc(428)] Failed to connect to MCS endpoint with error -106
Apr 05 20:02:38 nuno-laptop gsd-usb-protect[1247]: Error calling USBGuard DBus to change the protection after a screensaver event: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
Apr 05 20:03:20 nuno-laptop /usr/lib/gdm-x-session[945]: (II) AMDGPU(0): EDID vendor "NCP", prod id 70
Apr 05 20:03:20 nuno-laptop /usr/lib/gdm-x-session[945]: (II) AMDGPU(0): Printing DDC gathered Modelines:
Apr 05 20:03:20 nuno-laptop /usr/lib/gdm-x-session[945]: (II) AMDGPU(0): Modeline "1920x1080"x0.0 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.6 kHz eP)
Apr 05 20:03:20 nuno-laptop systemd[929]: Stopped target Bluetooth.
Apr 05 20:03:20 nuno-laptop systemd[929]: Reached target Bluetooth.
Apr 05 20:03:20 nuno-laptop gnome-shell[1063]: Removing a network device that was not added
Apr 05 20:03:24 nuno-laptop dbus-daemon[964]: [session uid=1000 pid=964] Activating service name='org.freedesktop.FileManager1' requested by ':1.18' (uid=1000 pid=1063 comm="/usr/bin/gnome-shell ")
Apr 05 20:03:24 nuno-laptop org.freedesktop.FileManager1[2768]: Initializing nautilus-dropbox 2020.03.04
Apr 05 20:03:24 nuno-laptop dbus-daemon[964]: [session uid=1000 pid=964] Successfully activated service 'org.freedesktop.FileManager1'
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Apr 05 20:03:24 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Apr 05 20:03:24 nuno-laptop gsd-usb-protect[1247]: Error calling USBGuard DBus to change the protection after a screensaver event: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
Apr 05 20:03:40 nuno-laptop gnome-shell[1418]: [1411:1411:0405/200340.603789:ERROR:page_load_metrics_update_dispatcher.cc(170)] Invalid first_paint 0.573 s for first_image_paint 0.557 s
Apr 05 20:03:46 nuno-laptop gnome-shell[1418]: [1411:1411:0405/200346.424590:ERROR:page_load_metrics_update_dispatcher.cc(170)] Invalid first_paint 0.573 s for first_image_paint 0.557 s
Apr 05 20:03:47 nuno-laptop gnome-shell[1418]: [1411:1411:0405/200347.495718:ERROR:page_load_metrics_update_dispatcher.cc(170)] Invalid first_paint 0.573 s for first_image_paint 0.557 s
Apr 05 20:03:49 nuno-laptop gnome-shell[1418]: [1411:1411:0405/200349.422672:ERROR:page_load_metrics_update_dispatcher.cc(170)] Invalid first_paint 0.573 s for first_image_paint 0.557 s
But nothing to alarming to me besides the AMDGPU stuff and USB stuff being highlighted in yellow in the journal command. Will test s2idle and report back!
EDIT: Interesting, s2idle still does not work, but this time it came back from "sleep" and is working fine. No lags or anything. Log is similar to my hibernation log, which is strange:
Apr 05 20:08:54 nuno-laptop gnome-shell[1063]: An active wireless connection, in infrastructure mode, involves no access point?
Apr 05 20:08:56 nuno-laptop gnome-shell[1418]: [1411:1433:0405/200856.811500:ERROR:connection_factory_impl.cc(428)] Failed to connect to MCS endpoint with error -106
Apr 05 20:08:59 nuno-laptop gsd-usb-protect[1247]: Error calling USBGuard DBus to change the protection after a screensaver event: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
Apr 05 20:09:36 nuno-laptop /usr/lib/gdm-x-session[945]: (II) event2 - AT Translated Set 2 keyboard: SYN_DROPPED event - some input events have been lost.
Apr 05 20:09:36 nuno-laptop /usr/lib/gdm-x-session[945]: (II) AMDGPU(0): EDID vendor "NCP", prod id 70
Apr 05 20:09:36 nuno-laptop /usr/lib/gdm-x-session[945]: (II) AMDGPU(0): Printing DDC gathered Modelines:
Apr 05 20:09:36 nuno-laptop /usr/lib/gdm-x-session[945]: (II) AMDGPU(0): Modeline "1920x1080"x0.0 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.6 kHz eP)
Apr 05 20:09:36 nuno-laptop gnome-shell[1063]: Removing a network device that was not added
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Apr 05 20:09:41 nuno-laptop gnome-shell[1063]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Apr 05 20:09:41 nuno-laptop gsd-usb-protect[1247]: Error calling USBGuard DBus to change the protection after a screensaver event: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
Anyway, suspend not working is not a deal breaker to me, as hibernation is fine.
]]>Tested on 5.11.7 - the issue persists.
Errors are a bit different now:
Interesting, with 5.11.8 I shared the amdgpu messages and some of the systemd messages too. As right now I need most stability, I have not yet tested 5.11.10 or 5.11.11 (if it already is out). I stayed on the 5.10-LTS kernel for now. Hopefully 5.12 reverts what 5.11 had that broke this (I assume some AMD patch, no clue...). Maybe I am also doing things wrong and there is a newer way for kernel 5.11.
]]>There're IMHO several different issues in this thread: Those where hibernation is broken. Those where suspend/resume did in fact work with 5.10 (and before) and not anymore with 5.11 (like mine) and those that probably never worked, not even with 5.10 (like strikingcheesecake's machine). And of those that had working suspend with 5.10 it's still the question if S0ix or S3 was used. Thus it would be needed to know what `cat /sys/power/mem_sleep` brings up (the default will be denoted in brackets).
Personally I tried S0ix last year and it drained the battery almost completely in about 4 hours. I went for patching the ACPI table to enable the S3 support (like johnjohnlys), which then worked flawlessly. It fails with 5.11, as this now defaults to doing 's2idle' if it is supported, even if 'deep' mem_sleep is selected (`cat /sys/power/mem_sleep` -> 's2idle [deep]'), which then will hang the GPU and trigger its reset (that doesn't recover until restart). I opened a drm/amd issue for the problem with _S3_ breakage in 5.11 [1]. Please refrain from using it for non-S3 symptoms. As a workaround one can use the attached patch to enable checking for configured S3 (tested) or probably remove S0ix-Support from the ACPI table (untested but should work according to the code).
Heiko
]]>Mar 21 21:46:03 systemd[1]: Starting Hibernate...
Mar 21 21:46:03 systemd-sleep[2239]: Suspending system...
Mar 21 21:46:03 kernel: PM: hibernation: hibernation entry
Mar 21 21:46:13 kernel: Filesystems sync: 0.003 seconds
Mar 21 21:46:13 kernel: Freezing user space processes ... (elapsed 0.002 seconds) done.
Mar 21 21:46:13 kernel: OOM killer disabled.
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0x000a0000-0x000fffff]
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0x09d02000-0x09ffffff]
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0x0a200000-0x0a20ffff]
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0xc85ed000-0xc861bfff]
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0xca626000-0xca626fff]
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0xcb270000-0xcd1fefff]
Mar 21 21:46:13 kernel: PM: hibernation: Marking nosave pages: [mem 0xce000000-0xffffffff]
Mar 21 21:46:13 kernel: PM: hibernation: Basic memory bitmaps created
Mar 21 21:46:13 kernel: PM: hibernation: Preallocating image memory
Mar 21 21:46:13 kernel: PM: hibernation: Allocated 717313 pages for snapshot
Mar 21 21:46:13 kernel: PM: hibernation: Allocated 2869252 kbytes in 0.79 seconds (3631.96 MB/s)
Mar 21 21:46:13 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Mar 21 21:46:13 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Mar 21 21:46:13 kernel: amdgpu: cp queue preemption time out.
Mar 21 21:46:13 kernel: amdgpu 0000:03:00.0: amdgpu: MODE2 reset
Mar 21 21:46:13 kernel: amdgpu 0000:03:00.0: amdgpu: failed send message: GfxDeviceDriverReset (30) param: 0x00000002 response 0xffffffc2
Mar 21 21:46:13 kernel: amdgpu 0000:03:00.0: amdgpu: Mode2 reset failed!
Mar 21 21:46:13 kernel: PM: pci_pm_freeze(): amdgpu_pmops_freeze+0x0/0x40 [amdgpu] returns -62
Mar 21 21:46:13 kernel: PM: dpm_run_callback(): pci_pm_freeze+0x0/0xb0 returns -62
Mar 21 21:46:13 kernel: PM: Device 0000:03:00.0 failed to freeze async: error -62
Mar 21 21:46:13 kernel: usb usb1: root hub lost power or was reset
Mar 21 21:46:13 kernel: usb usb3: root hub lost power or was reset
Mar 21 21:46:13 kernel: usb usb2: root hub lost power or was reset
Mar 21 21:46:13 kernel: usb usb4: root hub lost power or was reset
Mar 21 21:46:13 kernel: pci 0000:00:00.2: can't derive routing for PCI INT A
Mar 21 21:46:13 kernel: pci 0000:00:00.2: PCI INT A: no GSI
Mar 21 21:46:13 kernel: nvme nvme0: Shutdown timeout set to 8 seconds
Mar 21 21:46:13 kernel: nvme nvme0: 12/0/0 default/read/poll queues
Mar 21 21:46:13 kernel: ata2: SATA link down (SStatus 0 SControl 300)
Mar 21 21:46:13 kernel: ata1: SATA link down (SStatus 0 SControl 300)
Mar 21 21:46:13 kernel: usb 3-2: reset full-speed USB device number 2 using xhci_hcd
Mar 21 21:46:13 kernel: usb 3-3: reset high-speed USB device number 3 using xhci_hcd
Mar 21 21:46:13 kernel: usb 3-4: reset full-speed USB device number 4 using xhci_hcd
Mar 21 21:46:13 kernel: acpi LNXPOWER:08: Turning OFF
Mar 21 21:46:13 kernel: acpi LNXPOWER:07: Turning OFF
Mar 21 21:46:13 kernel: acpi LNXPOWER:05: Turning OFF
Mar 21 21:46:13 kernel: PM: hibernation: Basic memory bitmaps freed
Mar 21 21:46:13 kernel: OOM killer enabled.
Mar 21 21:46:13 kernel: Restarting tasks ...
Mar 21 21:46:13 kernel: Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021
Mar 21 21:46:13 kernel: done.
Mar 21 21:46:13 kernel: PM: hibernation: hibernation exit
Mar 21 21:46:13 kernel: audit: type=1130 audit(1616363173.379:129): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hibernate comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 21 21:46:13 kernel: audit: type=1130 audit(1616363173.382:130): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 21 21:46:13 kernel: audit: type=1131 audit(1616363173.385:131): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 21 21:46:13 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hibernate comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 21 21:46:13 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 21 21:46:13 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 21 21:46:13 rtkit-daemon[580]: The canary thread is apparently starving. Taking action.
Mar 21 21:46:13 upowerd[576]: treating change event as add on /sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2
Mar 21 21:46:13 rtkit-daemon[580]: Demoting known real-time threads.
Mar 21 21:46:13 systemd[1]: Starting Load/Save RF Kill Switch Status...
Mar 21 21:46:13 rtkit-daemon[580]: Successfully demoted thread 1039 of process 967.
Mar 21 21:46:13 systemd[1]: Stopped target Bluetooth.
Mar 21 21:46:13 rtkit-daemon[580]: Successfully demoted thread 1030 of process 967.
Mar 21 21:46:13 systemd-sleep[2239]: Failed to suspend system. System resumed again: Timer expired
Mar 21 21:46:13 rtkit-daemon[580]: Successfully demoted thread 967 of process 967.
Mar 21 21:46:13 upowerd[576]: treating change event as add on /sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2
Mar 21 21:46:13 rtkit-daemon[580]: Demoted 3 threads.
Mar 21 21:46:13 systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
Mar 21 21:46:13 bluetoothd[475]: Endpoint unregistered: sender=:1.59 path=/MediaEndpoint/A2DPSink/sbc
Mar 21 21:46:13 systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
Mar 21 21:46:13 bluetoothd[475]: Endpoint unregistered: sender=:1.59 path=/MediaEndpoint/A2DPSource/sbc
Mar 21 21:46:13 systemd[1]: Failed to start Hibernate.
Mar 21 21:46:13 systemd[1]: Dependency failed for Hibernate.
Mar 21 21:46:13 systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
Mar 21 21:46:13 systemd[1]: Reached target Bluetooth.
Mar 21 21:46:13 systemd[1]: Stopped target Sleep.
Mar 21 21:46:13 systemd[807]: Reached target Bluetooth.
Mar 21 21:46:13 systemd[1]: Started Load/Save RF Kill Switch Status.
Mar 21 21:46:13 systemd-logind[374]: Operation 'sleep' finished.
Mar 21 21:46:13 upowerd[576]: treating change event as add on /sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-4
Mar 21 21:46:13 systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.3891] manager: sleep: wake requested (sleeping: yes enabled: yes)
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.3892] device (wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.3904] device (p2p-dev-wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.3908] manager: NetworkManager state is now DISCONNECTED
Mar 21 21:46:13 google-chrome.desktop[1395]: [1388:1409:0321/234613.404990:ERROR:connection_factory_impl.cc(428)] Failed to connect to MCS endpoint with error -106
Mar 21 21:46:13 upowerd[576]: treating change event as add on /sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-4
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.4553] device (wlp1s0): supplicant interface state: internal-starting -> disconnected
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.4554] device (p2p-dev-wlp1s0): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.4560] Wi-Fi P2P device controlled by interface wlp1s0 created
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.4564] manager: (p2p-dev-wlp1s0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/4)
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.4566] device (p2p-dev-wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.4573] device (wlp1s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Mar 21 21:46:13 NetworkManager[372]: <info> [1616363173.4580] device (p2p-dev-wlp1s0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 21 21:46:13 NetworkManager[372]: <warn> [1616363173.4668] sup-iface[2e6bde8a5dc36ff6,1,wlp1s0]: call-p2p-cancel: failed with P2P cancel failed
Mar 21 21:46:13 bluetoothd[475]: Endpoint registered: sender=:1.59 path=/MediaEndpoint/A2DPSink/sbc
Mar 21 21:46:13 bluetoothd[475]: Endpoint registered: sender=:1.59 path=/MediaEndpoint/A2DPSource/sbc
Mar 21 21:46:13 kernel: [drm] Fence fallback timer expired on ring sdma0
Same here regarding hibernate and downgrading. Thinkpad T14s with Ryzen 4750U.
Same issues for me. Thinkpad P14s , Ryzen 4750U. Happens on Kernel 5.10 - lts , and 5.11 .
]]>This is mostly Lenovo+Ubuntu related, but you can check this out: https://github.com/jrandiny/yoga-slim7-ubuntu#suspend
Oh I see... Thank you, seems kinda useful.
]]>Also, pardon me for my ignorance, but what is this ACPI hack you are talking about? I am wondering if I could use it with my laptop that only supports AMD's s2idle
This is mostly Lenovo+Ubuntu related, but you can check this out: https://github.com/jrandiny/yoga-slim7-ubuntu#suspend
]]>Having a Swift 3 4700U, S3 worked perfectly until 5.10.10 (enabled with ACPI hack). In 5.11, S3 100% fails, so I partially downgrade to 5.10.10 from pacman cache, everything works fine now.
What about S4 in 5.11? It's our main issue here. Also, pardon me for my ignorance, but what is this ACPI hack you are talking about? I am wondering if I could use it with my laptop that only supports AMD's s2idle
]]>Yes, using LTS kernel also resolves the issue. Still having an issue with resume from suspend on my VivoBook S14 though, but that manifests on both kernels.
In the S15, this is caused by only having s2idle sleep, and no longer deep sleep (S3). It was supposedly better implemented in 5.11 (due to some AMD patches introduced), but I don't think it was that different.
]]>