Method 1,
lspci | grep -i vga
The return result of this command is a hexadecimal digital code, as shown below:
Method 2,
nvidia-smi
If we know that our graphics card is an NVIDIA graphics card, we can directly use the command nvidia-smi. The output is as follows:
Recommended tutorial: linux tutorial
The above is the detailed content of How to check the graphics card model in linux. For more information, please follow other related articles on the PHP Chinese website!