![解释 lshw 与 ubuntu-drivers list 输出的驱动程序名称之间的关系](https://linux22.com/image/1000256/%E8%A7%A3%E9%87%8A%20lshw%20%E4%B8%8E%20ubuntu-drivers%20list%20%E8%BE%93%E5%87%BA%E7%9A%84%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E5%90%8D%E7%A7%B0%E4%B9%8B%E9%97%B4%E7%9A%84%E5%85%B3%E7%B3%BB.png)
apt list --installed | egrep -i 'nvidia|nouveau'
告诉我,我安装的唯一的显卡驱动是nvidia-340
。
执行后ubuntu-drivers list
我得到:
nvidia-340
intel-microcode
nvidia-304
执行后lshw -c video
我得到:
configuration: driver=nvidia
当我观察时,事情变得更加令人困惑/var/log/Xorg.0.log
:
(EE) Failed to load module "nvidia" (module does not exist, 0)
当我尝试X -configure
查看 X 是否能提供任何与 nvidia 相关的内容时,更不用说 nvidia-340(这是我需要的驱动程序),什么都没有出现——甚至没有nouveau
。
最后$ lspci -k | grep -iEA3 '3D|VGA'
输出:
03:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 420] (rev a1)
Subsystem: NVIDIA Corporation G98 [Quadro NVS 420]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_340
04:00.0 3D controller: NVIDIA Corporation G98 [Quadro NVS 420] (rev a1)
Subsystem: NVIDIA Corporation G98 [Quadro NVS 420]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_340