|
Graphics processor (GPU), also known as the visual processing unit (VPU), also known as the graphics core, vision processors, graphics chips, is a specialized in personal computers, workstations, gaming consoles and some mobile devices (such as tablets, smart phones other operating microprocessor graphics computing work) on. Graphics processor may be used alone with a dedicated circuit board and ancillary components graphics, or a single chip embedded directly into the motherboard, or built into the motherboard's Northbridge chip.
If you want to install the graphics card driver to make work, you will first need to know the correct graphics card manufacturers and models. Most Linux distributions can detect the card brand, but not always correctly identify the model. So, we may need to manually check the card model / serial number.
Below, we will describe how to use the Linux command line to view the graphics hardware information.
Get graphics hardware information
In Linux, there are several commands can be used to obtain hardware information, wherein lspic command-line tool can be used to obtain information about the graphics hardware.
You can use the following command to get the information on the card system:
lspci -vnn | grep VGA -A 12
After execution you can see output similar to the following:
The first line of output will have hardware manufacturer, model name / serial number, and PCI ID.
In addition, you can also use lshw command to get this information:
lshw -C display
After execution, you can see something like the following output:
View the current graphics drivers used
To view the current graphics driver name on the Linux system used, you can also use lshw command:
sudo lshw -c video | grep configuration
You can see the name of the output of the graphics driver has two, one for the driver = vmwgfx, we can use the following command to check the details of the graphics driver (the other one is similar):
modinfo vmwgfx
Check hardware acceleration
Enable hardware-based 3D acceleration can be used when drawing 3D graphics hardware directly for processing, which greatly accelerated 3D rendering speed. To use this feature, you must support hardware-accelerated video card and installed the correct driver.
We can use glxinfo command to get more information on OpenGL view was:
glxinfo | grep OpenGL |
|
|
|