You are not logged in.

#1 2024-08-17 21:04:33

drkoma
Member
Registered: 2022-12-18
Posts: 25

Unable to wake from systemctl suspend

Im not experienced in debugging this issue.


I have followed the wiki about nvidia. I have a Magnus ZOTAC Tower and I can't get the computer back from sleep

nvidia              61005824  179 nvidia_uvm,nvidia_modeset\
Linux omega 6.10.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 15 Aug 2024 00:25:30 +0000 x86_64 GNU/Linux


NVIDIA GeForce GTX 1080        Off 
NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5   

$ lspci -k | grep -A 2 -E "(VGA|3D)"
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1080 Mobile] (rev a1)
	Subsystem: ZOTAC International (MCO) Ltd. Device 1442
	Kernel driver in use: nvidia

$ cat /sys/module/nvidia_drm/parameters/modeset
Y

$ cat /etc/modprobe.d/nvidia.conf
options nvidia_drm modeset=1 fbdev=1

dmesg shows a lot of

[  434.898361] pcieport 0000:00:1c.6: AER: Correctable error message received from 0000:00:1c.6
[  434.898378] pcieport 0000:00:1c.6: PCIe Bus Error: severity=Correctable, type=Physical Layer, (Receiver ID)
[  434.898383] pcieport 0000:00:1c.6:   device [8086:a116] error status/mask=00000001/00002000
[  434.898388] pcieport 0000:00:1c.6:    [ 0] RxErr                  (First)

but dont know if relevant.

Im not really sure how to debug further or where to look

Offline

#2 2024-08-17 21:49:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,169

Re: Unable to wake from systemctl suspend

Did it work before configuring nvidia?
https://bbs.archlinux.org/viewtopic.php … 1#p2187361

Are all the bus errors on the same bus/device (which isn't your GPU)?
Does "pcie_aspm=off" make those errors go away, https://wiki.archlinux.org/title/Kernel_parameters ?
Does it have any impact on the sleep behavior?

nvme's tend to flare up, https://wiki.archlinux.org/title/Solid_ … leshooting

Ceterum censeo: is there a parallel windows installation?

While that's certainly a pretty case (like a mini version of the Aluminium G5 mac) it doesn't tell much about the actual hardware - if nothing of the above fixes it, please post your complete system journal for a general oversight:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Generally debugging wakeup failures sucks, because you don't get any information as to what happened after the system went to sleep.

Online

#3 2024-08-17 22:45:11

drkoma
Member
Registered: 2022-12-18
Posts: 25

Re: Unable to wake from systemctl suspend

seth wrote:

Did it work before configuring nvidia?

That would have been the way to try properly but unfortunately didn't even try to suspend and made the installation in one sitting with everything planed in mind from scratch.

seth wrote:

Are all the bus errors on the same bus/device

yup , almost exact copies of that one , but I will provide more logs. I grepped for any other possible errors but didnt see much meaningful information , at last for an untrained eye.

seth wrote:

Ceterum censeo: is there a parallel windows installation?

Thats the case, yes. I installed first arch and then windows with a typical grub dual boot. And a separated linux SWAP partition  ( forgot to show lsblk)

seth wrote:

Generally debugging wakeup failures sucks, because you don't get any information as to what happened after the system went to sleep.

oups , sounds like the worst paradigm to debug, unless I come up with some scripted way to sleep and wake up after -n seconds

I will provide more updates according to your instructions tomorrow, thanks!

Offline

#4 2024-08-17 22:53:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,169

Re: Unable to wake from systemctl suspend

Thats the case, yes.

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Online

#5 2024-08-22 19:43:28

drkoma
Member
Registered: 2022-12-18
Posts: 25

Re: Unable to wake from systemctl suspend

Revised that and confirmed that Ive already disabled fast boot.

Will post journal output soon

Last edited by drkoma (2024-08-22 19:44:18)

Offline

#6 2024-08-22 21:09:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,169

Re: Unable to wake from systemctl suspend

nb. that "fast boot" (setting in your BIOS/UEFI) and "fast start" (windows defaulting to hibernation to pretend that it can start fast-ish) are NOT the same. The setting in your BIOS/UEFI is irrelevant here.

Online

#7 2024-08-23 08:24:51

drkoma
Member
Registered: 2022-12-18
Posts: 25

Re: Unable to wake from systemctl suspend

I understand that difference , and I never mentioned the BIOS setting but the windows settings. Followed all the arch wiki suggestions and the powershell command and double checked the windows registry , it was already disabled since this wasnt my first dual boot ride

sudo journalctl -b | curl -F 'file=@-' 0x0.st

http://0x0.st/XypL.txt

Offline

#8 2024-08-23 08:28:17

drkoma
Member
Registered: 2022-12-18
Posts: 25

Re: Unable to wake from systemctl suspend

this is right after a hard reboot after a failed wake from suspend
http://0x0.st/Xyp9.txt

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931.5G  0 disk
└─sda1        8:1    0 931.5G  0 part
sdb           8:16   1     0B  0 disk
nvme0n1     259:0    0 238.5G  0 disk
├─nvme0n1p1 259:1    0   954M  0 part /boot
├─nvme0n1p2 259:2    0   7.5G  0 part [SWAP]
├─nvme0n1p3 259:3    0 130.4G  0 part /
├─nvme0n1p4 259:4    0    16M  0 part
└─nvme0n1p5 259:5    0  99.7G  0 part

Offline

#9 2024-08-23 13:18:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,169

Re: Unable to wake from systemctl suspend

Next to the nvidia situation (try the 535xx drivers from the AUR) there's  a shit-ton of PCI errors, see whether they go away when passing "pcie_aspm=off" to the https://wiki.archlinux.org/title/Kernel_parameters - and whether that has any impact on the sleep situation.

It seems to affect only 0000:00:1c.6

lspci -tvnn

nvme's are frequently causing trouble because fo APST and IOMMU, see https://wiki.archlinux.org/title/Solid_ … leshooting

Ftr, users on this board conflate "fast boot" and "fast start" (again, notice the slight term distinction) all the time and you were using the term for the BIOS feature, so I'd better be safe than d'ohh wink

Online

#10 2024-10-09 08:27:24

drkoma
Member
Registered: 2022-12-18
Posts: 25

Re: Unable to wake from systemctl suspend

Could not really solve this unfortunately. I will be trying with a fresh install from scratch

Offline

Board footer

Powered by FluxBB