high cpu usage by compiz when idle in 12.04

Asked by Amichai Schreiber on 2012-09-24

I'm doing nothing. No browser is open, so no immediate suspects. compiz takes ~30-40% CPU.

$ top
 9071 *** 20 0 295m 66m 32m S 33 0.8 5:45.22 compiz
  104 root 20 0 0 0 0 S 8 0.0 0:21.36 kworker/5:1
 8449 root 20 0 181m 96m 8872 S 5 1.2 2:12.28 Xorg

(i.e. 33% here).

On ubuntu 12.04, with unity 5.14.0, on 3.2.0-30-generic-pae kernel.
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [Quadro 1000M] (rev a1)
Incidentally, it's a ThinkPad W520.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Solved by:
Amichai Schreiber
Solved:
2012-10-09
Last query:
2012-10-09
Last reply:
2012-09-24

Can you give the output of:

sudo lshw -C display; lsb_release -a; uname -a; dpkg -l | grep nvidia

Thanks

Amichai Schreiber (merutak) said : #2

  *-display
       description: VGA compatible controller
       product: GF108 [Quadro 1000M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:16 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:5000(size=128) memory:d3080000-d30fffff
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux **** 3.2.0-30-generic-pae #48-Ubuntu SMP Fri Aug 24 17:14:09 UTC 2012 i686 i686 i386 GNU/Linux
ii libkwinnvidiahack4 4:4.8.5-0ubuntu0.1 library used by nvidia cards for the KDE window manager
ii nvidia-common 1:0.2.44 Find obsolete NVIDIA drivers
rc nvidia-current 295.40-0ubuntu1.1 NVIDIA binary Xorg driver, kernel module and VDPAU library
rc nvidia-settings 295.33-0ubuntu1 Tool of configuring the NVIDIA graphics driver

thanks!

try:

sudo dpkg -P nvidia-current nvidia-settings
sudo apt-get clean
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

Reboot to test

Amichai Schreiber (merutak) said : #4

CPU usage still ~20-25%. The nvidia-current/nvidia-settings packages' version is now 304.43-0ubuntu1~precise~xup1

Amichai Schreiber (merutak) said : #5

I'm not sure why, but the problem no longer occurs now. Might be related to upgrade of nvidia packages to
304.51-0ubuntu1~precise~xup1