Compiz hogging CPU when screen off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| unity (Ubuntu) |
High
|
Andrea Azzarone | ||
| Xenial |
Undecided
|
Unassigned |
Bug Description
[Impact]
My CPU is constantly hogged @ around 15% by Compiz when the screen is off. Just waking the screen up is enough for the usage to go down again.
[Test case]
1. Lock unity and wait for the screensaver to start
2. log in to your machine using SSH
3. Check the compiz CPU usage using 'top' or similar
[Regression potential]
Lockscreen view could not be updated (damaged) correctly
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity 7.4.0+16.
ProcVersionSign
Uname: Linux 4.4.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
BootLog: Scanning for Btrfs filesystems
CompizPlugins: No value set for `/apps/
Date: Thu Jul 21 12:34:21 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus: virtualbox, 5.0.24, 4.4.0-31-generic, x86_64: installed
GraphicsCard:
Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell Haswell-ULT Integrated Graphics Controller [1028:05e3]
InstallationDate: Installed on 2016-05-06 (75 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. XPS 12-9Q33
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=pl_PL.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: XPS 12-9Q33
dmi.board.vendor: Dell Inc.
dmi.board.version: A06
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: XPS 12-9Q33
dmi.product.
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Wed Jul 20 11:16:11 2016
xserver.configfile: default
xserver.errors: SynPS/2 Synaptics TouchPad: Read error 19
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 1021
vendor LGD
xserver.version: 2:1.18.3-1ubuntu2.2
Related branches
- Marco Trevisan (Treviño): Approve on 2016-07-25
-
Diff: 12 lines (+3/-0)1 file modifiedplugins/unityshell/src/unityshell.cpp (+3/-0)
- Unity Team: Pending requested 2016-08-23
-
Diff: 1517 lines (+607/-196)26 files modifieddash/FilterExpanderLabel.cpp (+8/-0)
dash/FilterExpanderLabel.h (+1/-0)
debian/changelog (+43/-0)
decorations/DecoratedWindow.cpp (+29/-1)
decorations/DecoratedWindow.h (+1/-0)
decorations/DecorationsForceQuitDialog.cpp (+7/-7)
decorations/DecorationsPriv.h (+3/-0)
decorations/DecorationsWindowButton.cpp (+34/-15)
decorations/DecorationsWindowButton.h (+2/-1)
launcher/SwitcherController.cpp (+3/-2)
launcher/SwitcherView.cpp (+9/-2)
lockscreen/UserAuthenticatorPam.cpp (+3/-2)
panel/PanelMenuView.cpp (+1/-1)
panel/PanelView.cpp (+3/-0)
plugins/unityshell/src/unityshell.cpp (+28/-14)
plugins/unityshell/src/unityshell.h (+2/-2)
shutdown/SessionView.cpp (+0/-8)
unity-shared/CMakeLists.txt (+1/-0)
unity-shared/DashStyle.cpp (+42/-82)
unity-shared/DashStyle.h (+10/-14)
unity-shared/DecorationStyle.cpp (+6/-1)
unity-shared/OverlayRenderer.cpp (+113/-42)
unity-shared/PluginAdapter.cpp (+1/-1)
unity-shared/SpreadWidgets.cpp (+195/-0)
unity-shared/SpreadWidgets.h (+48/-0)
unity-shared/WindowButtons.cpp (+14/-1)
Michał Sawicz (saviq) wrote : | #1 |
Changed in unity (Ubuntu): | |
importance: | Undecided → High |
tags: | added: desktop-trello-import |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Andrea Azzarone (azzar1) |
tags: | removed: desktop-trello-import |
Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package unity - 7.5.0+16.
---------------
unity (7.5.0+
[ Andrea Azzarone ]
* [LockSceen] Remove numlock warning. (LP: #1526322)
* Make sure initiate and terminate callbacks are not empty before
calling them. (LP: #1605012)
* Properly destroy close_button_ to properly disconnect lambda. (LP:
#1605010)
* Use the standard notification-
notification. This allows us to scale it properly on high-dpi
setups. (LP: #1605231)
* Add tools to enforce unityshell plugin for the current profile and
add "move" and "resize" plugins as requirements. (LP: #1506023,
#1605007)
* When locked discard damages from windows below lockscreen. (LP:
#1605180)
[ Eleni Maria Stea ]
* DecoratedWindow: Added shadows for shaped windows
[ Marco Trevisan (Treviño) ]
* LockScreenAccel
calling them (LP: #1605012)
* DecoratedWindow: Cleanup shadows for shaped windows, reduce
recomputation
-- Marco Trevisan (Treviño) <mail@3v1n0.net> Wed, 27 Jul 2016 10:25:54 +0000
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Released |
description: | updated |
Hello Michał, or anyone else affected,
Accepted unity into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
Changed in unity (Ubuntu Xenial): | |
status: | New → Fix Committed |
tags: | added: verification-needed |
Michał Sawicz (saviq) wrote : | #6 |
LANG=C apt policy compiz
compiz:
Installed: 1:0.9.12.
It does seem to fix the issue, thanks!
tags: |
added: verification-done removed: verification-needed |
Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package unity - 7.4.0+16.
---------------
unity (7.4.0+
[ Marco Trevisan (Treviño) ]
* SwitcherView: always disable animations when in lowgfx mode (LP:
#1602784)
[ Andrea Azzarone ]
* When locked discard damages from windows below lockscreen. (LP:
#1605180)
* DecoratedWindow: display unmaximize button if the window is
vertically or horizontally maximized (LP: #1608480)
* Make sure the switcher detail view is properly scaled. Also scale
the xy_offset to make sure the switcher and launcher do not overlap.
(LP: #1605256)
* Close session dialog on first ESC. (LP: #1521116)
* Filter out scrolling envents for FilterExpanderL
* Disable menu discovery animation if MenusDiscoveryD
(LP: #942962)
* Redraw fake decorations on window resize. (LP: #940470)
* Use compiz:
IsWindowObs
scale/spread terminates. (LP: #1614116)
[ Marco Trevisan (Treviño) ]
* DecoratedWindow: avoid deferencing an invalid shadow texture ptr,
and split functions (LP: #1608464)
* DecoratedWindow: display unmaximize button if the window is
vertically or horizontally maximized (LP: #1608480)
* DecorationsForc
* UserAuthenticat
don't proceed if not set (LP: #1611668)
* DecorationStyle: set css name for Gtk 3.20
* OverlayRenderer: properly decorate launcher/panel when the launcher
is at the bottom (LP: #1611694)
* OverlayRenderer: don't use rotated textures, just rotate them at
rendering time
* SpreadWidgets: add container for spread filter and new spread
decorations (LP: #1283314)
* WindowButton: properly partially unmaximize a window when
middle/left clicking in the restore button (LP: #1616136)
-- Marco Trevisan (Treviño) <mail@3v1n0.net> Tue, 06 Sep 2016 23:17:39 +0000
Changed in unity (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
Martin Pitt (pitti) wrote : Update Released | #8 |
The verification of the Stable Release Update for unity has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Status changed to 'Confirmed' because the bug affects multiple users.