How can I test if my video card has 3D support?
Someone told to use fgl_glxgears
, but it does not exist here, not even for installation with apt-get.
How can I test if my video card has 3D support?
Someone told to use fgl_glxgears
, but it does not exist here, not even for installation with apt-get.
This is a topic with a lot of bad/outdated/incorrect information available.
Things which don't work:
This isn't an accurate indicator. The software renderer also supports direct rendering, so even if you don't have hardware 3D support you can have
direct rendering: Yes
glxgears
:This isn't an accurate indicator either. Recent versions of Ubuntu will have vsync enabled, so
glxgears
will only run as fast as the screen refresh rate. This meansglxgears
will almost always print an FPS of60
or thereabouts.What does work:
The output of
glxinfo
contains the information we want.The OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset line indicates that I'm using my Intel GM45 chip to do 3D rendering.
OpenGL version string: 2.1 Mesa 7.10.1 indicates the baseline OpenGL version that this driver/hardware supports (OpenGL 2.1) and the version of Mesa being used (7.10.1).
Finally, direct rendering: Yes on top of the previous two fields indicates that the driver is working properly with a direct rendering context. This will never be No unless something is really messed up with your install (or you're doing something strange, like connecting to a remote X server).
Examples of bad
glxinfo
output:Here we've got no hardware acceleration, so the
Software Rasterizer
is providing (slow!) 3D support.Here we've broken direct rendering by pointing LIBGL at a non-existent DRIVERS_PATH. The direct rendering pathway fails:
But indirect rendering is still working, because the display server has loaded the driver
(Note that the OpenGL version advertised is now OpenGL 1.4 - this is the newest OpenGL version for which there is an indirect rendering protocol).
Try
glxgears
instead, orglxinfo
.With
glxgears
you can see gears, and AMD users can use to configure the graphic properties: