Read the statement by Michael Teeuw here.
Electron CPU usage
-
Have you guys tried allocating more memory to the GPU? I think the default is like 64MB or something. I bumped mine to 128MB a while ago.
One other dumb suggestion: Did you remove the nonessential stuff from your Raspian installs? The Minecraft, Wolfram Alpha, etc. as per the complete setup tutorial?
-
Actually the only thing I did was. Run the auto install command of magic mirror 2 and pm2. That’s it.
-
@bhepler
I’ve done that, both ways giving the gpu more ram and less ram and that doesn’t seem to solve it for me.I did remove all the excess on other installs I did but there’s no other processes running anyway to take away cpu time.
-
@TiemenMoesker Okay, not a problem. This may not free up resources, but it will remove some of the unused programs from the default Raspian image. This is more important with smaller SD cards where space is at a premium.
sudo apt-get remove --purge idle3 java-common libreoffice* minecraft-pi scratch nuscratch penguinspuzzle python-minecraftpi python3-minecraftpi smartsim sonic-pi wolfram-engineThe second option is to increase the amount of memory that is dedicated to the graphics chip on the pi. If you enter
sudo raspi-configfrom the command line, you’ll get a basic configuration window. If you’re actually on the pi, you can go to the main menu ->sudo Preferences and one of the tabs in the pi configuration is the GPU memory allocation. The default is 64MB IIRC. You can bump that up to 128 or 256 and see if it helps with your animation issue.Note: It seems like these suggestions don’t help anyway. Nuts.
-
Your “Note” says it all…😔
-
Fresh manual installation of Raspbarian. Running the magic mirror auto install now.
Everything seems fine, but I do get this:
//npm WARN grunt-stylelint@0.9.0 requires a peer of stylelint@^8.0.0 but none was installed. npm WARN stylelint-config-standard@17.0.0 requires a peer of stylelint@^8.0.0 but none was installed. npm WARN stylelint-config-recommended@1.0.0 requires a peer of stylelint@^8.0.0 but none was installed.Is this a (or THE) problem?
-
Same here. I have / had this problem since months. Today I’ve updated my mirror (because it says, there is an update). After this my mirror isn’t usable anymore. The problem is way heavier : I tried very much, but no effects. With MMv1 everything was smooth. I have 2x Raspi 3 - same behaviour.
- Tried Raspi 2 and 3
- deactivated all modules
- fresh installations a few times
- different (sandisk) sd cards
- increase gpu amount to 128/256MB
In MMv2 something changes with the CSS transitions. But I don’t know if that is the problem.

-
For now I wish to know if it’s a problem with the PI or the installation / SD. Because if it’s a problem with the PI, at this moment, I can get it replaced for free or get my money back. My main reason buying the PI was for this project and to kill some time (vacation).
-
Yeah, totally understand. I feel the same. It has to do anything with the transitions. Another screen with the newsfeed module only. You can see cleary, when the transition starts and ends. So frustrating.

-
This is what I get too, but with both News and Compliments on.
-
@MichMich be our hero. :p
-
@TiemenMoesker it feels good to get some validation that I may not actually be crazy and there is a problem. Hahaha
-
@wtidwell True :)
-
@djsunrise19 I noticed that you have had this problem for wel over a year now. Damn. I don’t understand how it doesnt work properly… Used Noobs to install Rasbain, used auto install from MagicMirror homepage, nothing else, yet it doesn’t work.
-
@TiemenMoesker said in Electron CPU usage:
@djsunrise19 I noticed that you have had this problem for wel over a year now. Damn. I don’t understand how it doesnt work properly… Used Noobs to install Rasbain, used auto install from MagicMirror homepage, nothing else, yet it doesn’t work.
Yes, but today, after
git pull && npm installit becomes totally unusable. My “seconds” refreshed every 15 seconds, 320% CPU usage… I don’t know.
-
:( …has anyone here tried another PI. I am considering to buy another one.
-
@TiemenMoesker said in Electron CPU usage:
:( …has anyone here tried another PI. I am considering to buy another one.
I have two of them. The second Raspi 3 (I bought them at the same time) works better. But, as everybody can see, while an animation is working, there are 45-55% peaks (one animation in newsfeed). I don’t think, that this should be.

-
@TiemenMoesker I tried two pies with exactly the same result. My spikes are way higher than 55%, on the order of max processing.
-
I have a very stupid question.
In my new ATB, transition animation caused CPU usage around max 70%.(bynmon.htopshows less than that… around 30~50%). Without transition, near 10~20%.
But… I had not felt the performance issue before this thread. Will it be a real problem? I’m not an expert, but I think, temporally CPU usage could be high than we’ve thought. Should I really worry about this? -
@wtidwell said in Electron CPU usage:
@TiemenMoesker I tried two pies with exactly the same result. My spikes are way higher than 55%, on the order of max processing.
Hm, okay. But that seems to be a little bit weird. Imagine there are f.e. 8 modules. 3 of them make a fade at the same time (compliments, feed and calendar / netatmo, …). Then max processing is over 100%. Thats the problem in my first screenshot. 320% max cpu. This can not be right.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login