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?

2 Answers2

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
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.

Kaktarua
  • 1,874
leousa
  • 974
  • 7
  • 23
  • 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 04:04
  • 2
    Using glxgears is NOT recommended. It's inaccurate and uninsightful potentiality masking issues. – Martin Owens -doctormo- Oct 07 '12 at 15:34
  • 7
    @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 09 '16 at 17:55