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,967
Kevin H
  • 161

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.

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
  • 78,556
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