thankyou for this post...
this is needed for alot apps. And helped me with playonlinux
Under debian 5.0.5 and most deb distro's
#apt-get install mesa-utils
check to see if you have direct rendering
#glxinfo | grep rendering
direct rendering: Yes
To show glxgears animation. And show you alot of info about the graphics driver(renderer,version,vendor and extensions.) Plus at the end, it'll show you the frames in 5.0seconds.
GL_RENDERER = GeForce 9800 GTX/9800 GTX+/PCI/SSE2
GL_VERSION = 3.3.0 NVIDIA 256.35
GL_VENDOR = NVIDIA Corporation
GL_EXTENSIONS = GL_ARB_blend_func_extended
91585 frames in 5.0 seconds = 18316.934 FPS
91315 frames in 5.0 seconds = 18262.986 FPS