Cinnamon all of a sudden very slow + high CPU usage

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

Cinnamon all of a sudden very slow + high CPU usage

Postby 0mull on Mon Nov 19, 2012 6:39 am

Hi everybody,

yesterday everything was fine, I have LM14 + Cinnamon on my work desktop for just a few days now and was thrilled, everything worked seamlessly and perfect. But now a huge setback - booted this morning and everything is super slow and laggy, cinnamon consumes 70-90% CPU usage. I found not much related to this on the net. I followed this https://github.com/linuxmint/Cinnamon/issues/1154 and the fixes suggested in the link don't really help much.

No error messages in looking glass, no defunct processes, as stated, I am running a nearly fresh LM 14 Nadia 64bit. What could be the cause? Where to start looking? Why the hell does it happen overnight??

Any help, ideas, comments whatsoever are greatly appreciated.

best, Georg
0mull
Level 1
Level 1
 
Posts: 15
Joined: Thu Oct 27, 2011 3:02 am

Linux Mint is funded by ads and donations.
 

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby zerozero on Mon Nov 19, 2012 8:00 am

0mull wrote:Why the hell does it happen overnight??

hardly the software mutates overnight (when the computer is off), so in order to help you, you need to remember and share with us everything you did (app installed/removed, services enabled/disabled, tweaks, every little think counts) since the moment cinnamon was working great until you shut down and found out latter this issue
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby 0mull on Mon Nov 19, 2012 9:02 am

Thanks for your reply.

services disabled:
caribou
mintupload
mintwelcome
bluetooth

last software installed:
dropbox - does not cause the problem. Ran fine with it before, and the problem persists if the daemon is off.
virtualbox
spyder - python IDE
mendeley - citation reference manager, is not a daemon and does not run

edit: forgot to add: I have the "weahter" and the "hardware monitor" applets, but the problem persists if both are turned off

last night I played mostly with blender - and thats not even installed.

Of course the software doesn't change overnight. I was more thinking of an update process or something similar that causes something to get stuck. Right now cinnamon peaks at 138% cpu usage. Any other information that could be of use? I don't know where I could look for useful cinnamon logs or error reports besides the looking glass, and there is nothing

Thanks, georg
0mull
Level 1
Level 1
 
Posts: 15
Joined: Thu Oct 27, 2011 3:02 am

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby eanfrid on Mon Nov 19, 2012 10:02 am

Maybe your GPU is using CPU/software 3D rendering (llvmpipe) instead of GPU hardware rendering. What is the result of "inxi -G" ?
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby 0mull on Mon Nov 19, 2012 10:56 am

Thanks for the suggestion, here is the output:

Code: Select all
Graphics:  Card: Intel 4 Series Chipset Integrated Graphics Controller
           X.Org: 1.13.0 drivers: vesa,intel (unloaded: fbdev) Resolution: 1680x1050@59.9hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 0x301) GLX Version: 2.1 Mesa 9.0


best, Georg
0mull
Level 1
Level 1
 
Posts: 15
Joined: Thu Oct 27, 2011 3:02 am

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby eanfrid on Mon Nov 19, 2012 12:29 pm

Check if you have any /etc/X11/xorg.conf left. You should probably rename (or delete) any xorg.conf. Mesa 9.0 is a brand-new version/branch of Mesa 3D utilities. Perhaps do you have some remaining tweaks that this new version doesn't like since recent (yesterday's) mint updates which couldn't show up bebore Xorg restart. I don't think this is related to the issues you found and read on github.
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby remoulder on Mon Nov 19, 2012 1:22 pm

0mull wrote:I have LM14

No, you have a RC version that may contain bugs and be subject to changes. You should wait until the final release and ensure you have made all updates before requesting help on unfinished versions.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7667
Joined: Fri May 09, 2008 1:14 pm

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby 0mull on Tue Nov 20, 2012 1:18 pm

Interesting, now it runs smooth again, and CPU load is down. At this point I have not intstalled any new software, nor did I make any changes I could think of. Sure enough inxi -G output is now:

Code: Select all
Graphics:  Card: Intel 4 Series Chipset Integrated Graphics Controller
           X.Org: 1.13.0 drivers: intel (unloaded: fbdev,vesa) Resolution: 1680x1050@59.9hz
           GLX Renderer: Mesa DRI Intel Q45/Q43 GLX Version: 2.1 Mesa 9.0


I while back I had a problem with some of my appearence settings being disredarged at random, this happened maybe every 5th boot or so. I remeber that somebody suggested that a race condition could be the cause and that adding a wait in some script could help. It didn't back then, but maybe the suggested cause could apply here too? What else could be the reason that this boot a different GLX renderer was chosen than yesterday?


eanfrid wrote:Check if you have any /etc/X11/xorg.conf left. You should probably rename (or delete) any xorg.conf. Mesa 9.0 is a brand-new version/branch of Mesa 3D utilities. Perhaps do you have some remaining tweaks that this new version doesn't like since recent (yesterday's) mint updates which couldn't show up bebore Xorg restart. I don't think this is related to the issues you found and read on github.


I do, but in "/usr/share/X11/xorg.conf.d" . Is this one read and loaded?


remoulder wrote:No, you have a RC version that may contain bugs and be subject to changes. You should wait until the final release and ensure you have made all updates before requesting help on unfinished versions.


Don't really understand why you say this. I am not requesting help, I am kindly asking for it. And, don't the developers want people to test the RC to see if and what problems arise? In my view it makes sense to post this issue, as I am running a very general and not customized system, maybe I am not the only person that is seeing this issue.
0mull
Level 1
Level 1
 
Posts: 15
Joined: Thu Oct 27, 2011 3:02 am

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby zerozero on Tue Nov 20, 2012 1:22 pm

0mull,
this looks too much like the issue described in the release notes http://linuxmint.com/rel_nadia.php (the part about intel drivers of course)
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby 0mull on Tue Nov 20, 2012 1:38 pm

zerozero wrote:0mull,
this looks too much like the issue described in the release notes http://linuxmint.com/rel_nadia.php (the part about intel drivers of course)


totally. My bad for not reading this ealier!
0mull
Level 1
Level 1
 
Posts: 15
Joined: Thu Oct 27, 2011 3:02 am

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby aelfinn on Tue Nov 20, 2012 6:33 pm

zerozero wrote:this looks too much like the issue described in the release notes http://linuxmint.com/rel_nadia.php (the part about intel drivers of course)

Any solutions to this one yet?
LM15 C64
Acer Aspire 1810TZ
aelfinn
Level 3
Level 3
 
Posts: 188
Joined: Thu Dec 11, 2008 2:11 pm

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby zerozero on Tue Nov 20, 2012 6:50 pm

as you can see in that page they still looking for a reliable solution but there's some workarounds
Intel drivers, poor performance and high CPU usage

On some computers with Intel graphics, the wrong driver is sometimes used. Instead of using the Intel driver and using the GPU to render the desktop, the system reverts to another driver and uses a sofware renderer: llvmpipe.

If you have an Intel graphics card and your CPU usage is anormally high, open a terminal and type the following command:

inxi -G

If the info for "GLX Renderer" shows "Gallium 0.4 on llvmpipe" your computer is using software rendering (i.e. it's rendering the desktop with the CPU instead of the GPU).

To fix this issue you need to force the system to use the "intel" driver. There are many ways to achieve this but they're both complicated and risky (forcing the intel driver with an /etc/X11/xorg.conf, removing the xserver-xorg-video-modesetting and/or xserver-xorg-video-fbdev packages...etc). The development team (and upstream Ubuntu since this is an upstream issue) are actively seeking an automated resolution to this problem. In the meantime, if you're impacted by this problem, please seek support from the forums or the IRC.
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Cinnamon all of a sudden very slow + high CPU usage

Postby aelfinn on Wed Nov 21, 2012 7:06 am

zerozero wrote:
The development team (and upstream Ubuntu since this is an upstream issue) are actively seeking an automated resolution to this problem. In the meantime, if you're impacted by this problem, please seek support from the forums or the IRC.

Yeah, I had seen that. It also says to seek help from the forum, which I was trying to do with the question whether there are any (specific) solutions. Because I haven’t been able to google any so far.
LM15 C64
Acer Aspire 1810TZ
aelfinn
Level 3
Level 3
 
Posts: 188
Joined: Thu Dec 11, 2008 2:11 pm

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: Scott65 and 5 guests