[launcher] Pulsing animation while launching applications uses a lot of CPU and slows down application startup

Bug #769023 reported by Florian Boucault
56
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
unity-2d
Invalid
High
Unassigned
unity (Ubuntu)
Triaged
Low
Unassigned
unity-2d (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When launching applications from the Unity Launcher versus the Classic desktop. Launch times are slower.

Startup animations also often fail when using the launcher. When launching via a shortcut on the desktop, startup animations are smooth. With the Launcher throbber, however, they're often choked and make the window merely appear metacity style.

Revision history for this message
Florian Boucault (fboucault) wrote :

The following sample program reproduces the performance issue caused by the launching animation. To launch it:

$ qmlviewer -graphicssystem raster test.qml

CPU usage on the EFIKA board is around 20% while the animation is on which is the same as what the launcher uses when an application is started.

Revision history for this message
Florian Boucault (fboucault) wrote :

On my macbook pro 7,1 on Natty (= QT 4.7.2), nVidia 320GM, top shows the following CPU usage:

qmlviewer: 9%

Changed in unity-2d:
status: New → Confirmed
milestone: none → 3.10
importance: Undecided → High
Revision history for this message
Florian Boucault (fboucault) wrote :

From #760207, Olivier said:

"The cause of the slowdown and high CPU usage seems to be the lack of hardware support: computing the opacity requires non-trivial floating-point operations, doing it in software can easily hog the CPU.

We need to devise a less CPU-intensive alternative animation for low-end hardware."

Changed in unity-2d:
assignee: nobody → Florian Boucault (fboucault)
Changed in unity-2d (Ubuntu):
status: New → Confirmed
Changed in unity-2d:
milestone: 3.8.10 → 3.8.12
Changed in unity-2d:
milestone: 3.8.12 → none
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed for Unity 3D too (from bug 819118).

Changed in unity:
status: New → Confirmed
Changed in unity-2d:
assignee: Florian Boucault (fboucault) → nobody
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Coming over from bug 759813, where both myself and another user are still affected on 12.04.

Changed in unity (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
description: updated
Revision history for this message
Nipas (nik8pol) wrote :

Chaimcellor, It's my pleasure to help making Ubuntu better. No need to say sorry ;)

Revision history for this message
Nipas (nik8pol) wrote :

Just a small question: Does this bug concerns unity 2d only? Saying this because the previous bug that was marked as dublicate of this, concerned unity 3d.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

This is covering Unity 3D as well.

Revision history for this message
Nipas (nik8pol) wrote :

I think that this bug gives a pretty bad impression to the user, so in my opinion this bug should be marked as of high importance at all of the affected packages, given that the bug affects unity3d as well.
Other opinions guys?

Revision history for this message
Nipas (nik8pol) wrote :

I also want to report that the effect is not broken all the times. Strangely, sometimes its ok, sometimes its not. In addition, I notice that minimize effect is not always smooth (mostly in big sized windows) and I suppose this situation has to do with the bug. For example, if you snap a Chromium window to the right so it covers a relatively big part of the desktop, minimize it and restore it again, you 'll sometimes notice this behaviour.

Changed in unity-2d:
status: Confirmed → Invalid
Changed in unity-2d (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.