X takes 70% of CPU when changing virtual desktop (Nvidia, compiz)

Bug #571731 reported by Laurent Claessens
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: compiz

My CPU usage of X goes to around 70% and get stuck there at the moment I change of virtual desktop with the Compiz's "wall" effect.
If I goes to tty1 and goes back to the graphical mode (ctrl-alt-f1 - ctrl-alt-f7), the CPU usage of X goes back around 10-15%, which is reasonable.

This phenomenon can be linked to the number of open windows. I performed some tests, no combinations of 2 or 3 of my favourites windows can reproduce the problem.
My favourite windows are
Akregator
Thunderbid 3
Amarok
Boinc
Konqueror
Vim
None of them is able to reproduce the problem alone, but when they are open togheter, I am rapidly stucked at 20%.

It could also linked to the fact to open many windows at the same time. I am used the morning to open all of them at once in the same time as Compiz and Emerald (via a bash script). When I open them one by one, it takes longer to trigger bug.

As an example, I typeset this bug report in Vim, opening all my programes one by one without triggering the bug. Now I got the bug exactly when Konqueror opened itself because of ubuntu-bug.
It seems that the fact to have Konqueror opened in a somewhat complex page is a strong trigger, although it is not 100% reproducible (like this bug report page of newspaper)

What kind of further tests do you suggest me to perform ?

I'm using a Nvidia card with the driver recommended by jockey-kde, and Compiz with 5*5 virtual desktops (wall)
I do not have the issue on my laptop : same OS, same windows open, but Intel card.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: compiz 1:0.8.4-0ubuntu15
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CompizPlugins: [core,ccp,move,resize,place,decoration,dbus,gnomecompat,imgjpeg,video,svg,regex,workarounds,text,session,splash,png,resizeinfo,animation,wall,shelf,wobbly,fade,scale,expo,scaleaddon,group,staticswitcher,bench]
Date: Thu Apr 29 16:27:31 2010
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Beta i386 (20100317)
MachineType: Dell Inc. Inspiron 530
PackageArchitecture: all
PciDisplay: 01:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8300 GS] [10de:0423] (rev a1)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=1572a37a-f8db-4fa7-893c-728f5bb1c5fe ro quiet splash
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 xserver-xorg 1:7.5+5ubuntu1
 libgl1-mesa-glx 7.7.1-1ubuntu2
 libdrm2 2.4.18-1ubuntu3
 xserver-xorg-video-intel 2:2.9.1-3ubuntu5
 xserver-xorg-video-ati 1:6.13.0-1ubuntu5
SourcePackage: compiz
dmi.bios.date: 07/12/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.3
dmi.board.name: 0RY007
dmi.board.vendor: Dell Inc.
dmi.board.version: ���
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: OEM
dmi.modalias: dmi:bvnDellInc.:bvr1.0.3:bd07/12/2007:svnDellInc.:pnInspiron530:pvr:rvnDellInc.:rn0RY007:rvr:cvnDellInc.:ct3:cvrOEM:
dmi.product.name: Inspiron 530
dmi.sys.vendor: Dell Inc.
system: distro = Ubuntu, architecture = i686, kernel = 2.6.32-21-generic

Revision history for this message
Laurent Claessens (moky-math) wrote :
Revision history for this message
Laurent Claessens (moky-math) wrote :

After some tests, I'm convicted that the bug is more related to the number of open windows than to the nature of these windows.

tags: added: compiz-0.8
Revision history for this message
ngsupb (ngsupb) wrote :

Do you have an external monitor?
I am having a similar issue (nvidia+compiz) when an external monitor is plugged in. xorg uses too much cpu when I have different windows opened.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance and sorry for the late response.

Changed in compiz (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.