Comment 21 for bug 1027211

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [nvidia] Moving or resizing windows freezes and stutters on nvidia (especially if some other window is redrawing).

OK, so I've found the underlying cause of the extremely bad performance when moving OpenGL windows around (or moving anything around while OpenGL is running).

It seems the the NVIDIA driver completely chokes when you send any geometry change request (eg X_ConfigureWindow) to the server while its rendering something. This is even if you be careful to be completely asynchronous about it. Simply not sending those requests at all fixes the problem completely. This is, incidentally the way it used to be done in compiz.

However, its really not a world I want to go back to. Not updating the server immediately whenever compiz' impression of the window geometry changes causes all sorts of weird and wonderful race conditions that get icky fast. There might be some ways around that, but we'll have to see.

To be honest, it should be possible for the nvidia driver to handle this, so we should really take it up there. Every other driver handles it.

I really don't want to regress bug 923683 :(