在与 Windows 一起安装后,Ubuntu 无法识别显卡

在与 Windows 一起安装后,Ubuntu 无法识别显卡

以下是我的系统上的两个驱动程序:

$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    Subsystem: Lenovo Device 3978
    Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)
    Subsystem: Lenovo Device 3978
    Kernel driver in use: nouveau

$ lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
    Subsystem: Lenovo Device [17aa:3978]
    Flags: bus master, fast devsel, latency 0, IRQ 33
    Memory at d1000000 (64-bit, non-prefetchable) [size=4M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 5000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    Kernel driver in use: i915

00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
    Subsystem: Lenovo Device [17aa:3978]
    Flags: bus master, fast devsel, latency 0, IRQ 35

$ sudo lshw -numeric -C display
[sudo] password for animesh: 
  *-display               
       description: 3D controller
       product: GM107M [GeForce GTX 860M] [10DE:1392]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:36 memory:d0000000-d0ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128) memory:b2000000-b207ffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller [8086:416]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:33 memory:d1000000-d13fffff memory:c0000000-cfffffff ioport:5000(size=64) 

我不确定我的主要驱动程序是英特尔驱动程序还是 Nvidia 驱动程序?

我正在运行 Ubuntu 和 Windows 10 双启动,其中 Nvidia 是默认驱动程序。

在继续安装 CUDA 之前,我想确认这一点。

相关内容