compiz HIGH CPU usage only during screen lock is ON
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I just realized that my problem is NOT screen switch OFF, but the screen lock is ON.
Therefore I removed this issue from duplicate.
My (updated) problem:
I got very HIGH CPU usage ONLY when screen lock is ON.
Again, I have NO PROBLEM during work (video playback, moving windows slowly or fast, no lag, everything is perfect),
BUT when I am out of computer: 20 secs after screen lock activates CPU fan starts and works heavily (my colleague started to complain due to my CPU fan in quiet environment).
When I switch off screen lock: compiz works nicely.
When I switch on screen lock for 1 min (after display goes off):
- My laptop is calm AFTER screen goes off,
- Ma laptop's fan starts 1 min 20 secs after screen goes off.
So confirmed: My problem is NOT screen switch OFF, but the screen lock is ON.
Data:
- Fresh install of Ubuntu 15.10 (plus some other non-desktop or gnome related packages)
- All energy consumption related settings are default (I have not changed them till now).
- Laptop: ACER Aspire V3-371
- CPU: Intel Core i5-5257U
- GPU: Intel Iris grapics 6100
- Display: 1920x1080 internal laptop display, no other display ever plugged in.
- 8G RAM
- 120G SSD
First few lines of top immediately after going on from IDLE:
top - 13:38:25 up 5:39, 3 users, load average: 1,13, 0,90, 0,58
Tasks: 200 total, 1 running, 199 sleeping, 0 stopped, 0 zombie
%Cpu(s): 8,6 us, 17,2 sy, 0,0 ni, 74,0 id, 0,2 wa, 0,0 hi, 0,1 si, 0,0 st
KiB Mem: 8211348 total, 3555940 used, 4655408 free, 103832 buffers
KiB Swap: 7844308 total, 0 used, 7844308 free. 2532732 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1396 mark 20 0 288468 114380 70560 S 101,1 1,4 117:11.91 compiz
880 root 20 0 351812 114572 101256 S 0,7 1,4 3:56.06 Xorg
1800 mark 20 0 864108 291328 78396 S 0,7 3,5 10:57.81 firefox
1365 mark 20 0 51868 8720 7216 S 0,3 0,1 0:10.89 ibus-daemon
5849 root 20 0 0 0 0 S 0,3 0,0 0:01.76 kworker/1:1
5914 root 20 0 0 0 0 S 0,3 0,0 0:00.03 kworker/u16:0
1 root 20 0 24884 4848 3716 S 0,0 0,1 0:01.46 systemd
After 20 minutes work, top is:
top - 13:54:31 up 5:56, 3 users, load average: 0,32, 0,24, 0,32
Tasks: 198 total, 1 running, 197 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3,6 us, 6,2 sy, 0,0 ni, 90,0 id, 0,1 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem: 8211348 total, 3536196 used, 4675152 free, 107652 buffers
KiB Swap: 7844308 total, 0 used, 7844308 free. 2496072 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6728 mark 20 0 7196 2844 2404 R 6,4 0,0 0:00.01 top
1 root 20 0 24884 4848 3716 S 0,0 0,1 0:01.46 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.66 ksoftirqd/0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0,0 0,0 0:06.86 rcu_sched
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0,0 0,0 0:00.02 migration/0
10 root rt 0 0 0 0 S 0,0 0,0 0:00.04 watchdog/0
11 root rt 0 0 0 0 S 0,0 0,0 0:00.04 watchdog/1
12 root rt 0 0 0 0 S 0,0 0,0 0:00.02 migration/1
13 root 20 0 0 0 0 S 0,0 0,0 0:00.54 ksoftirqd/1
15 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:0H
16 root rt 0 0 0 0 S 0,0 0,0 0:00.04 watchdog/2
Please have a look at the total compiz time used (today). Over 117 mins of CPU!
$ apt-cache policy compiz
compiz:
Telepítve: 1:0.9.12.
Jelölt: 1:0.9.12.
Verziótáblázat:
*** 1:0.9.12.
500 http://
100 /var/lib/
I can make any tests if you wish.
Thanks for helping.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: compiz-core 1:0.9.12.
ProcVersionSign
Uname: Linux 4.2.0-16-generic i686
.tmp.unity.
ApportVersion: 2.19.1-0ubuntu4
Architecture: i386
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Fri Oct 30 13:44:00 2015
DistUpgraded: Fresh install
DistroCodename: wily
DistroVariant: ubuntu
DkmsStatus: virtualbox, 5.0.4, 4.2.0-16-generic, i686: installed
ExecutablePath: /usr/bin/compiz
GraphicsCard:
Intel Corporation Broadwell-U Integrated Graphics [8086:162b] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:0919]
InstallationDate: Installed on 2015-10-26 (4 days ago)
InstallationMedia: Ubuntu "Wily" - Build i386 LIVE Binary 20151022-23:55
MachineType: Acer Aspire V3-371
ProcEnviron:
PATH=(custom, user)
SHELL=/bin/bash
LANG=hu_HU.UTF-8
LANGUAGE=hu
XDG_RUNTIME_
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: compiz
UdevLog: Error: [Errno 2] Nincs ilyen fájl vagy könyvtár: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/21/2015
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.28
dmi.board.
dmi.board.name: Aspire V3-371
dmi.board.vendor: Acer
dmi.board.version: V1.28
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.name: Aspire V3-371
dmi.product.
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.12.
version.libdrm2: libdrm2 2.4.64-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Fri Oct 30 07:58:32 2015
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 4397
vendor AUO
xserver.version: 2:1.17.2-1ubuntu9
description: | updated |
description: | updated |
summary: |
- compiz HIGH CPU usage only during screen is off + compiz HIGH CPU usage only during screen lock is ON |
I do not know if this helps, but immediately after IDLE (screen off):
top with separated CPU-s:
top - 14:38:27 up 6:39, 3 users, load average: 0,70, 0,32, 0,21
Tasks: 200 total, 1 running, 199 sleeping, 0 stopped, 0 zombie
%Cpu0 : 0,7 us, 1,0 sy, 0,0 ni, 98,3 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu1 : 0,0 us, 0,7 sy, 0,0 ni, 98,7 id, 0,3 wa, 0,0 hi, 0,3 si, 0,0 st
%Cpu2 : 1,0 us, 0,0 sy, 0,0 ni, 99,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu3 : 34,9 us, 65,1 sy, 0,0 ni, 0,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem: 8211348 total, 3645980 used, 4565368 free, 108936 buffers
KiB Swap: 7844308 total, 0 used, 7844308 free. 2569852 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1396 mark 20 0 288756 114788 70772 S 100,8 1,4 120:45.68 compiz
1800 mark 20 0 866636 332252 78480 S 0,3 4,0 13:16.19 firefox
4454 mark 20 0 125108 34428 26224 S 0,3 0,4 0:13.64 gnome-terminal-
5850 root 20 0 0 0 0 S 0,3 0,0 0:04.45 kworker/0:2
6878 mark 20 0 7172 2832 2364 R 0,3 0,0 0:00.23 top
1 root 20 0 24884 4848 3716 S 0,0 0,1 0:01.49 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.70 ksoftirqd/0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0,0 0,0 0:08.01 rcu_sched
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
So compiz is occupying one of my core 100% only DURING IDLE (screen off)
Mark