You are not logged in.

#1 2022-06-02 13:35:00

geekmiki
Member
Registered: 2011-10-10
Posts: 59

[SOLVED] Crash when waking up from sleep - suspend works

Hi,

I have a Legion laptop with following specs:

OS: Arch Linux x86_64 
Host: 82JU Legion 5 15ACH6H 
Kernel: 5.18.1-arch1-1 
Packages: 868 (pacman) 
Shell: bash 5.1.16 
Resolution: 2560x1440, 1920x1080 
DE: Xfce 4.16 
WM: Xfwm4 
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz 
GPU: AMD ATI 06:00.0 Cezanne 
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q 
Memory: 2481MiB / 27988MiB 

When I suspend manually (systemctl suspend), waking up works as expected.

The displays are configured to blank after 10mins in XFCE, the system is set to never sleep/suspend. When trying to wake the displays up from blank the system crashes, keyboard, alt TTY are not accessible.
Journalctl reports the following:

kernel: NVRM: GPU at PCI:0000:01:00: GPU-0f313388-cf58-2f0a-6fa3-126535177408
kernel: NVRM: Xid (PCI:0000:01:00): 79, pid='<unknown>', name=<unknown>, GPU has fallen off the bus.
kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.
kernel: [133B blob data]
kernel: NVRM: A GPU crash dump has been created. If possible, please run
                                    NVRM: nvidia-bug-report.sh as root to collect this data before
                                    NVRM: the NVIDIA kernel module is unloaded.

I have read several similar issues, but most were reporting a wake up from suspend issue, which is not my case.
I have tried to activate persistent mode for the NVIDIA driver and to disable nvidia-suspend.service, but none have helped.

Is there anything else I can try to solve the issue and manage to have my displays to sleep/wake up?

Thank you in advance

Last edited by geekmiki (2022-06-16 16:30:09)

Offline

#2 2022-06-16 16:29:43

geekmiki
Member
Registered: 2011-10-10
Posts: 59

Re: [SOLVED] Crash when waking up from sleep - suspend works

I solved my own problem.
Enabling the following services (which were disabled by default) allows both monitors to go to sleep and wake up without crashing:

nvidia-suspend.service
nvidia-resume.service
nvidia-hibernate.service

Offline

Board footer

Powered by FluxBB