Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 47053  / 3 Years ago, fri, august 27, 2021, 1:56:33

Every time there's a kernel update, nvidia graphics drivers stops working because there's not a valid kernel module.



What is the ubuntu way to 'recompile' the nvidia module for the new kernel?



Shouldn't it be done automatically? I am suffering a bug?


More From » drivers

 Answers
4

If you have installed the NVIDIA driver as an ubuntu package, it should be updated automatically after each kernel upgrade.



You can install the packaged driver using the Additional Drivers tool in the dashboard, or installing the package nvidia-current.



If you have installed the nvidia driver directly from their website it is probably sensible to remove it before installing this package - I'm not certain how good it will be at detecting the conflict.



If you have installed the package from the ubuntu repositories, you can try reconfiguring it with dpkg-reconfigure but I suspect building the nvidia module is triggered by installing a new kernel, and I'm not sure how to trigger this otherwise. The traditional uninstall and re-install might well work (sudo apt-get remove nvidia-current; sudo apt-get install nvidia-current).


[#36283] Saturday, August 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainsbeave

Total Points: 280
Total Questions: 98
Total Answers: 105

Location: Faroe Islands
Member since Sat, Aug 20, 2022
2 Years ago
;