Linux-ubuntu system view graphics card model, detailed graphics card information, graphics card ladder diagram

This article will introduce the following:

  • How to check the graphics card model in ubuntu system. (Most of the other articles only introduce the commands but not how to correspond to the graphics card model)
  • The detailed information of the graphics card in the ubuntu system, and the meaning it represents.
  • Graphics ladder diagram (July 2019)

One, check the graphics card model

1. View the graphics card model command
lspci | grep -i vga

#----output------
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f06 (rev a1)

As you can see, the model name of the graphics card viewed is a hexadecimal number code.
Next, bring the obtained hexadecimal number code into the website to query the specific graphics card model.

2. Enter the number code in the following website to query the graphics card model

The PCI ID Repository
can find the corresponding graphics card model according to the hexadecimal number code. (Foreign websites, it’s slow to open, refresh a few more times, it will be faster if there are ladders) The
Insert picture description here
results are as follows:
Insert picture description here

Second, view graphics card information

1. View graphics card information command
  • nvidia-smi
  • nvidia-smi (display the current GPU occupancy once)
  • nvidia-smi -l (refresh once per second and display)
  • watch -n 5 nvidia-smi (where 5 means refreshing the terminal display results every 6 seconds)

The information is as follows:
Insert picture description here

2. Detailed graphics card information
  • Fan in the first column: N/A is the fan speed, which varies from 0 to 100%. This speed is the fan speed expected by the computer. In actual situations, if the fan is blocked, the displayed speed may not be reached. Some equipment does not return to the speed because it does not rely on fan cooling but maintains low temperatures through other peripherals (for example, the server in our laboratory is placed in an air-conditioned room all year round).
  • Temp in the second column: is the temperature in degrees Celsius.
  • Perf in the third column: is the performance state, from P0 to P12, P0 represents the maximum performance, and P12 represents the minimum performance of the state.
  • Pwr at the bottom of the fourth column: Energy consumption, Persistence-M at the top: Persistence mode. Although continuous mode consumes a lot of energy, it takes less time when a new GPU application starts. It shows off here. status.
  • The Bus-Id in the fifth column refers to the GPU bus
  • The Disp.A in the sixth column is Display Active, which indicates whether the display of the GPU is initialized.
  • The Memory Usage under the fifth and sixth columns is the memory usage rate.
  • The seventh column is the floating GPU utilization.
  • Above the eighth column is something about ECC.
  • Compute M at the bottom of the eighth column is the calculation mode.
  • The next one shows the memory usage of each process.

Note: Video memory usage and GPU usage are two different things. The graphics card is composed of GPU and video memory. The relationship between video memory and GPU is somewhat similar to the relationship between memory and CPU.

3. Graphics ladder diagram (July 2019)

Insert picture description here

Guess you like

Origin blog.csdn.net/TFATS/article/details/109161006