Bug 215552

Summary: First suspend after boot always fails on HP Pavilion 15-ec1096nf
Product: Power Management Reporter: Christian Casteyde (casteyde.christian)
Component: Hibernation/SuspendAssignee: Rafael J. Wysocki (rjw)
Status: NEEDINFO ---    
Severity: normal CC: rui.zhang
Priority: P1    
Hardware: AMD   
OS: Linux   
Kernel Version: all Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci output
lsusb output
dmesg after first suspend request
dmesg after 2nd suspend and resume

Description Christian Casteyde 2022-01-30 21:29:06 UTC
HP Pavilion 15-ec1096 series
AMD Ryzen 5 4600H
NVidia GTX 1650 Ti
Internal SSD nvme + additional SSD

On this laptop, the first suspend request after boot always fails.
It works on second try (ie: if I close the lid, the laptop blanks the screen but does not suspend, I have to reopen the lid and reclose it to get it really suspend).
This fails either with vanilla kernel and with kernel + acpi_call module used to stop the NVidia card which otherwise drains 16mA even if not used.

Appended lspci, lsusb, dmesg output for first and second try (with debug options activated).
Comment 1 Christian Casteyde 2022-01-30 21:29:39 UTC
Created attachment 300356 [details]
lspci output
Comment 2 Christian Casteyde 2022-01-30 21:29:56 UTC
Created attachment 300357 [details]
lsusb output
Comment 3 Christian Casteyde 2022-01-30 21:30:30 UTC
Created attachment 300358 [details]
dmesg after first suspend request
Comment 4 Christian Casteyde 2022-01-30 21:30:56 UTC
Created attachment 300359 [details]
dmesg after 2nd suspend and resume
Comment 5 Artem S. Tashkinov 2022-02-01 10:57:33 UTC
1. Has this ever worked? If it has, git bisect could be your best option of finding the culprit: https://ldpreload.com/blog/git-bisect-run

2. Is this reproducible without NVIDIA kernel modules being loaded?
Comment 6 Christian Casteyde 2022-02-01 18:23:26 UTC
1. The laptop is quite new and I don't remember of it having worked correctly.
This is not a regression;
2. The NVIDIA driver is not installed (not compatible with my X.org version, I'm running Slackware 14.2), neither nouveau (doesn't  work either). I don't use the dGPU of this laptop.