I have a simple OpenGL program using SDL on Linux that just attempts to load and print the OpenGL version.
cout << "GL_VERSION : " << glGetString(GL_VERSION) << endl;
When I run the program it just hangs, with the output as below... it basically appears to be "waiting" for the OpenGL library to respond:
GL_VERSION :
It is linked against the Nvidia Ubuntu OpenGL libraries (nvidia-current-dev pkg). I do have Mesa installed on system also, but as you can see from 'lsof' it appears Nvidia is being used.
sdl-hack 29491 x mem REG 8,18 34639056 4212198 /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
sdl-hack 29491 x mem REG 8,18 11728 4212207 /usr/lib/nvidia-current/tls/libnvidia-tls.so.295.40
sdl-hack 29491 x mem REG 8,18 1054832 4212209 /usr/lib/nvidia-current/libGL.so.295.40
Please note that I did have to install 'libglu1-mesa-dev' to provide glu.h as this is not part of the Nvidia dev pkg.
Not really sure how to debug this one, can someone point me in the right direction?