When I have no other programs running,
compiz takes up at least 40% of my CPU.
Is this normal? If it is normal, is there anyway I could make this program take a smaller percentage?
I had the same problem that the CPU load went up to 70%~80% and that upset me for a long time after upgrading to 12.04 from 10.04.
And reset compiz settings to default or remove the
~/.config/compiz-1 folders didn't work.
But after I uncheck the "Sync to VBlank" box under OpenGL in
ccsm (CompizConfig Settings Manager), the CPU load drop to 1% immediately.
Hope this will help you and other guys...
Sorry for my poor expression (I'm a student from china).
Had the same problem. Compiz constantly at around 40% (AMD CPU, ATI 58xx, 12.04). Then i followed this post https://askubuntu.com/a/127310/26508 and CPU utilization dropped below 10%. Hope it helps.
EDIT with instuctions:
Just backup (rename)
~/.config/compiz-1 directories and let them to be created again with the default settings (you'll need to logout and login back again).
mv ~/.compiz-1 ~/.compiz-1.BACKUP mv ~/.config/compiz-1 ~/config/.compiz-1.BACKUP
After having restarted and confirmed that everything works as expected, you can simply remove these backups (unless you have a use for them).
rm -Rfv ~/.compiz-1.BACKUP rm -Rfv ~/config/.compiz-1.BACKUP
It helps to do a
unity --reset also
apparently there is a bug with ATI card base on this site: http://followthegeeks.com/compiz-is-consuming-too-much-cpu-heres-the-solution/
based on that site there is a few step :
- install compizconfig-settings-manager (CCSM)
- navigate to opengl then change Texture Filter to Fast and uncheck sync to VBlank
- close CCSM then restart ubuntu
check in system monitor, hopefully compiz will not need a lot of CPU anymore.
The new version of Compiz and the Unity plugin have major changes that make it behave differently. In my own case, I had to reset compiz settings to defaults in order to get it working appropriately after the upgrade to 12.04.
I have an ATI Radeon HD5750 card, and I really noted a great performance improvement (after fixing compiz) compared to 11.10.
I figured the same issue on ubuntu 15.04. My laptop was having lot of lag, and I saw that compiz was always up to 25% CPU load. I first searched around drivers but I finally found that compiz fall to 3% as soon as no webapp is opened. I used to use twitter and facebook with the native webapps (embeded in oxide).
Since I just use firefox, compiz does not climb upper than 5% CPU.
Hope it helps.
I figured out that on my laptop with NVIDIA 8600M GS graphics and proprietary nvidia-340 driver package, compiz was always using all the CPU it could get from a single core. With no other activity on my computer, this means a value close to 100% on one core, while the other takes care of all the other loads. Top also reports nearly 100% for compiz itself.
Of course, it seems a single thread stays active, so on a quad core PC, you would get 25% load, and 16% on a 6 core i7.
The whole computer was sluggish to the point of lagging for text input.
I ran "pilotes additionnels" (french language setting), the built-in ubuntu interface which installs proprietary driver, and I was offered a choice of NVIDIA driver versions, plus nouveau, the open source driver.
At the very end of the list, I noticed "nvidia-340-update", which is the same 340.96 proprietary NVIDIA driver, and I decided to give it a try. The 8600M GS is not supported in later driver releases. I let the installer compile everything, rebooted when asked to, and the high cpu usage from compiz was gone!
If it works for you, this solution fits the linux-restricted-modules infrastructure better than managing an NVIDIA driver manually. It replaces nvidia-340 by nvidia-340-update.