17

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?

  • 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
21

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
  • Is there something equally convenient for Xubuntu? – Eyal Apr 29 '13 at 17:29
  • I do not see /usr/lib/nux/ on my freshly installed Ubuntu. – Suma Sep 17 '18 at 10:23
12

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.

  • 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
  • 2
    Using glxgears is NOT recommended. It's inaccurate and uninsightful potentiality masking issues. – Martin Owens -doctormo- Oct 7 '12 at 15:34
  • 6
    @Martin: is there any chance you could add what the recommended test is? – Ash Feb 24 '13 at 11:36
  • FWIW, in a VM on a MacBook Pro 17" 2011. Renderer is Gallium, in full screen (1920x1200), I get 450 to 550 fps. In the default size (small) gears window I get 2000 to 3000 fps. – FGM Aug 9 '16 at 17:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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