You are not logged in.
Hello,
I just switched from Manjaro to Arch Linux, and I'm having issues with the proprietary NVIDIA driver on my Dell Inspiron 3650 desktop (see signature for specs).
I installed "nvidia-470xx-dkms" from AUR (because my GeForce GT 730 isn't supported by the latest driver apparently), then removed "kms" from the "HOOKS" array in /etc/mkinitcpio.conf, and finally regenerated the initramfs. Then I wrote "options nvidia_drm modeset=1" in /etc/modprobe.d/nvidia.conf and rebooted.
Now suspend isn't working anymore (it works perfectly with the "nouveau" driver, and it worked with the proprietary NVIDIA driver version 470 on Manjaro): when I suspend the system, monitors turn black, but stay on, and my PC never goes to sleep. I tried to disable nvidia-resume, -suspend and -hibernate services as suggested here, but it didn't change anything. I also set the "NVreg_PreserveVideoMemoryAllocations=1" option in modprobe configuration, but it didn't change anything either.
Here is a portion of the output of journalctl that appears multiple times, and that may be related to my problem:
/usr/lib/gdm-x-session[2614]: Fatal server error:
/usr/lib/gdm-x-session[2614]: (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
/usr/lib/gdm-x-session[2614]: (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
/usr/lib/gdm-x-session[2614]: (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
/usr/lib/gdm-x-session[2614]: (EE) Server terminated with error (1). Closing log file.
/usr/lib/gdm-x-session[2612]: Unable to run X server
I thank you in advance for your help!
Last edited by antux18 (2024-06-21 18:37:02)
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
Which systemd version do you have installed? ("pacman -Q systemd")
This could also be related to https://gitlab.archlinux.org/archlinux/ … -/issues/9
Last edited by gromit (2024-06-21 14:13:34)
Offline
Hello gromit,
My systemd version is 256.1-1
Regarding the link you sent: are you suggesting that I add 'Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"' to nvidia-resume, -suspend and -hibernate service files?
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
No.
https://gitlab.archlinux.org/archlinux/ … 4b45a60708
/etc/systemd/system/systemd-homed.service.d/override.conf & /etc/systemd/system/systemd-suspend.service.d/override.conf
Offline
Thank you both a lot, your solution seems to have fixed my problem!
What I did exactly to solve it:
- Creating folders /etc/systemd/system/systemd-homed.service.d/ and /etc/systemd/system/systemd-suspend.service.d/
- Copying the following in /etc/systemd/system/systemd-homed.service.d/override.conf:
[Service]
Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"
- Copying the following in /etc/systemd/system/systemd-suspend.service.d/override.conf:
[Service]
Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
Thank you both a lot, your solution seems to have fixed my problem!
What I did exactly to solve it:
- Creating folders /etc/systemd/system/systemd-homed.service.d/ and /etc/systemd/system/systemd-suspend.service.d/
- Copying the following in /etc/systemd/system/systemd-homed.service.d/override.conf:[Service] Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"
- Copying the following in /etc/systemd/system/systemd-suspend.service.d/override.conf:
[Service] Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"
after installing nvidia driver 470, i had the same issue. system freezes when i tried to suspend.
your solution worked for me. thank you
Offline