-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High cpu usage when moving windows. #4799
Comments
Could you provide a bit more info? Cinnamon version, video card, drivers, etc. Does this happen with all windows or just certain ones? Might be a dumb question but you aren't running in software rendering mode are you? |
I experience this also, since a few days. Probably caused by some update or install. top - 09:33:32 up 46 min, 2 users, load average: 0,99, 0,91, 0,71 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND I often have to click a window twice to activate it. Cinnamon 2.6.13 |
I see exactly the same high cpu usage when moving windows. I have a nvidia graphic card with proprietary driver and cinnamon 2.8.4+rosa installed. % uname -mrs |
update:
|
Same after upgrade to linuxmint 17.3 with cinnamon 2.8.6+rosa |
I have the same problem since I upgraded to linux mint 17.3. Cinnamon becomes slower after moving windows time after time or deleting several files. The cpu usage of cinnamon goes quite high when moving windows quickly. It happens for all windows. I have to restart cinnamon periodically to keep the system smooth. Cinnamon 2.8.6 |
Same here. Moving windows objects in cinnamon require a lot of CPU. I'm on Fedora 23x64 bit. With latest mesa + optimus technology and latest cinnamon:
Best Regards, |
Just to be sure it is not mesa issue - same with downgraded (distro default) version:
PS: Friend of mine with Arch Linux and all packages up to date doesn't have this issue. So I assume it may be hardware or Linux distro related : My specs:
|
Anything on this? My cinnamon is getting unusable :( |
I'm affected by this issue since cinnamon 2.8 on Mint 17.2 (now updated to Mint 17.3). Cinnamon is running in hardware rendering mode. Moving windows becomes annoyingly hard (lag) after a few minutes of normal use and cinnamon has to be restarted. I have an nvidia GT 430. Updating the kernel to 3.19 and all level 1 to 3 updates (including the latest proprietary driver) don't fix anything. It affects at least these applications: nemo, firefox, gedit, calc, evince, archive manager. I'm not sure but it didn't happen yet on nvidia-setting and banshee (but I don't play very much with these windows after they are open). |
Thunderbird and Chrome are making it worse. |
With chrome running, cinnamon is unusable. |
I've tested same computer with gnome-shell 3.16 and 3.18, no problem (even with chrome), moving windows is smooth with CPU below 10%. I say that because cinnamon is a fork of gnome-shell if that can help. |
Sounds like cinnamon is running in fallback mode. There can be various reasons for this but the only one that affected me personally was a libgl issue. The ones of you with nvidia graphics should try the proprietary driver and the nvidia-libgl |
@ManIVIctorious I'm not sure about this... I'm pretty sure that cinnamon is not in fallback mode. Also as I shown, all related packages are up-to-date and beyond. The most important part is that after fresh start or cinnamon restart everything is fine for the next 2-5 min. After that It's using all the cpu when windows are moved. I suppose may be a problem with buffers or cache. EDIT: Reinstalling all cinnamon packages didn't helped. Changing the desktop manager (lightdm -> gdm) also didn't helped. Right click on panel -> Troubleshoot -> Restore to default helped :) May I ask all effected users to try this? |
Of course nvidia proprietary driver is installed. If Cinnamon was running in fallback mode, I would have a warning message at login. |
Same for me, nvidia-340-updates is installed and I haven't the warning message at login. |
So far so good. Restoring Cinnamon to default (like presianbg suggested) seems to work. I will gradually reactivate my applets/extension; maybe one of them causes the issue. |
I have reinstalled two computers from scratch, one with nvidia 9600GT, the other with nvidia GTS450, both with proprietary drivers: same result, high CPU when moving windows and lag with chrome open. Like I said previously no problem with gnome-shell 3.16 and 3.18. |
The machine I have here has an older nvidia gtk260. I run the open source drivers on 3 installs, Mint, LMDE, and Ubuntu16.04 and don't have any of these issues. For those of you who have done new installs, do you get the issue when you first install or does it occur only after changing drivers? Or maybe after tweaking some settings or add some applets, extensions, or something else? |
As I have said previously, I have the problem with two new install of mint cinnamon 17.3, one with a nvidia 9600GT, the other with a nvidia GTS450, both with proprietary drivers and no tweaking (applets, extensions or other). When I move a windows, I see a high cpu usage with top. With chrome launched, cinnamon is unusable. |
@pingou67 which means at the very least you installed drivers and applications, so not a totally new install. Was it an issue when first installed? Using the open source drivers? |
@JosephMcc I just tested with the open source nouveau and same results. You do not see an high CPU usage (cinnamon process) when you move a window? |
No I don't and I've run cinnamon under multiple distros and with multiple machines. I mostly use firefox but I do use chrome on occasion and don't see an issue with it either. At worst my cpu usage will go to maybe 7 or 8% while moving a window but I don't think that is unexpected. That's why I was poking at people to find out what changes they made. There is some missing variable here that causes certain of you to run into this issue but not others. Issues like this are nearly impossible to solve until we can find the cause and a way to reproduce. |
My cpu is about 40% when I move a window (more with nouveau). With gnome-shell (ubuntu 15.10), it is like you 7-8%. I'm agree it's difficult to solve the problem without a way to reproduce it and I don't see the missing variable... |
Is there a way to verify that cinnamon doesn't running in software mode? |
Maybe we are facing many related issues here. Even after resetting Cinnamon to defaults, the "top command in a terminal" still reveals a somewhat high (easily 20 to 40%) cpu for cinnamon process while moving a window. So maybe the CPU usage is too high (I didn't compare with other DE), but the main point for me is that moving has to remain smooth (it was not before resetting to defaults). Also, I have to conduct more tests but my issue (moving becomes not smooth after some time) reappeared after I activated the intellide panel. Maybe others can confirm this. BTW I don't use chrome but sometimes I use chromium beta and it's not better or worse than with firefox. |
I have the same problem, up to 100% load on one core when moving a window |
same problem here. Weather it is moving a window, typing in a terminal, scrolling up and down on a webpage. I get a 1 second to 2 second freeze / lag every time the CPU randomly spikes for cinnamon. see below the random 81.2 and 99.5 CPU spike for the cinnamon process. Process CPU Spike:
Cinnamon Version:
CPU Info:
Graphics Card Info:
Nvidia Drivers Installed:
Temporary Resolution:
this tends to resolve it for a temporary period of time. But just comes right back again. |
Same issue. Example
Version
CPU
Drivers
Rebooting or completely obliterating Cinnamon fixes it until Cinnamon is up for around 20 minutes, then the problem starts happening. |
How can someone verify that cinnamon is not in software render mode?
When on "idle" just with (10+) opened windows chrome, terminals etc:
When moving any window:
when running pavucontrol on an active workspace (only when on active the cpu spikes):
While running glxgears:
OS: Arch Antergos On gnome i had problem with games fps, like 5fps... I would try Mint, but In the past i did try linux and did go back to windows because somehow every distro upgrade ended in failure ... And after years failing with disto upgrades on debian servers i somehow got burned by 'frozen' distros... Maybe someone could recommend some rolling distro with best Cinnamon support? |
@kolorafa - Manjaro with Cinnamon is pretty great. Couldn't wrap my head around pacman and the AUR, so I went back to Ubuntu as a base pretty fast, but it was easy to set up and worked quite well. |
@kolorafa I actually have the exact same video card that you do. I don't see those issues with Cinnamon. I do have a Core I7 instead of the Xeons but moving windows will maybe cause my cpu usage to 5%. I've had this machine for quite some time and will say that the Nvidia drivers have not been great. My system is far more stable on the open source driver. |
I was looking into memory usage, (as i did hit 12GB usage) while closing chrome and some random apps (like nemo that did use 3GB ram) the last thing was cinnamon that did use 1.5GB of ram. So i did ALT+F2 "r" ENTER It's not a problem to restart cinnamon every few days, as you don't lose any windows, all running stuff still run, but i hope eventually it will get fixed. So for people that encounter this problem, try to restart cinnamon as a temporary fix alt+f2, type r and enter |
@kolorafa We have had other people report high memory usage from Cinnamon that none of us can manage to reproduce. Since we use the same graphics hardware, would you mind providing some more info? For me, using alt+f2 and r, restarting cinnamon gives me around 180mb memory usage. After an uptime of a couple days it never goes above 210. I would be curious
The info would be appreciated so I could try to reproduce that level of memory usage. |
Bugs that i encounter:
cinnamon now use 452,2m , but i have more windows I could provide access to my machine if that would help gathering data. |
Hello everybody, I'm experiencing the quite same problem on my Lenovo T440. I'm concerned about it as it drains the battery and won't allow idling of CPU during office work -writing emails, documents, im etc. Which should not need too much CPU power. Running up to date Fedora 24
Is there anything I could help with ? Logs? Tests? |
I'm not seeing this issue with my T410 with F24 cinnamon-3.0.x. F24 & F25 wont be getting any more 3.0.x updates https://copr.fedorainfracloud.org/coprs/leigh123linux/cinnamon-next/ |
I can confirm that this issue is still in effect on Mint 18 with Cinnamon 3.0.7.
|
I've had this issue of high CPU usage when moving windows as well. For me it was exclusively associated with the applet "sticky@scollins". |
I have this problem (on a laptop with, only, inbuilt Intel graphics), having had to reinstall Cinnamon. I notice that in the 'Melange' debugger log I have this report: 'Cinnamon Software Rendering mode enabled'. However, I receive no other notice that that mode is enabled. I have trouble enabling the hardware rendering. Reinstalling my Intel graphics drivers didn't work. Nor did sudo update-rc.d -f mdm remove Now, resetting Cinnamon settings - via 'troubleshooting' (via right-clicking the panel) did work, once, and only until I rebooted; and now doing that reset seems not to help at all . . |
The following may be worth noting, both (1) perhaps as a means to improve Cinnamon (and I do think that it should always display the 'software rendering warning' upon login, if such rendering is being used; the problem should not, on occasion, be hidden in a log) I restored my whole root partition from an image backup - and the problem persisted. I restored my whole home partition from an image backup - and the problem was solved. |
Cinnamon 3.0.x is EOL, if you can reproduce with cinnamon 3.8.x feel free to file a new issue. |
Just as the title says. Cinnamon uses high cpu whenever I move windows. It is using 45-85%.
The text was updated successfully, but these errors were encountered: