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:~$
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构