Read the statement by Michael Teeuw here.
Electron CPU usage
-
@wtidwell said in Electron CPU usage:
Is there anything to do after using the install script? Am I missing some next step?
You could try this, but I don’t think it’s anything you’re doing or not doing. MM is running, it’s just not running well. I left you another suggestion in the other topic you posted in.
Updating your MagicMirror²
If you want to update your MagicMirror² to the latest version, use your terminal to go to your Magic Mirror folder and type the following command:
git pull && npm install
If you changed nothing more than the config or the modules, this should work without any problems. Type git status to see your changes, if there are any, you can reset them with git reset --hard. After that, git pull should be possible. -
I am having the exact same problem. It is so frustrating.
-
@TiemenMoesker
I’m really sorry =/ I don’t have any better information for you, maybe you can fix yours. Mine is still busted… -
In details: My mm time is running fine until an animation happens, the time freezes and the choppy animation accurs. When the animation is done the time starts again and it speeds up to the point it should be. Also I noticed that every time the animation happens the CPU jumps to 90+% usage. The pi itself also goes extremely hot.
I bought my raspberry from coolblue.nl 4 days ago.
-
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-engine
The second option is to increase the amount of memory that is dedicated to the graphics chip on the pi. If you enter
sudo raspi-config
from 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?