6

How I could tell if graphics processing (3D, video encode/decude) in Ubuntu is utilizing hardware acceleration (ie. using GPU). Is there a utility that can help?

tshepang
  • 1,937
  • 3
  • 20
  • 35
Kevin H
  • 161
  • 1
  • 1
  • 3
  • This might help [How to test 3d acceleration?](http://askubuntu.com/questions/150149/how-to-test-3d-acceleration) – girardengo Apr 30 '14 at 05:46

2 Answers2

8

Try the following command if you're running Unity:

/usr/lib/nux/unity_support_test -p

It will tell you if you're using a Software renderer.

Sylvain Pineau
  • 61,564
  • 18
  • 149
  • 183
4

you can use glxinfo to test if your X server is using the GPU driver. glxinfo queries X server about its OpenGL version, renderer string, Visuals supported and other infomation.

glxinfo | less
Avinash Raj
  • 77,204
  • 56
  • 214
  • 254
sgx1
  • 904
  • 6
  • 13
  • 1
    Even I had this doubt. So what am I supposed to look at in the output of this command? – ganezdragon Apr 30 '14 at 06:06
  • OpenGL version, vendor string, renderer string. then you'll know if you're running open source drivers or proprietary drivers or software rasterizers. – sgx1 Apr 30 '14 at 06:18