MESA lib seems to have a small bug: http://cgit.freedesktop.org/mesa/mesa/commit/src/glx?id=63a6fd6603574c1c01324fbeb0863e39d3864c16
For using glxinfo and other related tools set the following in your .bashr:
export LIBGL_ALWAYS_INDIRECT=1