You are not logged in.

#1 2022-03-12 13:24:14

i34sti1337
Member
Registered: 2021-08-18
Posts: 41

Install DKMS automatically without the parameter --no-depmod

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

#2 2022-03-12 13:31:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,443

Re: Install DKMS automatically without the parameter --no-depmod

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?

Online

#3 2022-03-12 13:38:41

i34sti1337
Member
Registered: 2021-08-18
Posts: 41

Re: Install DKMS automatically without the parameter --no-depmod

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

#4 2022-03-12 13:49:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,443

Re: Install DKMS automatically without the parameter --no-depmod

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.

Online

#5 2022-03-12 13:59:33

i34sti1337
Member
Registered: 2021-08-18
Posts: 41

Re: Install DKMS automatically without the parameter --no-depmod

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

#6 2022-03-12 14:15:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,443

Re: Install DKMS automatically without the parameter --no-depmod

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.

Online

#7 2022-03-12 15:29:19

i34sti1337
Member
Registered: 2021-08-18
Posts: 41

Re: Install DKMS automatically without the parameter --no-depmod

So why does my computer crash with --no-depmod and without it not?

Offline

Board footer

Powered by FluxBB