问题描述
我们的笔记本中,有两块显卡:Intel 的核显与 NVIDIA 的独显,但是我们不是很确定。
我们需要确定笔记本中有几张显卡,以及获取这两张显卡的信息,然后可以进行后续的其他操作。
该笔记将记录:在 Linux 中,如何查看在笔记本中安装的显卡,以及相关问题。
解决方案
方法一、使用 lspci 命令
# lspci | grep -i VGA 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)
方法二、使用 lshw 命令
# lshw -class display *-display description: VGA compatible controller product: GK208M [GeForce GT 730M] 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 cap_list configuration: driver=nouveau latency=0 resources: irq:31 memory:f0000000-f0ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:4000(size=128) *-display description: VGA compatible controller product: 4th Gen Core Processor Integrated Graphics Controller vendor: Intel Corporation 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:30 memory:f1000000-f13fffff memory:e0000000-efffffff ioport:5000(size=64) memory:c0000-dffff
参考文献
Linux Find Out Graphics Card Installed In My System – nixCraft