MENU
Language

Commands to check GPU information

Here are the specific commands to check the GPU model number: Choose according to your environment.

Generic Commands

lshwCommand Get detailed information, including GPU model number.

sudo lshw -C display

Example Output 1:

  *-display
       description: VGA compatible controller
       product: NVIDIA GeForce RTX 3080
       vendor: NVIDIA Corporation

Example 2: XServerVPS

  *-display UNCLAIMED       
       description: VGA compatible controller
       product: GD 5446
       vendor: Cirrus Logic
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: vga_controller bus_master
       configuration: latency=0
       resources: memory:c0000000-c1ffffff memory:c2083000-c2083fff memory:c0000-dffff
  *-graphics
       product: EFI VGA
       physical id: 1
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=800,600

dmesg The model number may be printed when the command driver is initialized.

dmesg | grep -i vga

1. For NVIDIA GPUs

nvidia-smicommand
Detailed information is displayed, including the model number.

nvidia-smi --query-gpu=name --format=csv

Example output:

name NVIDIA GeForce RTX 3080

lspciCommand NVIDIA GPU model number.

lspci | grep -i nvidia

Example output:

01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1)

2. For AMD GPUs

lspciCommand AMD GPU model number.

lspci | grep -i amd

Example output:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800 XT]

rocm-smi If the command ROCm tool is installed, you can also check the model number. Copy bash coderocm-smi


3. For Intel GPUs

lspciCommand to check the model number of your Intel GPU.

lspci | grep -i intel

Example output:

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Coffee Lake)

glxinfoCommand to check OpenGL renderer information (including Intel built-in GPUs).

glxinfo | grep "OpenGL renderer"

Example output:

OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)

On Windows

dxdiagcommand

Win + RPress and type “dxdiag”.

The Display tab displays the GPU model number.

PowerShell command model number.

Get-WmiObject Win32_VideoController | Select-Object Name

Example output:

Name ---- NVIDIA GeForce RTX 3080
Let's share this post !

Author of this article

AIアーティスト | エンジニア | ライター | 最新のAI技術やトレンド、注目のモデル解説、そして実践に役立つ豊富なリソースまで、幅広い内容を記事にしています。フォローしてねヾ(^^)ノ

Comments

To comment

目次