Graphics
It might not be necessary to install Mesa and Vulkan drivers. These components are primarily used for rendering graphics in applications that support them, such as many modern games and some professional software. If you don't use these applications, you can skip this section.
MESA
Mesa, also called Mesa3D and The Mesa 3D Graphics Library, is an open source implementation of OpenGL, Vulkan, and other graphics API specifications. Mesa translates these specifications to vendor-specific graphics hardware drivers.
We can install Mesa with the following command:
To check if Mesa is installed correctly, run the following command:
The output should look like this:
If in the value of OpenGL renderer string:
you see llvmpipe
, that means your system does not use the GPU but the CPU instead to render the computer graphics. If you want to use the GPU, look at the GraphicsCard page. Sometimes you need to install the proprietary package from the non-free repositories to activate the driver.
3D acceleration
To determine whether 3D acceleration is working, use the glxinfo tool
:
Testing performance
To see how many frames per second your video card is putting out, run the following command:
Vulkan
Vulkan is a low-level, low-overhead cross-platform API and open standard for 3D graphics and computing. It was intended to address the shortcomings of OpenGL and grant developers more control over the GPU. It is designed to support a wide variety of GPUs, CPUs and operating systems, and it is also designed to work with modern multicore CPUs.
Install Vulkan with the following command:
To ensure that Vulkan is working with your hardware, run the following command: