You are not logged in.

#1 2022-08-19 10:13:46

Clyky
Member
Registered: 2022-08-15
Posts: 5

[SOLVED] Black screen after resume from suspend (nvidia-open)

Hello everyone.

I am trying to setup properly the suspend feature on my Arch install.

Currently, when I suspend my laptop by pressing the power button (I have configured this behaviour through Gnome Settings) and then resume it, all I get is a black screen. Keyboard is not working (pressing the caps lock key does not turn on its led) and mouse cursor is not showing. Connecting to the laptopt through SSH does not work (no route to host). Nevertheless, the power button LED is on and the fans are spinning. To exit from this situation, I have to perform an hard shutdown, by holding down the power button until the laptop turns off. I have also tried to enable the SysRq key:

$ cat /etc/sysctl.d/99-sysctl.conf 
kernel.sysrq = 128

but it does not work when I am in that situation, even though I have added sysrq_always_enabled=1 to my kernel parameters:

$ cat /boot/loader/entries/arch.conf 
title     Arch Linux
linux     /vmlinuz-linux
initrd    /initramfs-linux.img
options   root=PARTUUID=07b838e0-eaa6-b140-8fa3-145939308adc rw sysrq_always_enabled=1 nvidia_drm.modeset=1

Here are two journalctl logs:

I have already read many topics on this problem, but I still can't find a solution that works for me.

I am using the nvidia-open drivers, version 515.65.01-5 (the latest at time of writing).
On my laptop (an HP Pavillon) I also have Windows 11 installed on a different drive. I have already disabled fast boot on Windows 11.

----

TLDR: Unfortunately there is no a solution using the open-source drivers yet. One workaround that worked for me was to switch to the closed-source drivers (nvidia package). Beweare that, as reported in the Arch Wiki, you may need to change your kernel parameters if you are on an Intel CPU with linux kernel >= 5.18 (see the linked page for details).

Last edited by Clyky (2022-08-20 10:46:52)

Offline

#2 2022-08-19 12:53:58

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: [SOLVED] Black screen after resume from suspend (nvidia-open)

Not entirely sure, but according to their issue tracker, suspending is not yet supported in nvidia-open.

Offline

#3 2022-08-19 14:09:39

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

Re: [SOLVED] Black screen after resume from suspend (nvidia-open)

Online

#4 2022-08-20 10:42:46

Clyky
Member
Registered: 2022-08-15
Posts: 5

Re: [SOLVED] Black screen after resume from suspend (nvidia-open)

Thank you guys, I have completely missed that issues in the nvidia's issue tracker.

Now I have switched to the closed-source drivers (nvidia package), after removing the nvidia-open package, and suspend to RAM works correctly.

Offline

Board footer

Powered by FluxBB