To check if 3D hardware acceleration is working for openGL, you can use the following command:
glxinfo |grep rendering
This should output "direct rendering: Yes".
If it gives the same but then with "No", hardware 3d acceleration is disabled and all rendering will be done on the CPU ('software' rendering)
Or just take a look here
in LQ WIKI