Suspension problem
from utnapishtim@sh.itjust.works to linux@lemmy.ml on 06 Oct 16:01
https://sh.itjust.works/post/47424906
from utnapishtim@sh.itjust.works to linux@lemmy.ml on 06 Oct 16:01
https://sh.itjust.works/post/47424906
Hi, I installed Linux Mint on a Asus Tuf Gaming F16 i7 13620H 4050 rtx, when I put it on suspension it takes a long time to wake up and the wireless becomes unavailable, I need to reboot to make it work again. I’ve already installed the latest drivers and updated the bios. I really don’t know what to do, can it be a hardware problem? Thanks.
threaded - newest
I think u need try to use more modern versions of linux kernel
I’m using the latest 6.14.0-33
That’s too modern 🤣
My Lenovo t14 amd 360 misbehaves on 6.11, but is great on 6.8
Should I revert to an older kernel?
It’s worth stepping back to through the “latest” 6.11 hwe and 6.8 hwe kernels to see if it improves.
So going back to 6.8 solved the screen problem but not the wifi, still some thing.
Are you dual booting windows by chance?
Maybe check if there is newer firmware available for the chip set.
No dual booting
Hmm would be nice if u would provide logs after wake up from dmesg
This is what I get: 2214.524547] wlp56s0: associated [ 2214.524651] wlp56s0: Limiting TX power to 20 (23 - 3) dBm as advertised by 28:87:ba:ca:16:f7 [ 2356.421672] wlp56s0: deauthenticating from 28:87:ba:ca:16:f7 by local choice (Reason: 3=DEAUTH_LEAVING) [ 2356.750693] PM: suspend entry (s2idle) [ 2356.809808] Filesystems sync: 0.059 seconds [ 2356.910927] Bluetooth: hci0: Opcode 0x0c24 failed: -112 [ 2356.910935] fbcon: Taking over console [ 2356.912497] Freezing user space processes [ 2356.914010] Freezing user space processes completed (elapsed 0.001 seconds) [ 2356.914013] OOM killer disabled. [ 2356.914014] Freezing remaining freezable tasks [ 2356.921061] Console: switching to colour frame buffer device 240x75 [ 2356.960580] Bluetooth: hci0: unexpected event for opcode 0x0c24 [ 2356.961173] Freezing remaining freezable tasks completed (elapsed 0.047 seconds) [ 2356.961190] printk: Suspending console(s) (use no_console_suspend to debug) [ 2363.683976] pcieport 0000:00:1c.7: broken device, retraining non-functional downstream link at 2.5GT/s [ 2364.860956] pcieport 0000:00:1c.7: broken device, retraining non-functional downstream link at 2.5GT/s [ 2365.948865] rtw89_8852be 0000:38:00.0: not ready 1023ms after resume; waiting [ 2367.036579] rtw89_8852be 0000:38:00.0: not ready 2047ms after resume; waiting [ 2369.148317] rtw89_8852be 0000:38:00.0: not ready 4095ms after resume; waiting [ 2373.627631] rtw89_8852be 0000:38:00.0: not ready 8191ms after resume; waiting [ 2382.330465] rtw89_8852be 0000:38:00.0: not ready 16383ms after resume; waiting [ 2399.224328] rtw89_8852be 0000:38:00.0: not ready 32767ms after resume; waiting [ 2422.262267] nvme nvme0: I/O tag 908 (938c) QID 7 timeout, completion polled [ 2422.262318] nvme nvme0: I/O tag 1 (6001) QID 9 timeout, completion polled [ 2422.262351] nvme nvme0: I/O tag 416 (11a0) QID 11 timeout, completion polled [ 2434.548081] rtw89_8852be 0000:38:00.0: not ready 65535ms after resume; giving up [ 2434.548262] rtw89_8852be 0000:38:00.0: Unable to change power state from D3cold to D0, device inaccessible [ 2434.617783] spd5118 2-0050: Failed to write b = 0: -6 [ 2434.617789] spd5118 2-0050: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6 [ 2434.617795] spd5118 2-0050: PM: failed to resume async: error -6 [ 2434.618696] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0 [ 2434.618703] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3 [ 2434.632543] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads [ 2434.632955] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled [ 2434.632956] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled [ 2434.633398] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled [ 2434.648174] rtw89_8852be 0000:38:00.0: failed to write DBI register, addr=0xB48 [ 2434.648419] rtw89_8852be 0000:38:00.0: failed to write DBI register, addr=0xB48 [ 2434.648420] rtw89_8852be 0000:38:00.0: failed to read PCI cap, ret=134 [ 2434.822060] usb 3-10: reset full-speed USB device number 5 using xhci_hcd [ 2435.148685] nvidia-modeset: nvidia-modeset: ACPI reported no NVIDIA native backlight available; attempting to use ACPI backlight. [ 2435.166809] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915]) [ 2435.167325] OOM killer enabled. [ 2435.167327] Restarting tasks … [ 2435.167506] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915]) [ 2435.169543] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852 [ 2435.170536] Bluetooth: hci0: RTL: rom_version status=0 version=1 [ 2435.170541] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_fw.bin [ 2435.170642] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_config.bin [ 2435.170671] Bluetooth: hci0: RTL: cfg_sz 6, total sz 58003 [ 2435.176158] done. [ 2435.176165] random: crng reseeded on system resumption [ 2435.180778] PM: suspend exit [ 2435.335742] Generic FE-GE Realtek PHY r8169-0-3700:00: attached PHY driver (mii_bus:phy_addr=r8169-0-3700:00, irq=MAC) [ 2435.463533] Bluetooth: hci0: RTL: fw version 0xdbc6b20f [ 2435.495790] r8169 0000:37:00.0 enp55s0: Link is Down [ 2435.547553] Bluetooth: hci0: AOSP extensions version v1.00 [ 2435.547560] Bluetooth: hci0: AOSP quality report is supported [ 2435.547688] Bluetooth: MGMT ver 1.23 [ 2435.566665] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2435.586691] rtw89_8852be 0000:38:00.0: mac init fail, ret:-110 [ 2435.658698] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2435.679686] rtw89_8852be 0000:38:00.0: mac init fail, ret:-110 [ 2435.750715] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2435.771643] rtw89_8852be 0000:38:00.0: mac init fail, ret:-110 [ 2445.613749] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2445.634583] rtw89_
Is it a laptop? For some reason I’ve always had issues on laptop and suspend mode on linux, I think it’s a commom issue. Which version of mint adn kernal version?
2214.524547] wlp56s0: associated [ 2214.524651] wlp56s0: Limiting TX power to 20 (23 - 3) dBm as advertised by 28:87:ba:ca:16:f7 [ 2356.421672] wlp56s0: deauthenticating from 28:87:ba:ca:16:f7 by local choice (Reason: 3=DEAUTH_LEAVING) [ 2356.750693] PM: suspend entry (s2idle) [ 2356.809808] Filesystems sync: 0.059 seconds [ 2356.910927] Bluetooth: hci0: Opcode 0x0c24 failed: -112 [ 2356.910935] fbcon: Taking over console [ 2356.912497] Freezing user space processes [ 2356.914010] Freezing user space processes completed (elapsed 0.001 seconds) [ 2356.914013] OOM killer disabled. [ 2356.914014] Freezing remaining freezable tasks [ 2356.921061] Console: switching to colour frame buffer device 240x75 [ 2356.960580] Bluetooth: hci0: unexpected event for opcode 0x0c24 [ 2356.961173] Freezing remaining freezable tasks completed (elapsed 0.047 seconds) [ 2356.961190] printk: Suspending console(s) (use no_console_suspend to debug) [ 2363.683976] pcieport 0000:00:1c.7: broken device, retraining non-functional downstream link at 2.5GT/s [ 2364.860956] pcieport 0000:00:1c.7: broken device, retraining non-functional downstream link at 2.5GT/s [ 2365.948865] rtw89_8852be 0000:38:00.0: not ready 1023ms after resume; waiting [ 2367.036579] rtw89_8852be 0000:38:00.0: not ready 2047ms after resume; waiting [ 2369.148317] rtw89_8852be 0000:38:00.0: not ready 4095ms after resume; waiting [ 2373.627631] rtw89_8852be 0000:38:00.0: not ready 8191ms after resume; waiting [ 2382.330465] rtw89_8852be 0000:38:00.0: not ready 16383ms after resume; waiting [ 2399.224328] rtw89_8852be 0000:38:00.0: not ready 32767ms after resume; waiting [ 2422.262267] nvme nvme0: I/O tag 908 (938c) QID 7 timeout, completion polled [ 2422.262318] nvme nvme0: I/O tag 1 (6001) QID 9 timeout, completion polled [ 2422.262351] nvme nvme0: I/O tag 416 (11a0) QID 11 timeout, completion polled [ 2434.548081] rtw89_8852be 0000:38:00.0: not ready 65535ms after resume; giving up [ 2434.548262] rtw89_8852be 0000:38:00.0: Unable to change power state from D3cold to D0, device inaccessible [ 2434.617783] spd5118 2-0050: Failed to write b = 0: -6 [ 2434.617789] spd5118 2-0050: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6 [ 2434.617795] spd5118 2-0050: PM: failed to resume async: error -6 [ 2434.618696] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0 [ 2434.618703] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3 [ 2434.632543] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads [ 2434.632955] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled [ 2434.632956] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled [ 2434.633398] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled [ 2434.648174] rtw89_8852be 0000:38:00.0: failed to write DBI register, addr=0xB48 [ 2434.648419] rtw89_8852be 0000:38:00.0: failed to write DBI register, addr=0xB48 [ 2434.648420] rtw89_8852be 0000:38:00.0: failed to read PCI cap, ret=134 [ 2434.822060] usb 3-10: reset full-speed USB device number 5 using xhci_hcd [ 2435.148685] nvidia-modeset: nvidia-modeset: ACPI reported no NVIDIA native backlight available; attempting to use ACPI backlight. [ 2435.166809] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915]) [ 2435.167325] OOM killer enabled. [ 2435.167327] Restarting tasks … [ 2435.167506] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915]) [ 2435.169543] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852 [ 2435.170536] Bluetooth: hci0: RTL: rom_version status=0 version=1 [ 2435.170541] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_fw.bin [ 2435.170642] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_config.bin [ 2435.170671] Bluetooth: hci0: RTL: cfg_sz 6, total sz 58003 [ 2435.176158] done. [ 2435.176165] random: crng reseeded on system resumption [ 2435.180778] PM: suspend exit [ 2435.335742] Generic FE-GE Realtek PHY r8169-0-3700:00: attached PHY driver (mii_bus:phy_addr=r8169-0-3700:00, irq=MAC) [ 2435.463533] Bluetooth: hci0: RTL: fw version 0xdbc6b20f [ 2435.495790] r8169 0000:37:00.0 enp55s0: Link is Down [ 2435.547553] Bluetooth: hci0: AOSP extensions version v1.00 [ 2435.547560] Bluetooth: hci0: AOSP quality report is supported [ 2435.547688] Bluetooth: MGMT ver 1.23 [ 2435.566665] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2435.586691] rtw89_8852be 0000:38:00.0: mac init fail, ret:-110 [ 2435.658698] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2435.679686] rtw89_8852be 0000:38:00.0: mac init fail, ret:-110 [ 2435.750715] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2435.771643] rtw89_8852be 0000:38:00.0: mac init fail, ret:-110 [ 2445.613749] rtw89_8852be 0000:38:00.0: xtal si not ready(W): offset=90 val=10 mask=10 [ 2445.634583] rtw89_8852be 0000:38:00.0:
There are some aspm states you can try disabling on your wifi card and see if it helps, more info here:
github.com/lwfinger/rtw89/issues/8
edit - direct link to possible solution:
github.com/lwfinger/rtw89/issues/8#issuecomment-1…
Are you using swap? If yes how much? It is recommended to use 1.5x your installed RAM if you want to use hibernation or suspension.
Here is some reasoning from redhat.
You don’t need any swap space for suspend to work
True, but i had similar problems in the past. I had 32GB RAM and when suspending it took years to boot and one day it didn’t boot at all. A second hard drive with 50GB swap solved that problem for me.
Did updating your \etc\modprobe.d\ help?
Not really :(