I have simplified my problem to this example:
#include <GL/glut.h>
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
glutInitWindowSize (600, 600);
glutInitWindowPosition( 0, 0 );
int win = glutCreateWindow("Recon");
return 0;
}
When it executes the glutCreateWindow, it takes about 1 minute and the screens flicker several times.
This is ridiculously long. This can't be normal.
Environment:
- Fedora 10
- Dual NVIDIA GTX280 cards driving 3 monitors.
- NVIDIA driver version 190.53 CUDA 2.3 installed
- gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
Any ideas as to what could be wrong?
Edit: I have no display function because my ultimate goal is to create a rendering context so that I can create a Pixel Buffer Object from some CUDA code (which for the moment is not going to be displaying its output. I have also tried creating a context with a series of glx calls with the same delay and flickering happening when gkxMakeCurrent is called.