Linux查看显卡型号

可以通过查看PCI设备来看显卡型号:

lspci | grep -i nvidia
--------------------------------------------------------------------------------------
c1:00.0 VGA compatible controller: NVIDIA Corporation Device 2484 (rev a1)
c1:00.1 Audio device: NVIDIA Corporation Device 228b (rev a1)

从上面的信息也没看到具体显卡型号,只能看到 NVIDIA Corporation Device 2484,当然获得如上信息也够了。

确定显卡具体型号

  1. 通过PCI ID网站查询:

PCI ID info
进入到上面网站,输入2484就可以看到显卡的具体型号。

  1. 更新pci id信息:

    update-pciids

    更新完之后,再查看一下显卡PCI信息

    lspci | grep -i nvidia
    --------------------------------------------------------------------------------------
    c1:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti] (rev a1)
    c1:00.1 Audio device: NVIDIA Corporation Device 228b (rev a1)
    
最后修改:2020 年 12 月 10 日
如果觉得我的文章对你有用,请随意赞赏