[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-21 Thread Omer Akram
** No longer affects: compiz (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: Unity makes 3D apps run much slower. To manage notifications about this bug go to: https://bugs.lau

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-21 Thread Daniel van Vugt
** Also affects: unity Importance: Undecided Status: New ** Changed in: unity Status: New => In Progress ** Changed in: unity Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: compiz (Ubuntu) Status: In Progress => Invalid ** Branch linked: lp:~vanv

Re: [Compiz] [Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Sam Spilsbury
On Sun, 13 Nov 2011, Daniel van Vugt wrote: Another totally unrelated thing, but kind of related while you're looking into the framebuffer object code. I did some work about a month ago to fix the "flicker" artefact that people saw when resuming from expo / on transformed screens because we w

Re: [Compiz] [Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Sam Spilsbury
On Sun, 13 Nov 2011, Daniel van Vugt wrote: > Thanks, I'll take a good look another day. > > Only one question: Is it acceptable to disable the panel blur for people > who have non-standard unity plugin settings like me? (panel opacity < 1.0) > > Given panel opacity is meant to be 1.0, I don't *th

Re: [Compiz] [Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Daniel van Vugt
Thanks, I'll take a good look another day. Only one question: Is it acceptable to disable the panel blur for people who have non-standard unity plugin settings like me? (panel opacity < 1.0) Given panel opacity is meant to be 1.0, I don't *think* that would be breaking the unity design (?) On

Re: [Compiz] [Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Sam Spilsbury
On Sun, 13 Nov 2011, Daniel van Vugt wrote: > Also, disabling the blur when the dash is not visible would probably > solve bug 865006. > Thanks Daniel. The BackgroundEffectHelper class has a static list of active blur regions, when that's zero, I'd say just don't bind the framebuffers (but you

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Daniel van Vugt
Also, disabling the blur when the dash is not visible would probably solve bug 865006. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: Unity makes 3D apps run much slower. To manage not

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Daniel van Vugt
Thanks Sam. Confirmed the bug does go away when I disable UnityFBO::bind (), UnityFBO::unbind and UnityFBO::paint. Of course, that disables all the nice blurring, but now I get full frame rate from all apps (!) I only had this bug in progress because I thought I had fixed it with other compiz opt

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Sam Spilsbury
I think that the framebuffer object implementation in unity might be the cause of the slowness. Currently, on every frame, we will bind and unbind a framebuffer object to capture the entire screen into, and then paint the entire screen on to the display every time the display is painted (at around

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-13 Thread Sam Spilsbury
(I'm currently studying for exams, so I don't really have time to look into this right now :( ) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: Unity makes 3D apps run much slower. To m

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-12 Thread Daniel van Vugt
** Changed in: unity (Ubuntu) Status: Confirmed => In Progress ** Also affects: compiz (Ubuntu) Importance: Undecided Status: New ** Changed in: compiz (Ubuntu) Status: New => In Progress ** Changed in: compiz (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvu

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-10 Thread Daniel van Vugt
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

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Chauncellor
@Rocko and anyone else affected. I've made a bug dealing with slow degradation of desktop performance at bug 888039. Come join the party. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title:

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Daniel van Vugt
** Changed in: unity (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: Unity makes 3D apps run much slower. To manage not

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Daniel van Vugt
@Rocko, P.S. Chauncellor was going to log a bug about the gradual degradation problem soon. Keep an eye on his bugs too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: Unity makes 3D a

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Daniel van Vugt
I know glxgears is a dirty word. That's why the test case uses glxspheres. But the conclusions are the same. My benchmarks were done without "Force full screen redraws (buffer swap) on repaint". Sorry if it seems like I hijacked the bug. I'm just trying to get this (and similar) bugs resolved as

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Daniel van Vugt
I have excellent bad news :) Bug 880707 (the unsightly tearing) seems to have the same root cause. I think there's a good chance both will be resolved by a single fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Rocko
>> ...we need to treat each bug as a separate bug... You're hijacking my bug now? :( BTW, I don't think glxgears is a good 3d benchmark - it was only ever intended as a quick check that GLX was available. I believe glxspheres is a much better benchmark, which is why it's included in virtualgl. I

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Daniel van Vugt
Here are my test results, though they are slightly skewed by the improvement in the intel driver between natty and oneiric... OS WMglxspheres glxgears --- - -- natty Unity-3D 30 60 oneiric Unity-3D

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Daniel van Vugt
Rocko, as per comment #53, we need to treat each bug as a separate bug. Could you please log the deterioration issue as a new bug, unless someone else already has?... ** Description changed: TEST CASE: 1. Install VirtualGL from http://sourceforge.net/projects/virtualgl/files/VirtualGL/2.2

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Rocko
I've seen the slowdown a few times since I last reported back. Once was after I ran remote X sessions on the target computer from another computer: when I returned to the target computer, it was running much slower than normal. At other times it has happened when there are a fair few applications r

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Rocko
After seeing that graph, perhaps it is a consistent problem (the difference between unity in Natty and Oneiric is astonishing)... but the issue I originally reported turned out to be a deterioration-in- performance issue that sometimes persists across several reboots. -- You received this bug not

[Bug 861061] Re: Unity makes 3D apps run much slower.

2011-11-09 Thread Daniel van Vugt
And here is a nice graph from Achim's duplicate... https://bugs.launchpad.net/ubuntu/+source/unity/+bug/871640/+attachment/2534367/+files/unity_performance.pdf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/