After installing debian in VMware and installing all librarys required to run OpenGL applications with freeglut, I used glxgears
to make sure everything works fine.
# glxgears
3426 frames in 5.0 seconds = 685.171 FPS
3562 frames in 5.0 seconds = 712.339 FPS
...
XI0: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 33172 requests (33170 known processed) with 0 events remaining.
glxgears
seems to be running fine. It displays the gears roatating in a window even though the above error appears after clicking on "Close" on the glxgears window frame.
But when I attempt to execute a simple OpenGL program using freeglut3, I get the following result:
# ./program
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 34 ()
Serial number of failed request: 36
Current serial number in output stream: 35
A program which works using all the same files and libraries on a non-virtual machine, not available for me at home.
How can I resolve this issue? Is this a common problem with running OpenGL programs on virtual machines?