Newest Kernel Won't boot

Yes i been having this problem for sometime now with RTX 4080. This is the solution i found, but i have been told not to use it, though so far it has worked fine. However i have been doing on new installs since December 23, (i installed Garuda on six computers with nvidia graphic cards since then,) without any troubles. Apart of manually redoing the drivers once, to update to later version, however it seems to doing this automatically again lately.

(i’m running the Zen and LTS kernel as well, just in case.)

i use nvidia-all drivers and then pick whatever version works, usually the latest, and recompile the nvidia dkms. (i check as the terminal output asit compiles the drivers, it to see if an error 10 is thrown up, if not, then i know all is fine.)

Here is the code if you want to try it;

#install nvidia all  drivers!
#Do you need to delete nvidia-all folder? 
rmdir $HOME"/nvidia-all"

git clone https://github.com/Frogging-Family/nvidia-all.git
cd nvidia-all
makepkg -si
sudo dracut-rebuild
sudo update-grub

i also have problem suspending and then waking up my computer with my nvidia card, not sure if you will run into that problem as well, but just in case. Here is the code to correct that issue.

#commands to fix suspending and waking computer with NVIDIA Graphic Card.

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 and close the file.

#activate suspend services.
sudo systemctl enable --now nvidia-suspend.service
sudo systemctl enable --now nvidia-hibernate.service
sudo systemctl enable --now nvidia-resume.service

i hope that will work for you.