You are not logged in.

#1 2025-11-08 22:30:44

Tharbad
Member
Registered: 2016-02-27
Posts: 326

PC wakes from suspend prematurely

Hi,

In the last 2 weeks my desktop PC woke from suspend after a few hours. haven't changed any hardware.
PC should wake up only when I press the power button.

I've looked in the wiki:
* cat /proc/acpi/wakeup says only BXBR is enabled. I'm quiet sure it's the power button.
* I run

 sudo dmidecode -t system | grep -P '\tWake-up Type\: ' 

on 2 of the 3 times. It's

 Wake-up Type: PCI PME# 

I googled:
*  And found this: https://bbs.archlinux.org/viewtopic.php … 6#p2040926
* Where seth tells to add

pcie_port_pm=off pcie_pme=nomsi 

* I searched again and found this: https://askubuntu.com/questions/1104219 … nomsi-mean and I don't understand how that solution can help

Kernel is zen. Didn't update in the last month.

kernel boot options:

options root=PARTUUID=4006b234-5749-4544-a963-1e57e55b0551 rw lsm=landlock,lockdown,yama,bpf processor.max_cstate=1 nvidia-drm.modeset=1

Also noticed that when in suspend computer doesn't turn off, fan still work.
I assume it's part of suspending to ram?


So here I am asking for help.

Offline

#2 2025-11-08 22:58:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: PC wakes from suspend prematurely

cat /proc/acpi/wakeup says only BXBR is enabled. I'm quiet sure it's the power button

Please post the file as well as "lspci -nn"

I don't understand how that solution can help

The ubuntu thread talks about the unrelated "pci=noaer" and "pci=nomsi"
https://raw.githubusercontent.com/torva … meters.txt

pcie_port_pm=    [PCIE] PCIe port power management handling:
        off    Disable power management of all PCIe ports
        force    Forcibly enable power management of all PCIe ports

    pcie_pme=    [PCIE,PM] Native PCIe PME signaling options:
        nomsi    Do not use MSI for native PCIe PME signaling (this makes
            all PCIe root ports use INTx for all services).

Whether that's the case here or there IDK, there's a link at the end to another thread where the BIOS needed to be conviced that it's totally running windows.

on 2 of the 3 times

What's the other time?

* I run

Does the journal record any reason for the wakeup?

Ceterum censeo: If there's a parallel windows, see the 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

#3 2025-11-08 23:17:00

Tharbad
Member
Registered: 2016-02-27
Posts: 326

Re: PC wakes from suspend prematurely

cat /proc/acpi/wakeup

Device	S-state	 Status   Sysfs node
GPP0	 S4	*disabled  pci:0000:00:01.1
GPP2	 S4	*disabled
GPP3	 S4	*disabled
GPP4	 S4	*disabled
GPP5	 S4	*disabled
GPP6	 S4	*disabled
GPP7	 S4	*disabled
GPP8	 S4	*disabled  pci:0000:00:03.1
GPP9	 S4	*disabled
GPPA	 S4	*disabled
GPPB	 S4	*disabled
GPPC	 S4	*disabled
GPPD	 S4	*disabled
GPPE	 S4	*disabled
GPPF	 S4	*disabled
GP10	 S4	*disabled
GP11	 S4	*disabled
GP12	 S4	*disabled  pci:0000:00:07.1
GP13	 S4	*disabled  pci:0000:00:08.1
XHC0	 S4	*disabled  pci:0000:0d:00.3
GP30	 S4	*disabled
GP31	 S4	*disabled
PS2K	 S3	*disabled
BXBR	 S4	*enabled   pci:0000:00:01.2

1 out 3: Didn't check. Can't tell.

No windows. Blasphemy smile

Nothing i journal, just a normal wakeup. Looked after the 2nd time only.
Will look again if it happens again.

lspci -nn:

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0 [1022:1440]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1 [1022:1441]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2 [1022:1442]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3 [1022:1443]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4 [1022:1444]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5 [1022:1445]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6 [1022:1446]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7 [1022:1447]
01:00.0 Non-Volatile memory controller [0108]: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive [1cc1:8201] (rev 03)
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream [1022:57ad]
03:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
03:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
03:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
03:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
03:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a4]
03:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a4]
03:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a4]
04:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller [1b4b:9215] (rev 11)
05:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
06:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
08:00.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
08:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
09:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
0a:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD103 [GeForce RTX 4070 Ti SUPER] [10de:2705] (rev a1)
0b:00.1 Audio device [0403]: NVIDIA Corporation AD103 High Definition Audio Controller [10de:22bb] (rev a1)
0c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
0d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
0d:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
0d:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
0d:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]

will add that line to kernel boot.

Offline

#4 2025-11-09 08:24:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: PC wakes from suspend prematurely

00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]

If you disable the event, does the power button indeed no longer allow you to wake the system?
(You could enable XHC0 and PS2K to allow you to wake the system still)

Offline

#5 2025-11-09 19:01:12

Tharbad
Member
Registered: 2016-02-27
Posts: 326

Re: PC wakes from suspend prematurely

seth wrote:
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]

If you disable the event, does the power button indeed no longer allow you to wake the system?
(You could enable XHC0 and PS2K to allow you to wake the system still)

I can try but it's not optimal, the mouse is moved and keyboard is touched when the pc is off.
That's why I disabled both of them.

Offline

#6 2025-11-09 19:24:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: PC wakes from suspend prematurely

They're just meant as backup in case BXBR actually controls the power button - it's enough to enable them, disable BXBR, suspend and see whether you can still wake w/ the power button.
If yes, you could disable BXBR as well.

Offline

#7 2025-11-09 21:30:38

Tharbad
Member
Registered: 2016-02-27
Posts: 326

Re: PC wakes from suspend prematurely

seth wrote:

They're just meant as backup in case BXBR actually controls the power button - it's enough to enable them, disable BXBR, suspend and see whether you can still wake w/ the power button.
If yes, you could disable BXBR as well.

Ah. Will report

Offline

#8 2025-11-12 02:28:46

Tharbad
Member
Registered: 2016-02-27
Posts: 326

Re: PC wakes from suspend prematurely

Tharbad wrote:
seth wrote:

They're just meant as backup in case BXBR actually controls the power button - it's enough to enable them, disable BXBR, suspend and see whether you can still wake w/ the power button.
If yes, you could disable BXBR as well.

Ah. Will report

BXBR isn't the power button. Will disable it. Tempfiles?

Offline

#9 2025-11-12 08:24:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: PC wakes from suspend prematurely

https://wiki.archlinux.org/title/System … rary_files is a way to automatically set this but pay attention whether the value gets reset w/ wakeups.

Offline

Board footer

Powered by FluxBB