Audio/UpgradingAlsa/DKMS - Ubuntu Wiki
wiki.ubuntu.com › Audio › UpgradingAlsasudo apt-get install dkms. Go to this page. You will find a table under the "Packages" heading. Look for the "Series" column and locate the package corresponding to your distribution series (Precise, Trusty, Xenial etc). - In case of Trusty, you will find more than one package. Then check what kernel you're running with the "uname -r" command.
更新Ubuntu内核后,无法加载NVIDIA驱动 - 知乎
https://zhuanlan.zhihu.com/p/167839204根据网上的办法,使用以下命令: 1) sudo apt-get install dkms 2)sudo dkms install -m nvidia -v 418.xxx.xx(NVIDIA版本号) 如果报错,出现错误提示: Bad return status for module build on kernel: 5.4.0-42-generic on Ubuntu18.04. NVIDIA-SMI failed. Linux内核版本是5.4.0-42-generic,这个内核版本网上也说与许多版本驱动匹配,需要升级到440版本的NVIDIA驱动。 执行下面步骤安装 …