Update Manager does not update the nvidia module when a new kernel gets added.
I know why it does this, but I would like some magic spells to put in a shell in order
to add the correct nvidia driver module to the new kernel via /lib/modules/*.
Rebooting into a new kernel will not display the screen/desktop correctly and in the wrong
resolution without the nvidia driver module. It seems to me that it would be easier to add
the nvidia module to the new kernel from a shell, which also leads to another question:
what do I have to add to the command line from the grub prompt to bypass starting in
KDE?
Update Manager does not update nvidia module with a new kernel
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Update Manager does not update nvidia module with a new kernel
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: Update Manager does not update nvidia module with a new kernel
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Re: Update Manager does not update nvidia module with a new kernel
if you use nvidia dkms look for
dkms status
if you have more than one kernel many times the nvidia driver is only installed for the kernel you are using. what's your dkms status and how many kernels you have not on the list? boot to that kernel and install the nvidia driversRe: Update Manager does not update nvidia module with a new kernel
Here is what dkms status produced:
bbswitch, 0.8, 4.10.0-38-generic, i686: installed
bbswitch, 0.8, 4.15.0-45-generic, i686: installed
ndiswrapper, 1.60, 4.10.0-38-generic, i686: installed
ndiswrapper, 1.60, 4.15.0-45-generic, i686: installed
nvidia-340, 340.104, 4.10.0-38-generic, i686: installed
Here is what I've posited on how to get the nvidia module to compile for any new kernel that gets installed:
1. Use the recovery mode grub2 menu entry for the new kernel.
2. Select the drop to root shell menu entry
3. cd /usr/src/nvidia-340-340.104
4. Run make && make install
5. Check if the nvidia module makes it to the new /lib/modules/newKernel driver/video directory.
6. Reboot the PC if all is okay.
bbswitch, 0.8, 4.10.0-38-generic, i686: installed
bbswitch, 0.8, 4.15.0-45-generic, i686: installed
ndiswrapper, 1.60, 4.10.0-38-generic, i686: installed
ndiswrapper, 1.60, 4.15.0-45-generic, i686: installed
nvidia-340, 340.104, 4.10.0-38-generic, i686: installed
Here is what I've posited on how to get the nvidia module to compile for any new kernel that gets installed:
1. Use the recovery mode grub2 menu entry for the new kernel.
2. Select the drop to root shell menu entry
3. cd /usr/src/nvidia-340-340.104
4. Run make && make install
5. Check if the nvidia module makes it to the new /lib/modules/newKernel driver/video directory.
6. Reboot the PC if all is okay.