How to view video card hardware information in Linux

Source: Internet
Author: User

How to view video card hardware information in Linux

Graphics processor (GPU), also known as the Visual Processing Unit (VPU), also known as the display core, visual processor, display chip, it is a type of microprocessor used to perform graphic operations on personal computers, workstations, game consoles, and mobile devices (such as tablets and smartphones. A graphics processor can separately form a video card with a dedicated circuit board and ancillary components, or a chip is directly embedded into the motherboard, or is built into the motherboard's North Bridge Chip.

If you want to install the corresponding graphics card driver to make the video card work normally, you must first know the graphics card vendor and its correct model. Most Linux distributions can detect the video card brand, but the model cannot always be correctly identified. Therefore, you may need to manually view the graphics card model/serial number.

Next, we will introduce how to use the command line in Linux to view the graphics card hardware information.

Obtain video card hardware information

In Linux, there are currently several commands that can be used to obtain hardware information. The lspic command line tool can be used to obtain the hardware information of the video card.

You can use the following command to obtain the video card information on the system:

Lspci-vnn | grep VGA-A 12

After the execution, you can see the following output:

The first line of output includes the hardware vendor, model name/serial number, and pci id.

In addition, you can use the lshw command to obtain the above information:

Lshw-C display

After the execution, you can see the following output:

View the currently used video card driver

To view the name of the graphics card driver used on the current Linux system, you can also use the lshw command:

Sudo lshw-c video | grep configuration

The output video card driver has two names, one of which is driver = vmwgfx. We can use the following command to check the details of the video card driver (another operation is similar ):

Modinfo vmwgfx

Check hardware acceleration

Hardware-based 3D acceleration can be used directly to process 3D images, which greatly speeds up 3D rendering. To use this function, the video card must support hardware acceleration and install the correct driver.

We can use the glxinfo command to obtain detailed OpenGL information:

Glxinfo | grep OpenGL

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.