You are not logged in.
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 = 128but 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=1Here are two journalctl logs:
from boot to supend: http://0x0.st/oLxC.txt
from "reboot" (after the broke resume from suspend) to a clean shutdown: https://0x0.st/oL3N.txt
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
Not entirely sure, but according to their issue tracker, suspending is not yet supported in nvidia-open.
Offline
Yup, also see https://bbs.archlinux.org/viewtopic.php … 6#p2051096
Online
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