Originally Posted by morgoth
"mplayer -vo gl:swapinterval=3 foo.avi" seem to reproduce the same problems of CPU usage: I display a 25 fps video on a 75Hz display => swapinterval=3, CPU=100%. I'm not sure that mplayer code is really clean and uses GLXWaitVideoSync, so it would be better to code a simple program to reproduce the pb. But the symptoms are the same.
I sure hope that at least in this case the MPlayer code is clean :-)
Anyway, it uses glXSwapIntervalSGI (GLX_SGI_swap_control extension), since I never got GLXWaitVideoSync to work (probably stupidty on my part).