• 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.
  • 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
                  • T Offline
                    TiemenMoesker
                    last edited by Aug 29, 2017, 4:23 PM

                    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?

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      djsunrise19
                      last edited by djsunrise19 Aug 29, 2017, 5:18 PM Aug 29, 2017, 5:08 PM

                      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.

                      0_1504026521820_592713f3-15b2-4335-9eb6-32cc9655abba-image.png

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 24
                      • 25
                      • 6 / 25
                      6 / 25
                      • First post
                        54/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