Comment 2 for bug 1051286

Revision history for this message
Alex Baines (abaines) wrote :

I'm experiencing this bug in any OpenGL application which sets its own swap interval to 1, either because it called glXSwapInterval{EXT, SGI} or because sync to vblank is forced on in nvidia-settings (or because the __GL_SYNC_TO_VBLANK environment variable is set to 1).

It causes the cpu usage of Xorg and compiz to be abnormally high, and the OpenGL application running will be very stuttery.

It is only present when compiz's "sync to vblank" option is also checked, and can be worked-around by commenting out the glXSwapInterval(0) line in the waitForVideoSync function of plugins/opengl/src/screen.cpp