View Full Version : [ubuntu] Opengl/glut stopped working

February 4th, 2009, 05:38 PM
I recently upgraded my ubuntu from ubuntu 8.04 to ubuntu 8.10.
For the few days all the opengl programs were working fine.
But these days as i try to compile and run even a single opengl program it gives some error message and the program doesnt run..

once i complied my program as

gcc line.c -lglut
It compiles fine but as i try to run it via ./a.out it generates error as:

X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12

Can anyone help please!