OpenGL GLX extension not supported by display ':0.0'

I’ve installed the latest version of Mesa to use the glut library. In building, there is no error, but if I try to execute the file, the following message comes and it stops:

freeglut (./a.out): OpenGL GLX extension not supported by display ‘:0.0’

What shall I do?

Check if glx is defined in your XF86Config of xorg.conf file (in /etc).

Also, tell what glxinfo outputs.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.