When installing the graphics driver for my Ubuntu, I need to check the graphics card model, because I have a Windows/Ubuntu dual system. At first, I thought of going to Windows to check, then download the driver and install it successfully. For Linux only, the summary is as follows:

Method a,lspci | grep -i vga

Later want to see the Linux how to view the video card type, search the lspci command | grep -i VGA, but the return is a hexadecimal digit code, the following figure:

Hence, continue Baidu, but said an order only, did not explain return result what meaning.

I did some searching and finally found this website

The PCI ID Repository

You can follow the hexadecimal numeric code to find the corresponding video card model. (For foreign websites, it is slow to open, refresh several times, it will be faster if there is a ladder.) In view of the difficulty of opening this website in China, we have uploaded the model list, which can be downloaded and queried.

PCI ID list download

Method 2,nvidia-smi

If you know it is an NVIDIA graphics card, you can directly use the commandnvidia-smiCan display the specific graphics card model.