[Bug 803943] Re: compiz consuming a lot of cpu
** Changed in: unity (Ubuntu) Assignee: (unassigned) = GMPH (gmphtravel) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
This also effects me on my laptop Lenovo L412 with Intel Core i5 with Intel HD Graphics running on 12.10. Top shows between 80% and 140% cpu and a load index between 1,2 and 1,4 in idle phase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
No more comments please. If you still have any problems, please log a bug of your own using this command: ubuntu-bug compiz This bug is Fix Released as per comment #200. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
The problem still exists in 12.10. Moving a window makes Xorg use 80% and Compiz 20% of CPU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Jesús, try to remove fglrx driver if it is installed . This have helped me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
See comment #12. This bug is not hardware specific. I have the same problem on my Intel and NVIDIA cards. Should I post a bug for each card, replicate this bug but with the stipulation 'cross-hardware problem', or should we continue this bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
No more comments please. If you still have any problems, please log a bug of your own using this command: ubuntu-bug compiz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
OK, so this bug is being closed down. Now, which is the bug to subscribe to for staying up to date with efforts to fix persistent performance issues? Because the problem still exists in 12.10 Quantal beta 1. Moving around a window makes compiz use 25% and xorg 15% of cpu (Ivy Bridge i7, Intel Graphics HD 4000). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Comments #13, 34, 139, 180, 194, 202 and 204 are about performance issues with Radeon graphic cards, which *are not* the same problem of this bug report (which was originally noticed on a Intel graphic card). Please, open another bug report for the Radeon problem (if there is no report about it yet). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
As the original bug reporter, I can confirm this bug is now solved *to me* with Ubuntu 12.04 (unity version 5.14.0-0ubuntu1). When idle, compiz consumes 1% of CPU time and when moving windows and doing other things related to windows management, it consumes about 5%. Daniel said in comment #197 that performance bugs are almost always too vague and subjective and I agree. My performance problem (which this bug report represents) is now solved. I'll mark this bug as fixed, and ask that other people that face similar performance problems that open another bugs reports with their specific hardware info and steps to reproduce. Thank you for your understanding. ** Changed in: compiz Status: Confirmed = Fix Released ** Changed in: compiz (Ubuntu) Status: Confirmed = Fix Released ** Changed in: compiz-core Status: Confirmed = Fix Released ** Changed in: unity Status: Confirmed = Fix Released ** Changed in: unity (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Probably the bugs marked as duplicates of this one should be unmarked as duplicated and set to incomplete, waiting for feedback from the original reporters to know if the problems still happening. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
What graphics card and associated driver are you using? I am on a Radeon 6950 with Catalyst 12.3 and am still having compiz utilize 2-3% CPU on idle and 50-100% while moving windows. I will try upgrading my graphics driver to see if there is any improvement. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
@Jesse Johnson: I don't have the exact graphic card model, but it was a Intel card (Asus Eee PC 1001HA netbook). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 803943] Re: compiz consuming a lot of cpu
The problem is not solved. I have the same issue with the Radeon 6850. Ubuntu Kernel 3.2.0-30-generic and unity 5.14.0 On 09/11/2012 09:07 AM, Jesse Johnson wrote: What graphics card and associated driver are you using? I am on a Radeon 6950 with Catalyst 12.3 and am still having compiz utilize 2-3% CPU on idle and 50-100% while moving windows. I will try upgrading my graphics driver to see if there is any improvement. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Seems this Bug is over a year old any idea when it might be fixed? I am running ATI Radeon 3300 on AMD64 4 core Phenom CPU. It used to to run alot faster on KDE. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Seems this Bug is over a year old any idea when it might be fixed? I am running ATI Radeon 3300 on AMD64 4 core Phenom CPU. It used to to run alot faster on KDE. The bug was about compiz becoming gradually slower over time, probably due to resource leaks caused by Unity). This has not been happening for me in a long time. I think we could close this bug as fixed and open new bugs for any other performance problems that may still exist. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I think we could close this bug as fixed and open new bugs for any other performance problems that may still exist. You are wrong, game performance is in the toilet with Unity. Run any game on Unity 3D that lets you check FPS then log out and log into Xfce and run the same game. You will see at least 35% increase in performance. Unity 2D is slightly better but oddly not that much. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
** Changed in: compiz Assignee: Daniel van Vugt (vanvugt) = (unassigned) ** Changed in: compiz-core Assignee: Daniel van Vugt (vanvugt) = (unassigned) ** Changed in: unity Assignee: Daniel van Vugt (vanvugt) = (unassigned) ** Changed in: compiz (Ubuntu) Assignee: Daniel van Vugt (vanvugt) = (unassigned) ** Changed in: unity (Ubuntu) Assignee: Daniel van Vugt (vanvugt) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Yes, there are real performance problems remaining in compiz and unity. We're still working on improving that from several different angles. I agree with Bernie that overcrowded performance bugs like this tend to never get resolved. That's because: 1. There are too many people to reach any consensus. So really we need to make the original reporter that sole authority on what works, and everyone who disagrees should log their own performance bugs. 2. People experience performance problems with different root causes. So they subscribe to a common bug and expect their problem will be solved when someone else's performance bug is resolved. Performance bugs are almost always too vague and subjective for everyone to agree. So generally we just keep working on improving performance every way we can, with help from peoples' comments, and eventually/sometimes the original reporter will decide the bug is closed. Sometimes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
That technique for bug resolution should work too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I think we could close this bug as fixed and open new bugs for any other performance problems that may still exist. You are wrong, game performance is in the toilet with Unity. Run any game on Unity 3D that lets you check FPS then log out and log into Xfce and run the same game. You will see at least 35% increase in performance. You're misreading my comment: I never said that compiz and unity are free of performance bugs. I'm saying that the problem described by the original reported is no longer reproducible. There might already be other launchpad bugs for the constant (non- degrading with time) performance hit that you've observed. If not, please go ahead and file a new one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
This bug causes overheating on my laptop. Beside this it makes 3D game unplayable. I have to use Unity 2D... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
This bug makes it particularly painful to use Google Chrome/Chromium as reported here: http://code.google.com/p/chromium/issues/detail?id=98200 One easy test case: Enable the compiz benchmark plugin (compiz-plugins-extra) Open google chrome with two tabs, one blank the other one pointing to: http://www.lri.fr/~kn/test.html (this is a blank page with a bit of javascript that changes the title of the page every two seconds). right click on the tab with the javascript code and choose pin tab. Now bring the other, non pinned tab in front. After two seconds. the pinned tab starts glowing to notify of the title change in the background tab. While the background tab is glowing, one can see 1) compiz renders at 60 FPS, burning between 15% and 20% CPU (depending on the machine I tested on). 2) strace of compiz shows that it is polling the X server socket at a very high rate (see linked bugreport). I could confirm this on precise, both on my laptop and desktop, both Intel graphic cards. Disabling V-sync does not help. Also this does not happen with compiz launched alone. If compiz is launched alone (just X, xterm, compiz and google-chrome), then compiz stays at a moderate 11FPS when the tab is glowing. ** Bug watch added: code.google.com/p/chromium/issues #98200 http://code.google.com/p/chromium/issues/detail?id=98200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
@kim.nguyen: confirming issue you have described — I'm experiencing it too for a pretty long time already -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
@kim.nguyen: videoadapter is nvidia GF 560 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Ubuntu 12.04 64bit, clean install noteboot: hp hdx16 video: nvidia 9m - when i don't touch mouse compiz eats 9% - when i move mouse - 20 - 30% - when i move window - 60 - 70% wtf? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Thank you for your reply! Another thing I noticed (beside the too high cpu in idle and doing simple tasks by Xorg and compiz) is that cpu usage gets up to 10 times higher when only moving the mouse cursor (in idle). This is for sure not normal, if i compare it to other systems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I also suffer on this problem on an ultra high end laptop with an i7 processor and a nvidia quadro 1000M (proprietary driver activated) graphics card running a clean install of the latest 12.10 builds. There are always two processes comsuming a lot of cpu: Xorg and compiz. At Idle both use around 3% cpu. If i do somthing, it doesn't matter if it is snapping a window, resizing a window, launch a programm or watch a video: compiz climbes up to 50% (very often) and sometimes even up to 118 for a second. This should not be the case. Disabling Unity plugin does not help very much, and disabeling sync to Vblank results in tearing (although cpu goes down a bit). I hope this bug can be fixed till the release of 12.10, because the Unity interface will be nearly perfect right then. This is a really big performance issue with high importance, because it can make users switch. Compiz and Xorg alone are causing very high CPU usage. KDE actually has a bit better performance concerning moving tasks ans especially snapping (compiz often consumes lot of cpu concerning this). When I play a video in KDE X is about 10% and kwin around 1 or 2 %. In Ubuntu Xorg is about 10% and compiz around 10%. But I have to admit Compiz is making great progress! I hope that 12.10 brings a lighter compiz! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
lunixhacker, The issue with nvidia+Xorg CPU usage is also discussed in bug 973506. I am personally curious to see if the fix for bug 1007299 helps with your compiz CPU usage. That fix won't hit quantal till at least compiz 0.9.8+bzr3265 (or later). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
This is a problem for me too. After many attempts at doing other things I was able to reduce (not eliminate) load averages from around 50% to 20% by removing VBlank in the CCSM and disabling Vertical refresh in AMD cccle. After I did unity --reset I noticed I kept getting error messages but they scrolled away quickly - however I could capture the parts where the error was shown and its below: (compiz:2409): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed Initializing unityshell options...done compiz (core) - Warn: unhandled ConfigureNotify on 0xc00090! compiz (core) - Warn: this should never happen. you should probably file a bug about this. compiz (core) - Warn: unhandled ConfigureNotify on 0xc000a1! compiz (core) - Warn: this should never happen. you should probably file a bug about this. If you need more info let me know what I should do. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
You may want to consider a related problem with the combination Compiz and Clamav. I did an upgrade last week from 10.04 to 12.04. After doing this, I noticed a significant slowdown in the performance, basically it became unusable for work. Looking at system monitoring, Compiz was somewhere in the range of using 50% of one processor, but more significant Clamav (installed from the repositories in 10.04) was using close to or over 100% of one processor. I could fry an egg on the laptop. I killed ClamAv and then removed it using package manager. This improved things instantly, though I must say I still perceive it to be slower than 10.04. Since it does not get hot anymore, but overall it is not great. Hardware: HP Compaq 6720S, HDD320GB, 1 GB ram. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Similarly to @fagg, I have disabled vertical sync. I have noticed idle usage drop from ~52% to ~28%. Which is an improvement. glxinfo output: OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Quadro 1000M/PCIe/SSE2 OpenGL version string: 4.2.0 NVIDIA 295.40 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
This affects me too. Can confirm that disabling vertical sync helps. Currently using a Dell Latitude E6410 with nVidia NVS3100M running TwinView mode. Performance was utterly atrocious prior to this, with periods where Compiz would hog a whole core. Disabling vertical sync seems to make the machine run much quieter and cooler. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
If disabling sync-to-vblank solves your problems then that means the driver is reporting that it can do sync to vblank, but then breaking its promise and not doing it when asked. But I'm not sure compiz is doing everything it can to detect such driver behaviour, so won't call it a driver bug just yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Okay, so I tried messing around with some options, and here's something that worked for me (on fglrx driver): - The problem goes away when I turn off Sync to VBlank (ccsm, OpenGL section). I don't remember having the high CPU usage while idle, but I did have the usage spikes while dragging windows. On my desktop (Radeon 2600XT), and my laptop (Radeon 4670), turning off Sync to VBlank dropped compiz's CPU usage while dragging windows from 25-70% to around 3-9%. I found the following workaround to be effective for me on both my desktop and laptop to both get rid of the tearing, and : (requires proprietary ATi drivers.) 1. Turn off Sync to VBlank in ccsm. 2. Open up the Catalyst control center, (command: amdcccle) 3. Turn TearFree Desktop on (it's under Display Options) 4. Change the Wait for vertical refresh setting to On, unless application specifies. (I had issues with compiz starting up, and changing that fixed it.) The result will be: compiz running with acceptable CPU usage and no tearing. The only side effect I've noticed is that sometimes while moving windows very rapidly, the cursor will jump and the little hand will become separated from the window it is dragging. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
About my previous comment.. For some reason I thought I had installed fglrx on this machine; but it would appear that it is not the case. So the solution in comment #178 may not work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I had some success by opening up CompizConfig Settings Manager (Alt+F2, ccsm assuming you have it installed.) and enabling copy to texture I noticed the CPU usage on my machine dropped from a hard 10% to about 2% even with programs open. I still find it odd that compiz's CPU usage spikes when I drag windows or sometimes when I have smooth animations in windows despite having the fglrx drivers installed, since it's supposed to be hardware accelerated. Leads me to believe that something is causing it to do more work than it should on the software side. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Daniel van Vugt, how can we try these fixes out? Is there a PPA that has them? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Karl, the XDamageReport fix (bug 1007299) still needs more development done before anyone can or should test it. As for bug 1005569, I heard last week that Ubuntu packaging had started selecting backporting some fixes including that one for the next update to 12.04. Sorry, no PPAs for those. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Dimitri, Biji, regarding comments #173 and #174, that is nvidia bug 92599. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
thanks #173 did that and cpu usage lower on nvidia 630M -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
When disabling vsync I have an additional problem next to tearing, which makes performance sluggish and increases tearing even more. Ubuntu wrongly thinks that my screens refresh rate is 50 when it is 60. Forcing compositing to 60hz improves the experience a lot. It's probably not as good as vsync, but it's very comfortable. I was never a big fan of vsync though, because it always at's a tiny tiny little delay. it's not instantanously. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Just to add data to the bug report, on my 4-core (8 threads) i7 setup, with ATI graphics and google chrome, after 5 days my $ top shows: top - 13:01:41 up 5 days, 19:52, 2 users, load average: 1.13, 1.30, 1.38 Tasks: 292 total, 2 running, 289 sleeping, 0 stopped, 1 zombie Cpu(s): 11.0%us, 5.3%sy, 0.0%ni, 83.1%id, 0.0%wa, 0.0%hi, 0.5%si, 0.0%st Mem: 9200596k total, 8530880k used, 669716k free, 147956k buffers Swap:0k total,0k used,0k free, 3719712k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2358 chris 20 0 1676m 152m 26m S 44 1.7 1064:58 compiz 3054 chris 20 0 2014m 451m 17m S 17 5.0 248:06.63 chrome 1156 root 20 0 663m 259m 184m S 12 2.9 251:51.52 Xorg 2945 chris 20 0 957m 167m 7292 S9 1.9 136:01.27 chrome Note how much CPU time compiz has used... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I hope this fix will help some people when it's finalized and approved: https://code.launchpad.net/~vanvugt/compiz/XDamageReport/+merge/108307 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Also this performance fix: https://bugs.launchpad.net/compiz/+bug/1005569 And probably more to come. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I've just updated three computers from Ubuntu 11.10 to 12.04. All have different ATI cards with drivers installed, and all have high cpu consuming by compiz. Though I haven't noticed any visible problems on the one of that computers. It's 4-cored notebook where interface responsibility isn't touched by this problem. Other two are 2-cored PCs and have noticeable interface lags compared to Ubuntu 11.10, making they almost unusable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I just updated three computers from Ubuntu 11.10 to 12.04. All have different ATI cards with drivers installed, and all have high cpu consuming by compiz. Though I haven't noticed any visible problems on the one of that computers. It's 4-cored notebook where interface responsibility isn't touched by this problem. Other two are 2-cored PCs and have noticeable interface lags compared to Ubuntu 11.10, making they almost unusable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Daniel. You are probably right. It was just odd the that compiz would only spike with Chromium/Chrome open. It would be good if one of the other reporters in this bug could try updating to see if they have the same result. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I just updated to precise proposed. unity 5.12.0ubuntu1.1 and compiz is FAR better now for me. It is idling around 2% CPU instead of 30% when chromium is open. Well done guys. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
xir, if 5.12-0ubuntu1.1 fixes your problems then you probably had bug 987304, or performance problems related to one of the other optimizations done in that update. [https://launchpad.net/ubuntu/+source/unity/5.12-0ubuntu1.1] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Hey, it seems I'm affected too: my compiz eats like 35% (up to 60%) of CPU while doing nothing. Here's my compizperf.txt I have just generated. ** Attachment added: compizperf.txt https://bugs.launchpad.net/compiz-core/+bug/803943/+attachment/3162828/+files/compizperf.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
And yes, disabling vsync drops CPU usage ~2 times -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I have the same issue with ubuntu 12.04, unity. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Daniel: I must say that I've never encountered any issues using perf against executables or libraries with stripped debug symbols. While, admittedly, I nearly never strip debug symbols from my own builds, these are still linked against distribution libraries, most of which have separate symbols. While I could be wrong, a quick Google search turns up plenty of evidence suggesting that the separate symbol configuration is supported[1][2][3][4]. That being said, much of this evidence is in the form of bug reports or patches fixing breakage, so you could very well be encountering a known issue. [1] http://www.spinics.net/lists/linux-perf-users/msg00262.html [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/608775 [3] http://www.spinics.net/lists/linux-perf-users/msg01131.html [4] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661193 ** Bug watch added: Debian Bug tracker #661193 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661193 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
** Bug watch removed: Debian Bug tracker #661193 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661193 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I am also experiencing this issue with a fully up-to date Ubuntu 12.04. My CPU for compiz at idle is always atleast 16%. When I restart the machine it goes back to sensible levels for a while. I can tell when It goes up again because windows don't move smoothly and my whole system seems laggier and less responsive and applications seem to take slightly longer to run. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Chris, does the workaround in #989035 helps ? (Disabling Vsync in Compiz Config Setting Manager) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I installed Compiz Config Setting manager (compizconfig-settings- manager) and disabled Sync to VBlank and idle cpu jumped from 16% to 5% straight away. Success! Thanks for that Autra. For the record Im running a Nvidia NVS 3100M with 2 screens. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Daniel, an alternative route to go would be to look up the number of wakeups the Compiz is causing rather than raw CPU usage. Similar to the output from powertop. When you mentioned installing the debug symbols did you mean a compiz-debug package in the repositories or something more? Simon -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Daniel, Having experienced this bug in the past myself, I would be happy to collect more profiling data. Unfortunately I'm running your pre-proposed PPA at the moment for which it seems there are no debug symbols. I'll downgrade back to the stock package and install debug symbols as soon as I am able. I'm assuming the following packages will be sufficient (correct me if I have missed anything), libunity-dev-dbgsym libnux-2.0-0-dbgsym compiz-core-dbgsym compiz-gnome- dbgsym compiz-plugins-dbgsym libgl1-mesa-dri-dbg libgl1-mesa-glx-dbg libnux-2.0-0-dbgsym and the appropriate kernel symbols (linux-image-3.2.0-23-generic-dbgsym in my case). If anyone is interested in trying this themselves, follow the instructions at https://wiki.ubuntu.com/DebuggingProgramCrash, install the above packages, and try collecting another profile with Daniel's original instructions. Moreover, I don't think it should hurt to enable callgraph profiling (-g). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Ben: From what I can tell, Linux perf is not capable of using separate debug symbols to the running binaries like gdb can. It needs you to be running the debug binaries, so the above wiki instructions won't work for 'perf'. According to the Ubuntu convention I believe this means we need -dbg packages built for unity and compiz. The -dbgsym packages won't work with 'perf'. All: If you did not do so already it is worth doing this before perf record: sudo sh -c 'echo 0 /proc/sys/kernel/kptr_restrict' That should be the same as running sudo perf record ... but without the need for sudo. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
It would be easier to contribute if you could relate exactly how the data collected by perf is inadequate. Are you worried about the time spent in kernel mode (as seen in https://launchpadlibrarian.net/105617534/compizperf.txt and https://launchpadlibrarian.net/105624580/compizperf.txt , although this could be tough given the binary blob in use)? Do you not see any hotspots you would expect (nothing too damning in two of the profiles)? Other concerns? Do you have any hypotheses or suspicions for what might be chewing up CPU time? Knowing what you expect from the profile would help us a lot in providing the data you need. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Ben, the data is inadequate because perf is failing to relate unity and compiz functions to the high CPU usage listed next to the kernel and nvidia driver. This does not mean the kernel or nvidia are to blame. It just means that the perf tool does not have enough information to get usable call stacks relating the high CPU usage to the areas of unity and compiz causing it. I believe the solution to this is probably to install debug symbols for the unity and compiz packages. If you know how to do this then please try. If not, then please wait till I have written some better instructions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Here is attached my perf report. ** Attachment added: compizperf.txt https://bugs.launchpad.net/ubuntu/+source/unity/+bug/803943/+attachment/3154865/+files/compizperf.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
here is my perf report. it was generated on the machine being entirely idle except for audacious playing an mp3. ** Attachment added: compizperf.txt https://bugs.launchpad.net/ubuntu/+source/unity/+bug/803943/+attachment/3154926/+files/compizperf.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I did some more testing and now I am sure the problem is not unity/compiz specific. My guess is that it is related to Xorg itself. In Unity2D, just moving a small window around brings the Xorg process to consume 20% CPU. In a XFCE session, moving such a window makes Xorg consume over 50% (!) CPU. Xorg should be added to the affected packages, imho. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Karl, all window management such as moving windows will cause some activity in the Xorg process. But this bug is about Compiz only. If you find performance issues with Unity2D and Xorg then feel free to log separate bugs about that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Sorry all... My instructions for using perf are inadequate and not generating good data. Please ignore them until I come up with better instructions (or you figure out something better :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I'm experiencing the same issue. The report I got from running the commands Daniel listed is attached. ** Attachment added: compizperf.txt https://bugs.launchpad.net/ubuntu/+source/unity/+bug/803943/+attachment/3153669/+files/compizperf.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
** Changed in: compiz Importance: Undecided = Medium ** Changed in: compiz Status: New = Confirmed ** Changed in: compiz Assignee: (unassigned) = Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
All, FYI, there are many different reasons why compiz uses lots of CPU in some cases. Often Unity is the cause, and often it's an indicator (like multiload - bug 784055). There is also still some overhead in inefficient rendering that could be improved. I think this bug has just become a general discussion forum, making it highly unlikely that a single cause will be cited and agreed upon. Instead, if you can find that something in particular causes compiz to use high CPU, or can find something that prevents it, then please log a separate bug about each particular issue. That way each problem is likely not be triaged and fixed in a more manageable way. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
That way each problem is likely to be triaged and fixed in a more manageable way., I mean. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Daniel. So what is the procedure for generating useful debugging info. You said above your dstack script is not useful. I'd love to get debugging info to you. -Jack -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Seems I got this problem after enabling more effects in ccsm. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
OK, here's a quick guide to recording a performance profile of compiz that we might be able to use... 1. INSTALLATION sudo apt-get install linux-tools-common Then you also need the package specific for your kernel. You can find out what it is called by running perf. That will tell you what you need. 2. RECORD PERFORMANCE Start this and let it run for a while: perf record -p `pidof compiz` Then stop it with Ctrl+C. 3. CREATE A REPORT In the same directory (where perf record created file 'perf.data'), run: perf report compizperf.txt And attach the file compizperf.txt to this bug. It's quite possible that this kind of simple flat profile won't help us. If that's true then you just need to add the -g flag to the perf record command. But don't do that yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Same issue with ATI 6870 in Ubuntu 12.04 64 bit with both drivers from repos and from AMD. While playing a (not hd) video whole OS was frozen I could not drop into shell with pressing ALT+CTRL+F1/F2/... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
By the way I can help, with debugging reports if you want but first you should tell me which packages are needed for perfect reporting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I'm experiencing this as well in a fully patched Ubuntu 12.04 install on a MBP 8-2 early 2011. 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series] [1002:6760] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
this is affecting me too. Compiz goes mad upon opening chromium. 12.04, 2:8.960-ubuntu1 amd graphics driver. (4000 series gpu). Changing Vblank in CCSM doesn't improve the CPU usage. Nor does making amdccle wait for vertical refresh. Enabling tear free desktop does not have any affect either. Nor does enabling/disabling catalist AI. Without Vblank however the dash is MUCH more sluggish, to the point of not being usable. Attached is the messages from a stock unity configuration when launching chromium, I think some of it may help. ** Attachment added: unity_replace_with_chromium.log https://bugs.launchpad.net/ubuntu/+source/unity/+bug/803943/+attachment/3143502/+files/unity_replace_with_chromium.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
unity --replace whilst launching chromium ** Attachment added: unity_replace_with_chromium.log https://bugs.launchpad.net/ubuntu/+source/unity/+bug/803943/+attachment/3143503/+files/unity_replace_with_chromium.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
It seems that the issue is related to https://bugs.launchpad.net/ubuntu/+source/indicator-multiload/+bug/996273 . When I quit from the indicator-multiload, the compiz CPU usage reduces from 10-12% to 1-3%. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Disabling vsync worked for me ! Compiz dropped from 10-20% CPU to ~5% -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Enabling vsync in my netbook (nvidia Ion platform) causes a major increase in cpu usage, and as side effect every application has a lower framerate, it is particularly evident in video clips. Disabling it, everything becomes smooth. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Just to point out, compiz using a constant 5% of CPU time can only be considered good in comparison to compiz using a constant 10-20% CPU time. If there's nothing happening on the screen then compiz should be essentially completely idle and using much less than 1% of the CPU time, if any. A constant drain of 5% busy is a disaster for power savings, battery life, heat, etc., at the very least. It's definitely possible for compiz to use essentially no resources when idle. That's how it used to work... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I can also confirm that disabling vsync results in low cpu usage in unity. Dropped from about 40% to 5% when moving windows. What do you need vsync for anyway? The applications take care of their window content being in sync themselves. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I can not confirm that disabling vsync would help. with and without vsync compiz consumes 20%-25% cpu when i move a small window around. btw, dimitri, vsync is an essential technique in computer graphics to prevent tearing ( http://en.wikipedia.org/wiki/Screen_tearing ) but it never really worked for X11. Ubuntu 12.04 is the first release that really reduces tearing but now we have this cpu issue. :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I can not confirm that disabling vsync would help, too. Dell D830 with Nvidia NSV140M (similar to 8400) and proprietary drivers (295.40). CPU usage while slowly moving windows goes from 60% to 10%. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Sorry, I was meaning: I CAN CONFIRM THAT that disabling vsync would help, too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Disabling vsync on my laptop (HP pavilion dv7 with Intel SB + AMD HD6770m, currently the Intel GPU is used) does nothing. Compiz consumes the same 7-12% of CPU (it was about 1-2% before). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I do confirm the bug. Right after installing Ubuntu 12.04 top showed 25% average CPU usage for compiz. After disabling vsync the average CPU usage dropped to 5%. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
With the rhythmbox window open and rhythmbox playing a song (and the slider slowly moving from left to right), but with the rhythmbox window _NOT_ visible, compiz consumes ~10% CPU constantly (Firefox at full screen, two gnome terminals [top dstack] in front of it). dstack seemed to indicate that waitforvideosync (sp?) is (almost, behind some fglrx calls, and ioctl at the very top) at the top of the stack pretty often. That's expected I guess, but I wasn't sure if ioctl can be used to block a thread, so I unchecked the vsync option in ccsm. compiz CPU usage is now down to ~3% with vsync disabled and rhythmbox not visible. slow scrolling in firefox with vsync enabled: ~50% compiz CPU usage slow scrolling in firefox with vsync disabled: ~16% compiz CPU usage I'm not sure what to think of this. Busy waiting for vsync in fglrx? Or is the lower CPU usage just some side-effect in compiz caused by disabling vsync? Daniel, thanks for your efforts to improve compiz. :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Thanks Florian. It sounds like your graphics card and driver is so fast that maybe compiz is rendering multiple frames per physical frame. That's unusual but I can imagine it might be possible with fast graphics and the new compiz rendering method in 12.04. Can anyone else confirm the CPU usage drops significantly when vsync is disabled? To disable vsync... 1. Run ccsm (from the compizconfig-settings-manager package) 2. Go to the OpenGL section and untick Sync To VBlank. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I can confirm that CPU usage drops significally when vsync is disabled. To be specific: Vsync enabled: When computer is completely idle compiz cpu usage is 1-2 % When dragging the terminal window gently compiz cpu usage is approx. 30-35 % Vsync disabled: When computer is completely idle compiz cpu usage is 0 % When dragging the terminal window gently compiz cpu usage is approx. 15% The bad thing is that disabling vsync causes other significal problems such as not smooth window moving! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
** Changed in: compiz-core Assignee: (unassigned) = Daniel van Vugt (vanvugt) ** Changed in: unity Assignee: (unassigned) = Daniel van Vugt (vanvugt) ** Changed in: compiz (Ubuntu) Assignee: (unassigned) = Daniel van Vugt (vanvugt) ** Changed in: unity (Ubuntu) Assignee: (unassigned) = Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I can also confirm that when compiz is using up a lot of resources disabling vsync reduces CPU usage about 50% - almost instantly. But, even with this reduction compiz still uses a lot of cpu when chrome is open and doing nothing... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
I confirm that disabling vsync reduce cpu usage of compiz (35 - 8 while scrolling for compiz). But Xorg use always a lot of cpu, so the global cpu reduction is not that spectacular. The only disadvantage I see is when I move a windows (not as smooth). Other animation like scale mode are unchanged. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Oh yeah, never been under 10% at idle. With Gnome classic I got 2%, and that's way better when playing a video or moving a window. Please fix this asap, I think that unity in 12.04 is better than previous versions, but this problem is ruining the user experience. I sometimes regret my old 11.04 for the smoothness. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Same problem here. Compiz don't use a lot of cpu idle (2% constantly), but the smallest action take a LOT of cpu. A simple tab in chrome whith a notification animation takes 50% of the cpu (because of compiz), a simple tab changing, a simple scroll, a simple dash open... In Ubuntu 11.10, compiz used 8 to 15% idle (so it's a lot better now), but a simple action didn't take such cpu consumption. Now my fans are crazy when I do a simple google search. It's not a medium importance bug, it's a HUGE problem. It runs on a Dell Vostro 1320. glxinfo | grep OpenGL OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 8400M GS/PCIe/SSE2 OpenGL version string: 3.3.0 NVIDIA 295.40 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler OpenGL extensions: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
For me this seems to be a problem ~40% CPU while actively using browser, and the same while away from the computer if I left the Facebook tab open. Closing the Facebook tab reduces the compiz CPU significantly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803943] Re: compiz consuming a lot of cpu
Hello, i also have recognized the same behavior. My load-level at idle goes not under 0,3. Sometimes i have 1,0 and nothing special is running regarding to top. With 11.04 and Gnome i has about 0,0x. Also the fan runs now more frequently. It runs on a Dell Vostro 1510. $ glxinfo | grep OpenGL OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 8400M GS/PCIe/SSE2 OpenGL version string: 3.3.0 NVIDIA 295.40 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler OpenGL extensions: Please let me know if someone needs more information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803943 Title: compiz consuming a lot of cpu To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/803943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs