I have compiled the opengl example
here.
g++ window-opengl.cpp -lGL -lGLU -lsfml-system -lsfml-window
When the example is run a 3d cube is shown devoid of shading. It might appear to rotate nicely for ~10 frames before freezing up. A few seconds later another ~10 frames are show and it freezes again.
I'm running 64-bit Ubuntu 11.04; the problem appear both with libsfml from the ubuntu repositories, and with libsfml compiled from source.
Any ideas on what is happening?
EditInterestingly if I add:
std::cout << "Time: " << Clock.GetElapsedTime() << std::endl
to the runloop, most of the jerkiness disappears, though it still stutters occasionally.