`lspci | NVIDIA 卡未显示为设备 grep -i vga`

Mar*_*rro 4 linux graphics-card drivers nvidia-geforce ubuntu

我在 Ubuntu 12.04 上安装了 NVIDIA 驱动程序和 nvidia prime,以便首次运行基于 CUDA 的应用程序。然后,我在系统上造成了混乱,因为我也安装了 Bumblebee,但我不知道 Bumblebee 和 nvidia prime 之间的不兼容问题。结果,一切都不起作用了。现在我想恢复以前的配置。

但是,如果我在终端上输入,lspci | grep -i vga唯一的输出项是

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Run Code Online (Sandbox Code Playgroud)

那是我笔记本电脑的内部英特尔芯片组。如您所见,NVIDIA 显卡没有出现(当然,当一切正常时它会出现)。我也尝试安装nvidia-340驱动程序,但是重启后系统还没有检测到该卡。

另外,但不知道是否相关,无法nvidia-prime再安装。当我尝试这样做时,输出是:

Package nvidia-prime is not available, but is referred to by another package. 
This may mean that the package is missing, has been obsoleted, or is only available 
from another source

E: Package nvidia-prime has no installation candidate
Run Code Online (Sandbox Code Playgroud)

有谁知道问题出在哪里?提前致谢

小智 6

使用

lspci -nn | grep '\[03'
Run Code Online (Sandbox Code Playgroud)

原因是对于某些显卡,它们没有列为

  • [0300] VGA compatible controller

他们可能是:

  • [0380] Display controller
  • [0302] 3D controller