系统相关
首页 > 系统相关> > Ubuntu 16.04 显卡型号查询命令

Ubuntu 16.04 显卡型号查询命令

作者:互联网

2021-09-06

需要先安装显卡驱动,比如 NVIDIA的相应版本的显卡驱动

 

1. lspci

strong@foreverstrong:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 591f (rev 05)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 05)
00:08.0 System peripheral: Intel Corporation Sky Lake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Device a2af
00:16.0 Communication controller: Intel Corporation Device a2ba
00:17.0 SATA controller: Intel Corporation Device a282
00:1b.0 PCI bridge: Intel Corporation Device a2eb (rev f0)
00:1c.0 PCI bridge: Intel Corporation Device a294 (rev f0)
00:1c.5 PCI bridge: Intel Corporation Device a295 (rev f0)
00:1c.6 PCI bridge: Intel Corporation Device a296 (rev f0)
00:1c.7 PCI bridge: Intel Corporation Device a297 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Device a298 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a2c8
00:1f.2 Memory controller: Intel Corporation Device a2a1
00:1f.3 Audio device: Intel Corporation Device a2f0
00:1f.4 SMBus: Intel Corporation Device a2a3
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
strong@foreverstrong:~$

 

2. lspci | grep -i vga

strong@foreverstrong:~$ lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
strong@foreverstrong:~$

 

3. lspci | grep -i nvidia

strong@foreverstrong:~$ lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1)
strong@foreverstrong:~$

 

4. nvidia-smi

strong@foreverstrong:~$ nvidia-smi
Mon Sep  2 10:57:09 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.130                Driver Version: 384.130                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 00000000:01:00.0  On |                  N/A |
|  0%   47C    P8     8W / 180W |    249MiB /  8110MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1508      G   /usr/lib/xorg/Xorg                           191MiB |
|    0      1723      G   /opt/teamviewer/tv_bin/TeamViewer             12MiB |
|    0      1959      G   compiz                                        42MiB |
+-----------------------------------------------------------------------------+
strong@foreverstrong:~$

 

标签:bridge,00,Intel,16.04,Corporation,rev,Ubuntu,Device,显卡
来源: https://www.cnblogs.com/zhangchao0515/p/15234107.html