root@iZ2zeivrkckulq33gwupmkZ:~/abc# lspci | grep -i vga
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:08.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
root@iZ2zeivrkckulq33gwupmkZ:~/abc# lspci -v -s 00:08.0
00:08.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V] (prog-if 00 [VGA controller])
Physical Slot: 8
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f2000000 (64-bit, prefetchable) [size=4M]
Memory at fe400000 (32-bit, non-prefetchable) [size=4M]
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/4 Maskable+ 64bit+
Kernel driver in use: amdgpu
Kernel modules: amdgpu
lspci | grep -i vga
这样就可以显示机器上的显卡信息,比如
如果想看详细的信息,比如 [AMD/ATI] Tonga XTV GL [FirePro S7150V],即 00:08.0
|