Nvidia Arch user here, are you just forgetting to rebuild your kernel modules after a kernel or nvidia driver update?
You can just add a pacman hook that triggers mkinitcpio -P after the linux or nvidia packages are updated. I’ve never had a no-GUI situation from a stray update… maybe one or two that were my own doing when trying to set up UKI’s though.
Nvidia Arch user here, are you just forgetting to rebuild your kernel modules after a kernel or nvidia driver update?
You can just add a pacman hook that triggers
mkinitcpio -P
after the linux or nvidia packages are updated. I’ve never had a no-GUI situation from a stray update… maybe one or two that were my own doing when trying to set up UKI’s though.Why not just use DKMS?
I think dkms is for inserting kernel modules, but I’m dumb and what’s the difference between both these approaches?
The Dynamic Kernel Module System automatically builds your modules for your updated kernel.
The Arch Linux team releases Nvidia updates at the same time as kernel upgrades which should trigger a initramfs rebuild via mkinitcpio anyway
unless you do a partial upgrade anyway (never do that)