0
点赞
收藏
分享

微信扫一扫

Linux服务器查看硬件信息linux sh nvidia,linux 命令行下适配 nvidia 驱动​​​​​​​linux系统下查看 显卡 信息


查看显卡信息命令:

查看NVIDIA显卡

lspci | grep -I nvidia

或者 查看集成显卡

lspci  | grep -i vga

得到信息如下:

08:00.0 VGA compatible controller: NVIDIA Corporation Device 2487 (rev a1)

08:00.1 Audio device: NVIDIA Corporation Device 228b (rev a1)

看不懂,由于驱动问题无法显示显卡的具体型号。

需要下面这个网站的解析,输入上述编号 比如2487

​​http://pci-ids.ucw.cz/mods/PC/10de?action=help?help=pci​​

便可以得到显卡参数啦

Device 10de:2487

Name: GA104 [GeForce RTX 3060]

英伟达显卡也可以如下命令:

nvidia-smi

若是提示:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

需要安装驱动,参考以下文章去NVIDA官网下载驱动即可。

​​linux sh nvidia,linux 命令行下适配 nvidia 驱动​​​​​​​​

查看CPU信息:

cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

如下:32  AMD Ryzen 9 5950X 16-Core Processor

未完 待续。。。


举报

相关推荐

0 条评论