Skip to content

Commit 6eac171

Browse files
committed
Add Nvidia suspend fix
1 parent 056b171 commit 6eac171

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/install_cuda.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ apt-get update
2828
# https://www.reddit.com/r/linux_gaming/comments/1dnccoq/ubuntu_2404_wayland_on_nvidia_troubleshoot_guide/
2929
# https://askubuntu.com/questions/1514352/ubuntu-24-04-with-nvidia-driver-libegl-warning-egl-failed-to-create-dri2-scre
3030
apt-get install cuda nvidia-container-toolkit # libnvidia-egl-wayland1
31+
32+
echo "Fixing suspend."
33+
# https://bbs.archlinux.org/viewtopic.php?id=288181
34+
systemctl enable nvidia-suspend.service nvidia-hibernate.service nvidia-resume.service
35+
echo "Installation ready."

0 commit comments

Comments
 (0)