← Back to team overview

compiz team mailing list archive

[Bug 1511727] Re: compiz HIGH CPU usage only during screen is off

 

** Description changed:

- SOLUTION:
+ I just realized that my problem is NOT screen switch OFF, but the screen lock is ON.
+ Therefore I removed this issue from duplicate.
  
- 1. Run ccsm (from package compizconfig-settings-manager)
- 2. In OpenGL > Sync To VBlank = OFF
- 3. In Workarounds, enable "Force full screen redraw (buffer swap) on repaint".
- 4. reboot
+ My (updated) problem:
  
- I made this bug as duplicate, but the bug found there (in ATI driver) is
- NOT TRUE, I have Intel GPU.
+ 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.
  
- Original problem:
- 
- I got very HIGH CPU usage ONLY when computer going IDLE.
- 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 display fades out CPU fan starts and works heavily (my colleague started to complain due to my CPU fan in quiet environment).
+ 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.2+15.10.20151015-0ubuntu1
    Jelölt:    1:0.9.12.2+15.10.20151015-0ubuntu1
    Verziótáblázat:
   *** 1:0.9.12.2+15.10.20151015-0ubuntu1 0
          500 http://hu.archive.ubuntu.com/ubuntu/ wily/main i386 Packages
          100 /var/lib/dpkg/status
  
  I can make any tests if you wish.
  Thanks for helping.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: compiz-core 1:0.9.12.2+15.10.20151015-0ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic i686
  .tmp.unity.support.test.0:
  
  ApportVersion: 2.19.1-0ubuntu4
  Architecture: i386
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  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_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=403e935b-5da2-4b34-8dd7-14f1c0cf0846 ro quiet splash vt.handoff=7
  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.asset.tag: No Asset Tag
  dmi.board.name: Aspire V3-371
  dmi.board.vendor: Acer
  dmi.board.version: V1.28
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: V1.28
  dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.28:bd08/21/2015:svnAcer:pnAspireV3-371:pvrV1.28:rvnAcer:rnAspireV3-371:rvrV1.28:cvnAcer:ct10:cvrV1.28:
  dmi.product.name: Aspire V3-371
  dmi.product.version: V1.28
  dmi.sys.vendor: Acer
  version.compiz: compiz 1:0.9.12.2+15.10.20151015-0ubuntu1
  version.libdrm2: libdrm2 2.4.64-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 11.0.2-1ubuntu4
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 11.0.2-1ubuntu4
  version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu9
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0+git20150819-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu4
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu3
  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

** Summary changed:

- compiz HIGH CPU usage only during screen is off
+ compiz HIGH CPU usage only during screen lock is ON

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1511727

Title:
  compiz HIGH CPU usage only during screen lock is ON

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1511727/+subscriptions


References