How to tell if graphics processing in Ubuntu is utilizing hardware acceleration [duplicate]

Solution 1:

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.

Solution 2:

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