Laptop will not resume on battery screen stays black

Problem

When running F37 & F38 (upgrade did not change anything) my laptop (Lenovo Legion 7) will not resume from standby on battery. The keyboard and fans will spin up but the backlight on the display does not come back on. Plugged into the wall it seams to resume with no issues.

Cause

Trying to resume on battery, the display does not turn back on.

Hardware (lspci)

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: SK hynix Gold P31/PC711 NVMe Solid State Drive
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
04:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
06:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)

Related Issues

Bugzilla report: #2148809

Workarounds

None yet.

1 Like

Hi @sonata-5005 . Suspend issues are extremely frequent and very hard to debug. Unless we have a good way of determining that an unusually wide range of hardware is affected (and we can be specific about which ones), this is probably not a good fit for documenting in Common Issues . Please file a bug in Bugzilla or update the bug you linked to, if you have belief you’re affected by the exact same cause (i.e. you have exactly the same hardware).

@kparal Thanks so much for the direction. I will do that now. Is there any sort of logging I can include to help with the debugging? Just reading journalctl and dmesg has been really tricky to try to identify the issue. My hunch is its most likely NVIDIA’s driver but can be certain.

You can boot from a F38 Workstation Live image and test it there. That will make sure the closed nvidia driver isn’t present. (You can also uninstall it from your installed system, but it’s difficult to that cleanly, so that no leftovers are present. It’s easier to test it with the Live image).

Unfortunately I don’t have better ideas than to look at journalctl and dmesg. There are guides like these but I don’t have experience with them:

@kparal So you might be on to something. Booting the live F38 workstation image there are no problems (besides the graphics not working correctly). Computer will standby and resume on both AC and battery. So it might be the NVIDIA driver.

I am on a forum with a group for NVIDIA but they think it is the WIFI card. Which is interesting to me since I have no issues with that at all and the problem doesn’t start until NVIDIA’s drivers are installed.

For anyone finding this later I think I found a solution for now. The laptop I am using has 2 gpus in it. Nvidia 3060 and the integrated AMD GPU on the CPU. I was able to figure out that sometimes the AMD GPU module would hang and timeout on resume. Setting the laptop to dedicated gpu only (NVIDIA) so far the problem has disappeared. It takes a little longer to resume but it does turn back on which I’m fine with. Thanks to all who helped!