我的系统有两块显卡。集成显卡(Intel 630)和 nVidia 显卡。显示器连接到 Intel HDMI 端口。我的目标是让 PC 显示器(Ubuntu 桌面等)位于 Intel 上,并将 nVidia 卡专用于 CUDA 操作。
nVidia 运行良好。Ubuntu
桌面可以显示,但性能不佳。视频播放闪烁,CPU 立即被占用。显然,英特尔卡的驱动程序无法加载,因此视频处理由 CPU 完成。
在系统详细信息中,我看到:
Graphics: llvmpipe (LLVM 9.0, 256 bits)
- 这证实了上述怀疑。
硬件似乎被正确识别:
$ lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f08 (rev a1)
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:130 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: HD Graphics 630
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:127 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
$ sudo prime-select intel
Info: the intel profile is already set
几乎每个人都建议 Ubuntu 应该自动安装英特尔驱动程序。但事实似乎并非如此。如能得到任何帮助,我将不胜感激!