You are not logged in.
So I finally figured out why my PC is freezing and it is because of the
--no-depmod command when installing DKMS.
I removed the old DKMS and re-installed it without using the --no-depmod parameter. No Freezes, No GPU Fallen off the Bus.
How can I make it that everytime I pacman -Syu a new Nvidia Driver that DKMS is installed without the --no-depmod parameter
Thank You for your help
Offline
depmod is called by the script, once per kernel instead of after each module. I really doubt this is your issue.
Does just depmod when it's a problem fix it?
Offline
You can do 2 things you can install DKMS without --no-depmod or your start the pc and enter the command sudo depmod -a before using the computer, both fix my problem with freezing.
Offline
You're using the latest dkms package? It would skip depmod when removing the old module on upgrade, but I don't see any reason it would skip it when rebuilding the module.
Offline
Apparently it does
Here is the entry when installing DKMS I thought this was normal behavior.
:: Post-transaction-Hooks werden gestartet ...
(1/6) Creating temporary files...
(2/6) Arming ConditionNeedsUpdate...
(3/6) Updating module dependencies...
scr(4/6) Install DKMS modules
==> dkms install --no-depmod nvidia/510.47.03 -k 5.16.14-arch1-1
Last edited by i34sti1337 (2022-03-12 13:59:44)
Offline
Right, it calls dkms with --no-depmod because it doesn't want to call depmod for each build. It calls it once at the end.
Offline
So why does my computer crash with --no-depmod and without it not?
Offline