• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Electron CPU usage

Scheduled Pinned Locked Moved Troubleshooting
247 Posts 46 Posters 474.5k Views 42 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    wtidwell @Mykle1
    last edited by Aug 26, 2017, 1:50 AM

    @Mykle1
    Is there anything to do after using the install script? Am I missing some next step?

    M 1 Reply Last reply Aug 26, 2017, 2:01 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @wtidwell
      last edited by Aug 26, 2017, 2:01 AM

      @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.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • T Offline
        TiemenMoesker
        last edited by Aug 28, 2017, 10:06 PM

        I am having the exact same problem. It is so frustrating.

        W 1 Reply Last reply Aug 29, 2017, 11:22 AM Reply Quote 0
        • W Offline
          wtidwell @TiemenMoesker
          last edited by Aug 29, 2017, 11:22 AM

          @TiemenMoesker
          I’m really sorry =/ I don’t have any better information for you, maybe you can fix yours. Mine is still busted…

          1 Reply Last reply Reply Quote 0
          • T Offline
            TiemenMoesker
            last edited by Aug 29, 2017, 1:01 PM

            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.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bhepler Module Developer
              last edited by Aug 29, 2017, 1:33 PM

              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?

              W 1 Reply Last reply Aug 29, 2017, 1:40 PM Reply Quote 0
              • T Offline
                TiemenMoesker
                last edited by Aug 29, 2017, 1:35 PM

                Actually the only thing I did was. Run the auto install command of magic mirror 2 and pm2. That’s it.

                B 1 Reply Last reply Aug 29, 2017, 1:55 PM Reply Quote 0
                • W Offline
                  wtidwell @bhepler
                  last edited by Aug 29, 2017, 1:40 PM

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bhepler Module Developer @TiemenMoesker
                    last edited by bhepler Aug 29, 2017, 1:56 PM Aug 29, 2017, 1:55 PM

                    @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.

                    T 1 Reply Last reply Aug 29, 2017, 2:00 PM Reply Quote 0
                    • T Offline
                      TiemenMoesker @bhepler
                      last edited by Aug 29, 2017, 2:00 PM

                      @bhepler

                      Your “Note” says it all…😔

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 24
                      • 25
                      • 6 / 25
                      6 / 25
                      • First post
                        52/247
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy