You are not logged in.

#1 2024-11-24 15:19:23

orangecza
Member
Registered: 2024-11-24
Posts: 3

Linux 6.12.1 won't wake up after suspend.

AMD 7600X with MSI B360 motherboard

sudo journalctl with linux 6.12.1:

systemd[1]: Starting System Suspend...
systemd-sleep[281]: Successfully froze unit 'user.slice'.
systemd-sleep[281]: Performing sleep operation 'suspend'...
kernel: PM: suspend entry (deep)

(No more journal. The whole system goes into sleep, and it never wakes up.)

sudo journalctl with linux-lts 6.6.63:

systemd[1]: Starting System Suspend...
systemd-sleep[6165]: Successfully froze unit 'user.slice'.
systemd-sleep[6165]: Performing sleep operation 'suspend'...
kernel: PM: suspend entry (deep)
kernel: Filesystems sync: 0.029 seconds
kernel: Freezing user space processes
kernel: Freezing user space processes completed (elapsed 0.001 seconds)
kernel: OOM killer disabled.
kernel: Freezing remaining freezable tasks
kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
kernel: printk: Suspending console(s) (use no_console_suspend to debug)
kernel: ACPI: PM: Preparing to enter system sleep state S3
kernel: ACPI: PM: Saving platform NVS memory
kernel: Disabling non-boot CPUs ...
kernel: smpboot: CPU 1 is now offline
kernel: smpboot: CPU 2 is now offline
kernel: smpboot: CPU 3 is now offline
kernel: smpboot: CPU 4 is now offline
kernel: smpboot: CPU 5 is now offline
kernel: smpboot: CPU 6 is now offline
kernel: smpboot: CPU 7 is now offline
kernel: smpboot: CPU 8 is now offline
kernel: smpboot: CPU 9 is now offline
kernel: smpboot: CPU 10 is now offline
kernel: smpboot: CPU 11 is now offline

Does Linux 6.12.1 have bugs on suspend?

Offline

#2 2024-11-24 15:27:52

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 23
Website

Re: Linux 6.12.1 won't wake up after suspend.

Same issue here

Had the issue with Fedora 41 too on the latest kernels, switched to Arch because of that, it stopped working now...

Operating System: Arch Linux
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.12.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 62.4 GiB of RAM
Graphics Processor: AMD Radeon RX 7800 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D70
System Version: 1.0

```
Nov 24 16:22:08 archbox systemd[1]: Reached target Sleep.
Nov 24 16:22:08 archbox systemd[1]: Starting System Suspend...
Nov 24 16:22:08 archbox systemd-sleep[2317]: Successfully froze unit 'user.slice'.
Nov 24 16:22:08 archbox systemd-sleep[2317]: Performing sleep operation 'suspend'...
Nov 24 16:22:08 archbox kernel: PM: suspend entry (deep)
```

For me it rebooted after trying to wake up, the KDE lockscreen also appeared but then everything locked up.

Offline

#3 2024-11-24 15:47:22

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 23
Website

Re: Linux 6.12.1 won't wake up after suspend.

Okay so, I tried something. I disabled the bluetooth service (sudo systemctl disable bluetooth --now), and now sleep works again.

Can you check if you also have Bluetooth enabled?

Offline

#4 2024-11-24 16:53:38

Enjoyer1560
Member
Registered: 2024-11-24
Posts: 2

Re: Linux 6.12.1 won't wake up after suspend.

I have two Lenovo ThinkPad E14 AMD G4 which only differ in their Wifi/Bluetooth-card. One is affected by this, the other isn't. I can confirm that stopping `bluetooth.service` is a work-around for this issue.

This is the *unaffected* card:

```
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Subsystem: Lenovo Device 4853
        Physical Slot: 0
        Flags: bus master, fast devsel, latency 0, IRQ 72, IOMMU group 11
        I/O ports at 2000 [size=256]
        Memory at fd400000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, IntMsgNum 0
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-88-52-01
        Capabilities: [158] Latency Tolerance Reporting
        Capabilities: [160] L1 PM Substates
        Kernel driver in use: rtw89_8852be
        Kernel modules: rtw89_8852be
```

This is the *affected* card:

```
03:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
        Subsystem: Lenovo Device e0bc
        Physical Slot: 0
        Flags: bus master, fast devsel, latency 0, IRQ 73, IOMMU group 11
        Memory at 470200000 (64-bit, prefetchable) [size=1M]
        Memory at 470300000 (64-bit, prefetchable) [size=16K]
        Memory at 470304000 (64-bit, prefetchable) [size=4K]
        Capabilities: [80] Express Endpoint, IntMsgNum 0
        Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+
        Capabilities: [f8] Power Management version 3
        Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
        Capabilities: [108] Latency Tolerance Reporting
        Capabilities: [110] L1 PM Substates
        Capabilities: [200] Advanced Error Reporting
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e
```

After searching the forums, this comes up with a possible fix: https://bbs.archlinux.org/viewtopic.php?id=295916

Edit: The second solution from https://github.com/alimert-t/suspend-fr … or-mt7921e seems like a good automation for the work-around in my case (first solution did not work).

Last edited by Enjoyer1560 (2024-11-24 17:11:03)

Offline

#5 2024-11-24 17:02:54

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 23
Website

Re: Linux 6.12.1 won't wake up after suspend.

Yep, I have an AMD/Mediatek one

Also having the MT7921e driver loaded

❯ lsmod | grep mt7921e
mt7921e                24576  0
mt7921_common          94208  1 mt7921e
mt792x_lib             69632  2 mt7921e,mt7921_common
mt76_connac_lib        94208  3 mt792x_lib,mt7921e,mt7921_common
mt76                  135168  4 mt792x_lib,mt7921e,mt7921_common,mt76_connac_lib

Last edited by matteodev (2024-11-24 17:12:30)

Offline

#6 2024-11-24 17:11:48

Enjoyer1560
Member
Registered: 2024-11-24
Posts: 2

Re: Linux 6.12.1 won't wake up after suspend.

I edited my post with a possible workaround (not my idea),

Offline

#7 2024-11-24 21:46:46

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 715
Website

Re: Linux 6.12.1 won't wake up after suspend.

So which was the last version that still worked for you? Was it one of the 6.11.9 series or one even before that?

Offline

#8 2024-11-25 17:34:07

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 23
Website

Re: Linux 6.12.1 won't wake up after suspend.

Before 6.11.9 (On Fedora at least), it might be one of the early 6.11 ones

Offline

#9 2024-11-25 17:40:24

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 715
Website

Re: Linux 6.12.1 won't wake up after suspend.

Could you verify this by installing the latest version out of the 6.10 series?

sudo pacman -U https://archive.archlinux.org/packages/l/linux/linux-6.10.arch1-2-x86_64.pkg.tar.zst

Offline

Board footer

Powered by FluxBB