Bonjour,
J’aimerais pouvoir hiberner sous garuda linux, malheureusement quand je redémarre après hibernation, mon écran se fige (noir) et mon pc ne réponds plus. Je suis obligé de forcer le redémarrage, mais après ma connection ne fonctionne plus, je suis donc encore obligé de redémarrer mon PC.
À l’installation de garuda Linux, j’ai séléctionné l’option pour prévoir un swap pour hiberner, je n’ai aussi aucune erreur quand je lance la commande systemctl hibernate.
#commands to fix suspending computer
sudo micro /etc/modprobe.d/nvidia-preserve-video-memory.conf #paste the line below
options nvidia NVreg_PreserveVideoMemoryAllocations=1 #press Ctrl s and then Ctrl q to save file
Hi @Jeshu, would what you mentioned also help me, or would I need another solution?
In my case, when I leave the computer idle for a while and it goes into sleep mode, sometimes the screen doesn’t appear to log back in, or it shows up frozen. What I do is press Ctrl+F3 to bring up the screen without the graphical interface, and then I press Ctrl+F2 again, and the login screen usually appears. However, once logged in, some applications remain frozen.
The nvidia cards have had a lot of trouble. If this does not fix it maybe consider trying a different diver version than 555, i had to get away from that version as well with my 4080 card.
Installing the nvidia-all drivers can help here. This will give you the options to tryout different driver versions, to see if you can get it to work that way.
remember to delete the nvidia-all folder on your home directory if you try out more than one version. Do so for each version you try. And repeat the code below.
# if dracut is not installed on your system do that first.
sudo pacman -S dracut
#download nvidia-all
git clone https://github.com/Frogging-Family/nvidia-all.git
cd nvidia-all
makepkg -si
#select either open source or proprietary drivers, from earliest to latest, available for your #system. And do install dkms if you have more than one kernel.
sudo dracut-rebuild
sudo update-grub
Thank you very much, @Jeshu, I really appreciate it. So, would this mean I don’t need to do this?: (Problème d'hibernation - #2 by Jeshu). I’ll try what you suggested and share the results.
Sorry @Jeshu@SGS , but I’m not clear on whether I still need to do this:
#commands to fix suspending computer
sudo micro /etc/modprobe.d/nvidia-preserve-video-memory.conf
#paste the line below
options nvidia NVreg_PreserveVideoMemoryAllocations=1
#press Ctrl s and then Ctrl q to save file
#activate services.
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
#reboot.
If so, should it be done before or after changing the driver? Thanks for your patience, best regards.
you can simply sign up with Github after you create an account.
i would not install the nvidia drivers if you got suspend to work, but if you cannot get suspend to work with the lines i gave you before, you may want to try install different versions of the nvidia driver and see if it works then.
Then you will need to make an account with Github by the looks of it