ubuntu:gpu:mesa
This is an old revision of the document!
Table of Contents
Ubuntu - GPU - Mesa
Mesa is an open source 3D computer graphics library that provides a generic OpenGL implementation for rendering three-dimensional graphics on multiple platforms.
Install Mesa Utilities
sudo apt install mesa-utils
Get info
glxinfo | grep OpenGL
returns:
OpenGL vendor string: X.Org OpenGL renderer string: AMD Radeon RX 5700 XT (NAVI10, DRM 3.38.0, 5.8.1-050801-generic, LLVM 10.0.1) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.0-devel (git-b38879f 2020-08-17 focal-oibaf-ppa) OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.0-devel (git-b38879f 2020-08-17 focal-oibaf-ppa) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.0-devel (git-b38879f 2020-08-17 focal-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions:
NOTE: If in the OpenGL renderer string: you only see llvmpipe, that means your system doesn't use the GPU but the CPU instead to render the computer graphics.
3D acceleration
Determine whether 3D acceleration is working:
glxinfo | grep rendering
returns:
direct rendering: Yes
The output should be: direct rendering: Yes.
Testing performance
To see how many frames per second your video card is putting out, run the following command:
glxgears -info
NOTE: The gears test is not very effective, many drivers work very well with a bad FPS in this test.
—-
References
ubuntu/gpu/mesa.1685573399.txt.gz · Last modified: 2023/05/31 22:49 by peter