Comment 69 for bug 861061

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Unity makes 3D apps run much slower.

Status update:

I've found both this and bug 880707 are caused by a combination of Unity getting slower in oneiric than natty, and compiz (which is unchanged) being too inefficient to render such slow plugins smoothly. So in a way, the trigger is Unity but the real bug is Compiz itself.

Regarding this bug in particular, I stumbled across a nasty solution, which did indeed fix the frame rate problem. However it only improves the logical frame rate available to 3D apps and actually makes the screen appear to stutter and tear worse than before. The fix *roughly* involved raising the priority of the timer that renders the screen in compiz. However this actually makes appearances worse because it's then rendered at a higher priority than window resize/redraw operations, so the latter deteriorates.

It seems like the best solution to this bug will indeed involve optimizing the Unity plugin. No leads yet on which part of Unity needs fixing.