View Single Post
Old 11-18-07, 11:57 AM   #13
Registered User
Join Date: May 2004
Posts: 711
Default Re: @Nvidia: OpenGL apps with compiz enabled run slower

Originally Posted by Doogman
As others have stated, this isn't really a Nvidia problem, but one with compiz. Compiz can't really distinguish between regular windows and 3D apps (games), so the game display has to run through the compiz "effects" code (even though nothing is happening) causing the slowdowns you have seen.

First, I have to respond to this:

The major assumption your are making is that the frame drops are occurring at a steady rate. Of course, this is wrong. What happens is that you get some time when no frame rate drop occurs and then a big blast of dropped frames which is very noticeable and much worse than a mere 5 fps of framerate loss would suggest.

The good news is that it's better than it used to be, but it's still a problem.

Ahhh, if only compiz had a setting so it would ignore full screen apps, allowing games to run at their full FPS without all that lag. But, wait, it does!

In Settings Manager/General/

Unredirect Fullscreen Windows

Unfortunately, the damn thing doesn't work properly. At this moment, it doesn't seem to help the FPS lags, but in UT2004 it does manage to steal the mouse focus so you can't play the game at all.

Alas, Unredirect Fullscreen Windows (UFW) is one of the buggiest features in compiz and has had a long history of not working, half-working and triggering other bugs. It seems most of the compiz developers don't use any other 3D apps at all besides compiz itself.

So, the solution to your problem is a working UFW setting in compiz, but this is the wrong forum to get a fix.
you can enable it and it works but you have to disable DamageEvents in your xorg.conf .. the purpose of Damage events is to help opengl apps when running compiz. (its on by default unless yo use SLI). The perfomance drop with compiz+ nvidia driver is minimal (I play games with compiz enabled and does not notice it ~1-4fps when benchmarking).
Dragoran is offline   Reply With Quote