ActivityIndicators cause very high cpu usage for unity8/mir even when visible: false
Bug #1513450 reported by
kevin gunn
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Pocket Desktop |
Fix Released
|
Critical
|
kevin gunn | ||
Canonical System Image |
Fix Released
|
Critical
|
kevin gunn | ||
Mir |
Invalid
|
Critical
|
Alberto Aguirre | ||
Online Accounts setup for Ubuntu Touch |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-system-settings (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
Critical
|
Cris Dywan |
Bug Description
running in window mode, open u-s-s, run top
unity8 running at ~40% cpu on N7 cpu freq ~1GHz
no monitor attached
note: testing with silo 18 of mir containing lp:~albaguirre/mir/fix-1499039 (equivalent for 0.17)
Related branches
lp:~mzanetti/ubuntu-system-settings/only-animate-when-visible
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ken VanDine: Approve
-
Diff: 29 lines (+3/-3)1 file modifiedplugins/bluetooth/PageComponent.qml (+3/-3)
lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/animatorAnimateIfVisible
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/Ubuntu/Components/Themes/Ambiance/1.3/ActivityIndicatorStyle.qml (+1/-1)
description: | updated |
Changed in canonical-pocket-desktop: | |
assignee: | nobody → kevin gunn (kgunn72) |
Changed in unity8 (Ubuntu): | |
importance: | Undecided → High |
Changed in canonical-pocket-desktop: | |
importance: | Undecided → High |
Changed in canonical-pocket-desktop: | |
importance: | High → Critical |
Changed in unity8 (Ubuntu): | |
importance: | High → Critical |
Changed in mir: | |
importance: | Undecided → Critical |
description: | updated |
description: | updated |
summary: |
- higher than expected cpu for unity8 + ActivityIndicators cause very high cpu usage for unity8/mir even when + visible: false |
Changed in mir: | |
assignee: | nobody → Alberto Aguirre (albaguirre) |
status: | New → In Progress |
Changed in ubuntu-system-settings (Ubuntu): | |
importance: | Undecided → Critical |
Changed in canonical-devices-system-image: | |
assignee: | nobody → kevin gunn (kgunn72) |
importance: | Undecided → Critical |
milestone: | none → ww02-2016 |
status: | New → In Progress |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | New → In Progress |
no longer affects: | qtmir |
no longer affects: | unity8 (Ubuntu) |
Changed in mir: | |
status: | In Progress → Invalid |
Changed in linux-flo (Ubuntu): | |
importance: | Undecided → Critical |
Changed in linux-mako (Ubuntu): | |
importance: | Undecided → Critical |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Confirmed |
affects: | ubuntu-ui-toolkit → ubuntu-ui-toolkit (Ubuntu) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Changed in ubuntu-system-settings-online-accounts: | |
status: | New → Fix Released |
Changed in canonical-pocket-desktop: | |
status: | New → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Released → Fix Committed |
affects: | ubuntu-ui-toolkit (Ubuntu) → ubuntu-ui-toolkit (Ubuntu RTM) |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Some observations:
* For me, this happens only when the Bluetooth page in systemsettings is opened.
* Doesn't matter if windowed or staged mode
* Happens on all devices
turns out the Bluetooth Page in systemsettings is animating 3 ActivityIndicators even when they are not visible.
Not sure how that causes unity8's CPU usage to be that high, but the linked ubuntu- system- settings branch improves the situation a lot.
However, given that the ActivityIndicators are invisible, we probably should investigate why they keep on triggering rendering updates.
Adding ubuntu- system- settings, qtmir and qtubuntu.