Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install and test 3d acceleration in Ubuntu 12.

I have read these pages:

I think I have installed it correctly, but I don't know how to test it.

I tried to play minecraft in the browser, but I got a black screen. It may be a java problem too, so I need to troubleshoot.

So how can I test my video card and drivers?

share|improve this question
I suppose that Downloading a 3D game form the Software Center could test 3D performance..but I don't know. – Uri Herrera Jun 13 '12 at 2:22

The command below could provide at least a partial answer to your question.

/usr/lib/nux/unity_support_test -p

The command tests whether your video adapter will support Unity 3D. While it does not test 3D acceleration per se, it will at least test for the 3D features which Unity 3D requires.

And, what the heck, it comes with Ubuntu so all you have to do is open a terminal window and run it. ;-)

Here is an example of the output.

irrational@VBx64:~$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string:   Humper
OpenGL renderer string: Chromium
OpenGL version string:  2.1 Chromium 1.9

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes
share|improve this answer
Is there something equally convenient for Xubuntu? – Eyal Apr 29 '13 at 17:29

An easy way to test it (not a benchmark test though) is using glxgears.

sudo apt-get install mesa-utils

then in a terminal type: glxgears

It will display your frames per second (fps).

More info here.

share|improve this answer
I had to type: sudo apt-get install mesa-utils to install it and the FPS was synched to my vertical refresh, so it was capped at 60 fps. – Jeff Jun 13 '12 at 4:04
Using glxgears is NOT recommended. It's inaccurate and uninsightful potentiality masking issues. – Martin Owens -doctormo- Oct 7 '12 at 15:34
@Martin: is there any chance you could add what the recommended test is? – Ash Feb 24 '13 at 11:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.