Sleep/Suspend function not working on Lenovo ThinkBook 16 G8 IRL
https://askubuntu.com/questions/1565734/sleep-suspend-function-not-working-on-lenovo-thinkbook-16-g8-irl
Suspend/hibernate not working - no usable answers were provided, the only proposed solution does not work.
This is NOT a duplicate of "Computer does not resume from suspend". The computer does not sleep or suspend at all and answers in this thread are not relevant. The question I had asked before had no functional solutions.
This is NOT a duplicate of 24.04 doesn't sleep as that has an "answer" that I cannot downvote or delete as the "answer" doesn't work.
I have a brand new Lenovo ThinkBook 16 G8 IRL running Ubuntu 24.04.3. The computer has 32gb of RAM and 2 physical SSDs, one for a Win11 installation and the other for a fresh Ubuntu installation.
Sleep/Suspend works perfectly in the W11 environment, but not in Ubuntu. I have tested using Ubuntu versions 18 to 24, Mint Cinamonn 22 and Pop!_OS 22 and 24. They have all exhibited the same behavior.
The screen goes black, it looks like the machine tries to sleep, but then wakes up again within 5 seconds. This makes it impossible to use as a true laptop as I have to save all work and shut down the computer whenever I will travel with it - which is quite often.
This is not a problem of the computer not restarting or restoring from suspend, the computer does not enter suspend in the first place.
I agree the suspend command should work out of the box, so I'm not understanding this. I ran the below command and had the same effect - black screen for 3-5 seconds, then back to a login screen.
Swap is on and has plenty of space (32gb of RAM)
I have followed several recommendations and followed several directions.
There are no external devices plugged in
I have attempted to disable USB devices, use Gnome Tweaks to enable suspend, changed USB wake properties, but I had no luck.
Updates:
Computer updated to 24.04.4
New dmesg added at the end
Kernel updated to 6.17.0-20-generic
UPDATE: I noticed that the file /etc/initramfs-tools/conf.d/resume does not exist. In fact, the conf.d folder is empty.
Latest update following Daniel T's directions to enter suspend via sudo in terminal - note the computer exhibited the same behavior: the screen went black for a couple of seconds then just turned back on.
rogbuntu@rogbuntu-thinkbook:~$ sudo dmesg | tail -n 200
[47923.909989] OOM killer disabled.
[47923.909993] Freezing remaining freezable tasks
[47923.911482] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[47923.911489] printk: Suspending console(s) (use no_console_suspend to debug)
[47923.979779] e1000e: EEE TX LPI TIMER: 00000011
[47924.443767] ACPI: EC: interrupt blocked
[47924.518796] ACPI: EC: interrupt unblocked
[47924.710867] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0
[47924.710879] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[47924.728586] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[47924.729214] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[47924.729219] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[47924.729685] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[47924.808371] nvme nvme0: D3 entry latency set to 10 seconds
[47924.840891] nvme nvme1: 12/0/0 default/read/poll queues
[47924.845187] nvme nvme0: 12/0/0 default/read/poll queues
[47925.443358] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[47925.444030] OOM killer enabled.
[47925.444036] Restarting tasks: Starting
[47925.444561] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[47925.447588] Restarting tasks: Done
[47925.447632] random: crng reseeded on system resumption
[47925.467045] PM: suspend exit
[47925.583099] e1000e 0000:00:1f.6 eno0: NIC Link is Down
[47925.949931] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[47925.949981] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[47925.949992] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[47925.950002] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[47925.951446] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[47928.695050] wlp0s20f3: authenticate with 32:23:03:6e:fc:f9 (local address=04:f0:ee:eb:9e:25)
[47928.696196] wlp0s20f3: send auth to 32:23:03:6e:fc:f9 (try 1/3)
[47928.743776] wlp0s20f3: authenticated
[47928.744724] wlp0s20f3: associate with 32:23:03:6e:fc:f9 (try 1/3)
[47928.747853] wlp0s20f3: RX AssocResp from 32:23:03:6e:fc:f9 (capab=0x11 status=0 aid=1)
[47928.760576] wlp0s20f3: associated
[47953.920154] wlp0s20f3: deauthenticating from 32:23:03:6e:fc:f9 by local choice (Reason: 3=DEAUTH_LEAVING)
[47954.264437] PM: suspend entry (s2idle)
[47954.271883] Filesystems sync: 0.007 seconds
[47954.394080] Freezing user space processes
[47954.397975] Freezing user space processes completed (elapsed 0.003 seconds)
[47954.397991] OOM killer disabled.
[47954.397994] Freezing remaining freezable tasks
[47954.399564] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[47954.399577] printk: Suspending console(s) (use no_console_suspend to debug)
[47954.467735] e1000e: EEE TX LPI TIMER: 00000011
[47954.931907] ACPI: EC: interrupt blocked
[47954.988618] ACPI: EC: interrupt unblocked
[47955.176036] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0
[47955.176057] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[47955.194251] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[47955.194930] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[47955.194938] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[47955.195453] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[47955.343451] nvme nvme0: D3 entry latency set to 10 seconds
[47955.376035] nvme nvme1: 12/0/0 default/read/poll queues
[47955.379858] nvme nvme0: 12/0/0 default/read/poll queues
[47955.864919] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[47955.865515] OOM killer enabled.
[47955.865520] Restarting tasks: Starting
[47955.866195] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[47955.868716] Restarting tasks: Done
[47955.868761] random: crng reseeded on system resumption
[47955.886107] PM: suspend exit
[47956.000196] e1000e 0000:00:1f.6 eno0: NIC Link is Down
[47956.365393] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[47956.365459] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[47956.365514] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[47956.365568] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[47956.366611] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[47959.105897] wlp0s20f3: authenticate with 32:23:03:6e:fc:f9 (local address=04:f0:ee:eb:9e:25)
[47959.106971] wlp0s20f3: send auth to 32:23:03:6e:fc:f9 (try 1/3)
[47959.154156] wlp0s20f3: authenticated
[47959.154702] wlp0s20f3: associate with 32:23:03:6e:fc:f9 (try 1/3)
[47959.157897] wlp0s20f3: RX AssocResp from 32:23:03:6e:fc:f9 (capab=0x11 status=0 aid=1)
[47959.169280] wlp0s20f3: associated
[47984.423474] wlp0s20f3: deauthenticating from 32:23:03:6e:fc:f9 by local choice (Reason: 3=DEAUTH_LEAVING)
[47984.792568] PM: suspend entry (s2idle)
[47984.805306] Filesystems sync: 0.012 seconds
[47984.921740] Freezing user space processes
[47984.925929] Freezing user space processes completed (elapsed 0.004 seconds)
[47984.925944] OOM killer disabled.
[47984.925947] Freezing remaining freezable tasks
[47984.927426] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[47984.927433] printk: Suspending console(s) (use no_console_suspend to debug)
[47984.995104] e1000e: EEE TX LPI TIMER: 00000011
[47985.444440] ACPI: EC: interrupt blocked
[47985.520908] ACPI: EC: interrupt unblocked
[47985.707107] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0
[47985.707121] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[47985.724612] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[47985.725302] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[47985.725309] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[47985.725831] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[47985.862462] nvme nvme0: D3 entry latency set to 10 seconds
[47985.890674] nvme nvme1: 12/0/0 default/read/poll queues
[47985.898299] nvme nvme0: 12/0/0 default/read/poll queues
[47986.439952] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[47986.440338] OOM killer enabled.
[47986.440342] Restarting tasks: Starting
[47986.441108] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[47986.442791] Restarting tasks: Done
[47986.442840] random: crng reseeded on system resumption
[47986.458078] PM: suspend exit
[47986.572178] e1000e 0000:00:1f.6 eno0: NIC Link is Down
[47986.933813] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[47986.933860] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[47986.933913] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[47986.933966] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[47986.934936] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[47989.929359] wlp0s20f3: authenticate with 32:23:03:6e:fc:f9 (local address=04:f0:ee:eb:9e:25)
[47989.930527] wlp0s20f3: send auth to 32:23:03:6e:fc:f9 (try 1/3)
[47989.977919] wlp0s20f3: authenticated
[47989.978750] wlp0s20f3: associate with 32:23:03:6e:fc:f9 (try 1/3)
[47989.981879] wlp0s20f3: RX AssocResp from 32:23:03:6e:fc:f9 (capab=0x11 status=0 aid=1)
[47989.992931] wlp0s20f3: associated
[48014.924582] wlp0s20f3: deauthenticating from 32:23:03:6e:fc:f9 by local choice (Reason: 3=DEAUTH_LEAVING)
[48015.273199] PM: suspend entry (s2idle)
[48015.283621] Filesystems sync: 0.010 seconds
[48015.402847] Freezing user space processes
[48015.406655] Freezing user space processes completed (elapsed 0.003 seconds)
[48015.406666] OOM killer disabled.
[48015.406669] Freezing remaining freezable tasks
[48015.408010] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[48015.408018] printk: Suspending console(s) (use no_console_suspend to debug)
[48015.473768] e1000e: EEE TX LPI TIMER: 00000011
[48016.063623] ACPI: EC: interrupt blocked
[48016.134650] ACPI: EC: interrupt unblocked
[48016.322260] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0
[48016.322273] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[48016.339739] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[48016.341426] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[48016.341431] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[48016.342012] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[48016.481754] nvme nvme0: D3 entry latency set to 10 seconds
[48016.510489] nvme nvme1: 12/0/0 default/read/poll queues
[48016.522334] nvme nvme0: 12/0/0 default/read/poll queues
[48017.007580] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[48017.008163] OOM killer enabled.
[48017.008167] Restarting tasks: Starting
[48017.008692] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[48017.011205] Restarting tasks: Done
[48017.011241] random: crng reseeded on system resumption
[48017.028570] PM: suspend exit
[48017.142282] e1000e 0000:00:1f.6 eno0: NIC Link is Down
[48017.503023] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[48017.503071] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[48017.503122] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[48017.503176] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[48017.504210] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[48020.245921] wlp0s20f3: authenticate with 32:23:03:6e:fc:f9 (local address=04:f0:ee:eb:9e:25)
[48020.247032] wlp0s20f3: send auth to 32:23:03:6e:fc:f9 (try 1/3)
[48020.294458] wlp0s20f3: authenticated
[48020.295832] wlp0s20f3: associate with 32:23:03:6e:fc:f9 (try 1/3)
[48020.298911] wlp0s20f3: RX AssocResp from 32:23:03:6e:fc:f9 (capab=0x11 status=0 aid=1)
[48020.310244] wlp0s20f3: associated
[48048.446184] warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[48068.921782] audit: type=1326 audit(1777934056.413:205): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.whatsie.whatsie pid=144169 comm="whatsie" exe="/snap/whatsie/185/usr/bin/whatsie" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7328b7d016f1 code=0x50000
[48068.927985] audit: type=1326 audit(1777934056.419:206): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.whatsie.whatsie pid=144169 comm="whatsie" exe="/snap/whatsie/185/usr/bin/whatsie" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7328b7d016f1 code=0x50000
[48069.883806] audit: type=1326 audit(1777934057.375:207): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.whatsie.whatsie pid=144401 comm="QtWebEngineProc" exe="/snap/whatsie/185/kf6/usr/lib/qt6/libexec/QtWebEngineProcess" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7786ead5132b code=0x50000
[48069.884389] audit: type=1326 audit(1777934057.375:208): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.whatsie.whatsie pid=144402 comm="QtWebEngineProc" exe="/snap/whatsie/185/kf6/usr/lib/qt6/libexec/QtWebEngineProcess" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7d3a6270232b code=0x50000
[48070.221758] audit: type=1400 audit(1777934057.712:209): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.whatsie.whatsie" pid=144169 comm="whatsie" requested_mask="read" denied_mask="read" peer="unconfined"
[48422.005791] perf: interrupt took too long (2533 > 2500), lowering kernel.perf_event_max_sample_rate to 78000
[49653.906894] i915 0000:00:02.0: Using 39-bit DMA addresses
[49820.994369] perf: interrupt took too long (3179 > 3166), lowering kernel.perf_event_max_sample_rate to 62000
[52342.488723] perf: interrupt took too long (4046 > 3973), lowering kernel.perf_event_max_sample_rate to 49000
[52394.841347] PM: suspend entry (s2idle)
[52394.842408] Filesystems sync: 0.001 seconds
[52394.864687] Freezing user space processes
[52394.870277] Freezing user space processes completed (elapsed 0.005 seconds)
[52394.870291] OOM killer disabled.
[52394.870294] Freezing remaining freezable tasks
[52394.872340] Freezing remaining freezable tasks completed (elapsed 0.002 seconds)
[52394.872352] printk: Suspending console(s) (use no_console_suspend to debug)
[52394.933630] wlp0s20f3: deauthenticating from 32:23:03:6e:fc:f9 by local choice (Reason: 3=DEAUTH_LEAVING)
[52394.941340] e1000e: EEE TX LPI TIMER: 00000011
[52395.698016] ACPI: EC: interrupt blocked
[52395.775363] ACPI: EC: interrupt unblocked
[52395.960230] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0
[52395.960241] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[52395.977547] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[52395.980255] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[52395.980279] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[52395.980761] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[52396.053294] nvme nvme0: D3 entry latency set to 10 seconds
[52396.085247] nvme nvme1: 12/0/0 default/read/poll queues
[52396.093635] nvme nvme0: 12/0/0 default/read/poll queues
[52396.691044] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[52396.691600] OOM killer enabled.
[52396.691622] Restarting tasks: Starting
[52396.692377] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[52396.697283] Restarting tasks: Done
[52396.697348] random: crng reseeded on system resumption
[52396.727140] PM: suspend exit
[52396.866032] wlp0s20f3: authenticate with b8:be:f4:8b:07:85 (local address=04:f0:ee:eb:9e:25)
[52396.866977] wlp0s20f3: send auth to b8:be:f4:8b:07:85 (try 1/3)
[52396.912499] wlp0s20f3: authenticated
[52396.913679] wlp0s20f3: associate with b8:be:f4:8b:07:85 (try 1/3)
[52396.924142] wlp0s20f3: RX AssocResp from b8:be:f4:8b:07:85 (capab=0x1511 status=0 aid=1)
[52396.932746] wlp0s20f3: associated
[52396.942478] wlp0s20f3: Limiting TX power to 20 (23 - 3) dBm as advertised by b8:be:f4:8b:07:85