我从 NVIDIA 网站安装了显卡“GTX TITAN X”及其驱动程序。
并使用命令“nvidia-smi -L”检查我的显卡名称
但是,打印的输出如下。
GPU 0:图形设备(UUID:GPU-146fb7ad-3409-4e9e-28e5-69639bd6c3d0)
但是,我使用命令‘sysinfo’检查了显卡的规格,并确认了该显卡的规格。
我尝试使用 CUDA 和 GPU 进行实验,并且成功了。
检查显卡名称有问题吗?
答案1
答案2
由于您有 nvidia 卡,因此您可以运行此命令。nvidia-smi
它应该与您的 Nvidia 驱动程序一起安装
nvidia-smi
该命令的输出类似于:
neil@ASUS:~$ nvidia-smi
Wed Nov 11 23:53:09 2015
+------------------------------------------------------+
| NVIDIA-SMI 340.93 Driver Version: 340.93 |
|-------------------------------+----------------------+----------------------+
| 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 260 Off | 0000:01:00.0 N/A | N/A |
| 40% 42C P12 N/A / N/A | 306MiB / 895MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
neil@ASUS:~$
您可能需要使用以下方法更新 PCI ID 数据库:
sudo update-pciids
以下是我所知道的更多可以查找硬件设备的命令,您可以尝试一下。
要安装 discover,请运行以下命令:
sudo apt-get install discover
运行发现
在终端运行
sudo discover | grep <Your GPU manufacturer>
该命令的输出可能如下所示:
neil@Linux-Lap:~$ sudo discover | grep NVIDIA
[sudo] password for neil:
NVIDIA Corporation C77 [GeForce 8200M G]
NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge
NVIDIA Corporation MCP77 Ethernet
NVIDIA Corporation MCP77 Ethernet
NVIDIA Corporation MCP77 Ethernet
NVIDIA Corporation MCP77 Ethernet
NVIDIA Corporation MCP77 Ethernet
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode)
NVIDIA Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode)
NVIDIA Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode)
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge
NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio
NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio
NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio
NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio
NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio
NVIDIA Corporation MCP78S [GeForce 8200] IDE
NVIDIA Corporation MCP78S [GeForce 8200] IDE
NVIDIA Corporation MCP78S [GeForce 8200] IDE
NVIDIA Corporation MCP78S [GeForce 8200] IDE
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor
NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor
NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor
NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor
NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor
NVIDIA Corporation MCP78S [GeForce 8200] SMBus
NVIDIA Corporation MCP78S [GeForce 8200] SMBus
NVIDIA Corporation MCP78S [GeForce 8200] SMBus
NVIDIA Corporation MCP78S [GeForce 8200] SMBus
NVIDIA Corporation MCP78S [GeForce 8200] SMBus
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller
neil@Linux-Lap:~$
信息
sudo apt-get install hwinfo
终端命令:
sudo hwinfo | grep Model | grep <Your GPU manufacturer>
输出可能看起来像这样。
neil@Linux-Lap:~$ sudo hwinfo | grep Model | grep nVidia
Model: "nVidia MCP78S [GeForce 8200] Memory Controller"
Model: "nVidia ISA bridge"
Model: "nVidia MCP78S [GeForce 8200] SMBus"
Model: "nVidia MCP78S [GeForce 8200] Co-Processor"
Model: "nVidia MCP78S [GeForce 8200] Memory Controller"
Model: "nVidia MCP78S [GeForce 8200] OHCI USB 1.1 Controller"
Model: "nVidia MCP78S [GeForce 8200] EHCI USB 2.0 Controller"
Model: "nVidia MCP78S [GeForce 8200] OHCI USB 1.1 Controller"
Model: "nVidia MCP78S [GeForce 8200] EHCI USB 2.0 Controller"
Model: "nVidia MCP78S [GeForce 8200] IDE"
Model: "nVidia MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio"
Model: "nVidia MCP78S [GeForce 8200] PCI Bridge"
Model: "nVidia MCP78S [GeForce 8200] SATA Controller (non-AHCI mode)"
Model: "nVidia MCP78S [GeForce 8200] PCI Bridge"
Model: "nVidia MCP77 Ethernet"
Model: "nVidia MCP78S [GeForce 8200] PCI Express Bridge"
Model: "nVidia C77 [GeForce 8200M G]"
如果sudo hwinfo | grep Model | grep <Your GPU manufacturer>
没有显示任何内容,只需在终端中输入 sudo hwinfo 并按Ctrl+ Shift+F并搜索您的 GPU 制造商