我刚刚在 Ubuntu 20.04 LTS 中升级到内核版本 5.8.0-45。然而,这似乎破坏了 NVIDIA 驱动程序。我已将问题归咎于软件包linux-image-nvidia-5.8.0-45-generic
。apt 日志显示的内容如下:
linux-image-nvidia-5.8.0-45-generic: constructing .ko files
./BUILD: 1: scripts/genksyms/genksyms: not found
cc: error: nvidia/nv-frontend.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
./BUILD: 10: scripts/genksyms/genksyms: not found
cc: error: nvidia/nv-p2p.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
./BUILD: 22: scripts/genksyms/genksyms: not found
cc: error: nvidia/nv-modeset-interface.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
./BUILD: 25: scripts/genksyms/genksyms: not found
cc: error: nvidia/nv-report-err.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
./BUILD: 31: scripts/genksyms/genksyms: not found
cc: error: nvidia/nv_uvm_interface.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
./BUILD: 138: scripts/genksyms/genksyms: not found
cc: error: nvidia-modeset/nvidia-modeset-linux.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
升级后,如果我启动内核 5.8.0-45,我得到的是低分辨率显示。在以前的内核中,我仍然可以完美启动。有什么想法吗?