CPU usage with screen off

Bug #1588873 reported by Pat McGowan
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Michał Sawicz
unity8 (Ubuntu)
Fix Released
Undecided
Daniel d'Andrada

Bug Description

With the latest rc-proposed 341 unity8 is at a steady 2.9% with the screen off and plugged into laptop over usb.

E4.5 running stable ota 11 and MX4 running 327 (5/14) do not exhibit this.

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :

Bisecting to see where this showed up.

Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Albert Astals Cid (aacid) wrote :

Introduced in MX4 image 341
http://people.canonical.com/~lzemczak/landing-team/ubuntu-touch/rc-proposed/meizu.en/arale/341.commitlog

So seems an unity8/qtmir regression really.

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Have mako (Nexus 4) with display off and a logged ssh terminal with "sudo powerd-cli active".

With pristine image, top says unity8 CPU usage fluctuates between 6% and 10%.

If I comment out the AnimatedSprite in Cursor.qml, CPU usage fluctuates between 0% and 1%.

So this indicates that the regression was introduced by http://bazaar.launchpad.net/~unity-team/unity8/trunk/revision/2439 as aacid pointed out (AnimatedSprite usage was introduced by that commit).

Changed in unity8 (Ubuntu):
assignee: nobody → Daniel d'Andrada (dandrader)
status: Incomplete → In Progress
tags: added: regression-proposed
Changed in canonical-devices-system-image:
assignee: nobody → Michał Sawicz (saviq)
importance: Undecided → High
milestone: none → 12
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.12+16.10.20160627.5-0ubuntu1

---------------
unity8 (8.12+16.10.20160627.5-0ubuntu1) yakkety; urgency=medium

  [ Albert Astals Cid ]
  * Stop watching the old header item height once it's not our header
    anymore
  * LVWPH: cull the header item when not on view to save some painting
  * Adapt test to new mock behaviour
  * Don't let the mouse go outside the parentItem (LP: #1525350)
  * Use non deprecated package names
  * Mark system includes as such
  * Fix initialization order warning
  * Do not rely on deleteLater not crashing on null pointers
  * Add more headers of classes we use for automoc to be run
  * CardTool: Fix the fallback value to be a size and not an integer
  * CardTool: Include Ubuntu Components since we're using units.gu
  * Rework tst_PreviewRatingDisplayCreationRanges

  [ Daniel d'Andrada ]
  * Cursor: Let AnimatedSprite run only on animated cursors and while
    the display is on (LP: #1588873, #1594358)
  * Fix missing screenshot when orientation changes while shell rotation
    ongoing (LP: #1587796)

  [ Josh Arenson ]
  * Make PreviewRatingSingleDisplay visible again after editing a
    review. (LP: #1587097)
  * Correct errors in all png images to prevent libpng warnings.

  [ Lukáš Tinkl ]
  * Fix some smaller issues with OOBE wizard password pages (LP:
    #1590467)
  * Prevent mouse wheel events from going through shell elements (LP:
    #1536268)
  * Do not let mouse and wheel events pass thru the titlebar (LP:
    #1588424)
  * Hide the maximize window button based on size restrictions (LP:
    #1541982)

  [ Marco Trevisan (Treviño) ]
  * Unity8.conf: ensure MIR_SOCKET is set for future customers (such as
    the dash)
  * ClientIndicator: be more informative about loading failures for
    dynamically created objects

  [ Michael Terry ]
  * Stop unity8 from getting in a "switch-to-greeter" loop when locking
    on a desktop. (LP: #1593718)

  [ Michael Zanetti ]
  * set minimum window sizes on dash
  * displace application windows when the OSK would cover them

  [ Nick Dedekind ]
  * Force dash to always stay in the main stage. (lp:#1592404) (LP:
    #1592404)
  * Save the last surface stage on stage drop. (LP: #1579003)
  * Default portrait only apps to the side stage. (LP: #1573153)

  [ Albert Astals Cid, Andrea Cimitan, Michał Sawicz, Nick Dedekind ]
  * Added live video playback in dash previews

 -- Michael Zanetti <email address hidden> Mon, 27 Jun 2016 18:48:59 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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