linux-surface / linux-surface

Linux Kernel for Surface Devices
4.53k stars 202 forks source link

surface go 2 battery drains fast while suspended #1386

Open littlepluma opened 2 months ago

littlepluma commented 2 months ago

[Description of the bug or feature]

Environment

dmesg

[264724.913781] PM: suspend entry (s2idle) [264725.114695] Filesystems sync: 0.200 seconds [264725.334784] Freezing user space processes [264725.338425] Freezing user space processes completed (elapsed 0.003 seconds) [264725.338433] OOM killer disabled. [264725.338435] Freezing remaining freezable tasks [264725.339910] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [264725.339916] printk: Suspending console(s) (use no_console_suspend to debug) [264733.679063] xhci_hcd 0000:00:14.0: USB core suspending port 1-7 not in U0/U1/U2 [264733.709861] ACPI: EC: interrupt blocked [264733.713543] intel_pch_thermal 0000:00:14.2: CPU-PCH is cool [37C] [274511.662921] ACPI: EC: interrupt unblocked [274514.014625] usb 1-7: reset full-speed USB device number 3 using xhci_hcd [274514.426153] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcpops [i915]) [274514.426768] OOM killer enabled. [274514.426775] Restarting tasks ... done. [274514.440229] random: crng reseeded on system resumption [274514.466245] PM: suspend exit [274518.399466] PM: suspend entry (s2idle) [274518.412613] Filesystems sync: 0.013 seconds [274518.531115] Freezing user space processes [274538.542897] Freezing user space processes failed after 20.011 seconds (1 tasks refusing to freeze, wq_busy=0): [274538.543255] task:JITWorker state:D stack:0 pid:30201 tgid:16303 ppid:4147 flags:0x00000006_ [274538.543286] Call Trace: [274538.543294] [274538.543312] schedule+0x3dd/0x14b0 [274538.543358] ? fuse_simple_background+0xea/0x150 [fuse 1d2962752be4672a3cb8a342d6172a5f431b2ba5] [274538.543439] ? fuse_readahead+0x42e/0x4d0 [fuse 1d2962752be4672a3cb8a342d6172a5f431b2ba5] [274538.543529] schedule+0x32/0xd0 [274538.543554] io_schedule+0x46/0x70 [274538.543577] folio_wait_bit_common+0x115/0x300 [274538.543607] ? pfx_wake_page_function+0x10/0x10 [274538.543630] filemap_fault+0xef/0xb90 [274538.543666] do_fault+0x30/0x130 [274538.543690] do_fault+0x25c/0x460 [274538.543713] __handle_mm_fault+0x77f/0xdb0 [274538.543729] ? set_next_entity+0xd0/0x190 [274538.543763] handle_mm_fault+0x17f/0x360 [274538.543780] do_user_addr_fault+0x15b/0x670 [274538.543939] exc_page_fault+0x71/0x160 [274538.543959] asm_exc_page_fault+0x26/0x30 [274538.543981] RIP: 0033:0x7fe0ecc8bb3b [274538.544097] RSP: 002b:00007fe04ddfd7b0 EFLAGS: 00010206 [274538.544113] RAX: 00007fe04ddfdb60 RBX: 00007fe04ddfdda8 RCX: 00007fc60020ef60 [274538.544124] RDX: ffff8039ffdf109f RSI: 00007fe0ee0b42ff RDI: 0000000000000005 [274538.544135] RBP: 00007fe09953b320 R08: 00007fe0ddeb4400 R09: 0000000000000001 [274538.544144] R10: 00007fe0ddeb4480 R11: 0000000000000000 R12: 00007fe04ddfdb50 [274538.544152] R13: 00007fe0dd0ac560 R14: 0000000000000008 R15: 00007fe0ddeb4480 [274538.544216] [274538.545014] OOM killer enabled. [274538.545020] Restarting tasks ... done. [274538.550921] random: crng reseeded on system resumption [274538.684880] PM: suspend exit [274538.685021] PM: suspend entry (s2idle) [274538.700416] Filesystems sync: 0.015 seconds [274538.702986] Freezing user space processes [_274558.705472] Freezing user space processes failed after 20.002 seconds (1 tasks refusing to freeze, wqbusy=0): [274558.705831] task:JITWorker state:D stack:0 pid:30201 tgid:16303 ppid:4147 flags:0x00000006 [274558.705863] Call Trace: [274558.705871] [274558.705889] schedule+0x3dd/0x14b0 [274558.705936] ? fuse_simple_background+0xea/0x150 [fuse 1d2962752be4672a3cb8a342d6172a5f431b2ba5] [274558.706018] ? fuse_readahead+0x42e/0x4d0 [fuse 1d2962752be4672a3cb8a342d6172a5f431b2ba5] [274558.706110] schedule+0x32/0xd0 [274558.706135] io_schedule+0x46/0x70 [274558.706158] folio_wait_bit_common+0x115/0x300 [274558.706189] ? pfx_wake_page_function+0x10/0x10 [274558.706212] filemap_fault+0xef/0xb90 [274558.706249] do_fault+0x30/0x130 [274558.706274] do_fault+0x25c/0x460 [274558.706297] __handle_mm_fault+0x77f/0xdb0 [274558.706313] ? set_next_entity+0xd0/0x190 [274558.706348] handle_mm_fault+0x17f/0x360 [274558.706365] do_user_addr_fault+0x15b/0x670 [274558.706392] exc_page_fault+0x71/0x160 [274558.706410] asm_exc_page_fault+0x26/0x30 [274558.706432] RIP: 0033:0x7fe0ecc8bb3b [274558.706551] RSP: 002b:00007fe04ddfd7b0 EFLAGS: 00010206 [274558.706567] RAX: 00007fe04ddfdb60 RBX: 00007fe04ddfdda8 RCX: 00007fc60020ef60 [274558.706577] RDX: ffff8039ffdf109f RSI: 00007fe0ee0b42ff RDI: 0000000000000005 [274558.706588] RBP: 00007fe09953b320 R08: 00007fe0ddeb4400 R09: 0000000000000001 [274558.706597] R10: 00007fe0ddeb4480 R11: 0000000000000000 R12: 00007fe04ddfdb50 [274558.706607] R13: 00007fe0dd0ac560 R14: 0000000000000008 R15: 00007fe0ddeb4480 [274558.706633] [274558.707439] OOM killer enabled. [274558.707445] Restarting tasks ... done. [274558.709626] random: crng reseeded on system resumption [274558.838885] PM: suspend exit [274562.529841] wlp1s0: 80 MHz not supported, disabling VHT [274562.541885] wlp1s0: authenticate with a4:39:b3:72:0a:ca (local address=44:af:28:4e:3b:30) [274562.542880] wlp1s0: send auth to a4:39:b3:72:0a:ca (try 1/3) [274562.574249] wlp1s0: authenticated [274562.574713] wlp1s0: associate with a4:39:b3:72:0a:ca (try 1/3) [274562.628039] wlp1s0: RX AssocResp from a4:39:b3:72:0a:ca (capab=0x1431 status=0 aid=1) [274562.644911] wlp1s0: associated [274562.682383] wlp1s0: Limiting TX power to 27 (27 - 0) dBm as advertised by a4:39:b3:72:0a:ca [274866.624153] wlp1s0: disconnect from AP a4:39:b3:72:0a:ca for new auth to a4:39:b3:72:0a:cb [274866.715995] wlp1s0: authenticate with a4:39:b3:72:0a:cb (local address=44:af:28:4e:3b:30) [274866.717274] wlp1s0: send auth to a4:39:b3:72:0a:cb (try 1/3) [274866.757977] wlp1s0: authenticated [274866.764360] wlp1s0: associate with a4:39:b3:72:0a:cb (try 1/3) [274866.766415] wlp1s0: RX ReassocResp from a4:39:b3:72:0a:cb (capab=0x1931 status=0 aid=10) [274866.808851] wlp1s0: associated [274866.809187] wlp1s0: Limiting TX power to 30 (30 - 0) dBm as advertised by a4:39:b3:72:0a:cb [276120.404477] wlp1s0: deauthenticating from a4:39:b3:72:0a:cb by local choice (Reason: 3=DEAUTH_LEAVING) [276121.296841] PM: suspend entry (s2idle) [276121.486067] Filesystems sync: 0.189 seconds [276121.696998] Freezing user space processes [276121.700747] Freezing user space processes completed (elapsed 0.003 seconds) [276121.700757] OOM killer disabled. [276121.700759] Freezing remaining freezable tasks [276121.702221] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [276121.702227] printk: Suspending console(s) (use no_consolesuspend to debug) [276131.801641] hid-multitouch 0003:045E:09B5.0007: usb_submit_urb(ctrl) failed: -1 [276131.801715] usbhid 1-7:1.3: suspend error -5_ [276131.865433] ACPI: EC: interrupt blocked [276131.870114] intel_pch_thermal 0000:00:14.2: CPU-PCH is cool [30C] [276361.413020] ACPI: EC: interrupt unblocked [276362.116793] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915]) [276362.117628] OOM killer enabled. [276362.117635] Restarting tasks ... done. [276362.141070] random: crng reseeded on system resumption [276362.176134] PM: suspend exit [276366.205728] wlp1s0: 80 MHz not supported, disabling VHT [276366.217285] wlp1s0: authenticate with a4:39:b3:72:0a:ca (local address=44:af:28:4e:3b:30) [276366.218278] wlp1s0: send auth to a4:39:b3:72:0a:ca (try 1/3) [276366.254583] wlp1s0: authenticated [276366.257707] wlp1s0: associate with a4:39:b3:72:0a:ca (try 1/3) [276366.311048] wlp1s0: RX AssocResp from a4:39:b3:72:0a:ca (capab=0x1431 status=0 aid=1) [276366.327768] wlp1s0: associated [276366.376952] wlp1s0: Limiting TX power to 27 (27 - 0) dBm as advertised by a4:39:b3:72:0a:ca [276573.142228] systemd-journald[532]: Time jumped backwards, rotating. [276583.904964] wlp1s0: deauthenticating from a4:39:b3:72:0a:ca by local choice (Reason: 3=DEAUTH_LEAVING) [276586.207756] PM: suspend entry (s2idle) [276586.212760] Filesystems sync: 0.004 seconds [276586.438398] Freezing user space processes [276586.440280] Freezing user space processes completed (elapsed 0.001 seconds) [276586.440289] OOM killer disabled. [276586.440291] Freezing remaining freezable tasks [276586.441735] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [276586.441740] printk: Suspending console(s) (use no_consolesuspend to debug) [276596.612505] usbhid 1-7:1.3: suspend error -5_ [276596.677213] ACPI: EC: interrupt blocked [276596.681198] intel_pch_thermal 0000:00:14.2: CPU-PCH is cool [31C] [276690.990424] ACPI: EC: interrupt unblocked [276691.698853] OOM killer enabled. [276691.698861] Restarting tasks ... [276691.698874] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915]) [276691.711211] done. [276691.711278] random: crng reseeded on system resumption [276691.748180] PM: suspend exit [276695.548018] wlp1s0: 80 MHz not supported, disabling VHT [276695.563815] wlp1s0: authenticate with a4:39:b3:72:0a:ca (local address=44:af:28:4e:3b:30) [276695.565021] wlp1s0: send auth to a4:39:b3:72:0a:ca (try 1/3) [276695.601083] wlp1s0: authenticated [276695.603183] wlp1s0: associate with a4:39:b3:72:0a:ca (try 1/3) [276695.657026] wlp1s0: RX AssocResp from a4:39:b3:72:0a:ca (capab=0x1431 status=0 aid=1) [276695.689564] wlp1s0: associated [276695.804274] wlp1s0: Limiting TX power to 27 (27 - 0) dBm as advertised by a4:39:b3:72:0a:ca

Suspend not working properly. Battery drains fast while suspended.

FuzzyExpress commented 1 month ago

I have this issue too! It'll be fully charged, I use 40-70% battery doing whatever then close the lid. When I open it the next day it'll be so dead that it doesn't even show the empty battery boot fail screen. I can't tell you how many times this happens, but almost every time I use it and don't press shutdown before closing the lid: it dies over night. I'm running Kubuntu 23.10 OS: Kubuntu 23.10 x86_64 Host: Surface Go 3 124I:00074T:000M:0300000D:0B:06F:6C:09P:38S:01E:0Y:0L:0 Kernel: 6.7.2-surface-1

[  527.181126] process '/usr/bin/anydesk' started with executable stack
[  527.700789] pcieport 0000:00:1c.3: Intel SPT PCH root port ACS workaround enabled
[ 1055.816902] pcieport 0000:00:1c.3: Intel SPT PCH root port ACS workaround enabled
# close lid
[ 1481.336210] wlp1s0: deauthenticating from b0:2a:43:e6:d4:25 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1482.283888] PM: suspend entry (s2idle)
[ 1482.289916] Filesystems sync: 0.006 seconds
[ 1482.324702] Freezing user space processes
[ 1482.326898] Freezing user space processes completed (elapsed 0.002 seconds)
[ 1482.326901] OOM killer disabled.
[ 1482.326902] Freezing remaining freezable tasks
[ 1482.328042] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 1482.328045] printk: Suspending console(s) (use no_console_suspend to debug)
[ 1482.703668] pcieport 0000:00:1c.3: Intel SPT PCH root port ACS workaround enabled
[ 1482.972281] ACPI: EC: interrupt blocked
[ 1482.975031] intel_pch_thermal 0000:00:14.2: CPU-PCH is cool [45C]
[ 1492.863608] ACPI: EC: interrupt unblocked
[ 1492.875177] pcieport 0000:00:1c.0: Intel SPT PCH root port ACS workaround enabled
[ 1492.875178] pcieport 0000:00:1c.3: Intel SPT PCH root port ACS workaround enabled
[ 1492.891651] pcieport 0000:00:1c.6: Intel SPT PCH root port ACS workaround enabled
[ 1493.186243] OOM killer enabled.
[ 1493.186246] Restarting tasks ... 
[ 1493.187673] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[ 1493.191106] done.
[ 1493.191125] random: crng reseeded on system resumption
[ 1493.191140] thermal thermal_zone1: failed to read out thermal zone (-61)
[ 1493.212742] PM: suspend exit
[ 1497.303533] wlp1s0: authenticate with b0:2a:43:e6:d4:25 (local address=f0:77:c3:0c:60:b6)
[ 1497.304223] wlp1s0: send auth to b0:2a:43:e6:d4:25 (try 1/3)
[ 1497.339142] wlp1s0: authenticated
[ 1497.342819] wlp1s0: associate with b0:2a:43:e6:d4:25 (try 1/3)
[ 1497.347974] wlp1s0: RX AssocResp from b0:2a:43:e6:d4:25 (capab=0x1011 status=0 aid=3)
[ 1497.380175] wlp1s0: associated
[ 1497.454377] wlp1s0: Limiting TX power to 30 (30 - 0) dBm as advertised by b0:2a:43:e6:d4:25

I saw it mentioned in https://github.com/linux-surface/linux-surface/issues/1227 that a firmware update might work, I'm going to try that and see if it changes anything. Edit: Firmware installed, I think, 2 of them gave some error about no suitable device, or something like that.

E2: No change. rest in peices, or dead battery I guess?