Compiz uses high CPU when a hidden window refreshes frequently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
What happens:
I noticed that Compiz uses about 35% of my CPU when I have a terminal window which frequently refreshes (displaying logs), even though that window is entirely hidden by other windows. However when minimized, the CPU usage drops to 'idle' (~1%).
What should happen:
A window that is not visible should not make compiz use more CPU than a minimized window.
Steps to repeat:
1. Launch a gnome terminal, maximize that window, and execute the following (to output stuff yet not too quickly):
while [ 1 ] ; do perl -e 'select(
2. Open another gnome terminal, maximize it, run top: Compiz CPU usage is high
3. Mimize the first gnome terminal window
4. top should now show that Compiz CPU usage is very low (idle)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: compiz-core 1:0.9.6+
ProcVersionSign
Uname: Linux 3.0.0-17-generic i686
.tmp.unity.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CompizPlugins: [core,bailer,
CompositorRunning: compiz
Date: Fri Apr 20 11:18:35 2012
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
DkmsStatus:
virtualbox, 4.1.2, 3.0.0-12-generic, i686: installed
virtualbox, 4.1.2, 3.0.0-14-generic, i686: installed
virtualbox, 4.1.2, 3.0.0-15-generic, i686: installed
virtualbox, 4.1.2, 3.0.0-16-generic, i686: installed
virtualbox, 4.1.2, 3.0.0-17-generic, i686: installed
ExecutablePath: /usr/bin/compiz
GraphicsCard:
Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e12] (rev 03) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device [103c:3035]
Subsystem: Hewlett-Packard Company Device [103c:3035]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: Hewlett-Packard HP Compaq dc7900 Convertible Minitower
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/12/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786G1 v01.26
dmi.board.
dmi.board.name: 3032h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP Compaq dc7900 Convertible Minitower
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.6+
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 803943, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.