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 597.3k 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 @strawberry 3.141
      last edited by

      @strawberry-3.141 Alright, although I am not sure this has anything to do with css. First, because 99% of the people who have MM2 don’t have this problem, yet the same css. Second, I just found out that it’s not just the Newsfeed and the Compliments. I have installed the MMM-Earth module and the same thing happends. Time freezes, animation starts (not smooth at all, it only shows me one fade frame), CPU usage spikes to 99% and my PI is hotter than a BBQ.

      I think it has something to do with the hardware.

      My hardware =BCM2835
      Revision= a02082

      Mykle1M 2 Replies Last reply Reply Quote 0
      • T Offline
        TiemenMoesker @Mykle1
        last edited by

        @Mykle1

        Just set is to 96, still the same.

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @TiemenMoesker
          last edited by

          @TiemenMoesker said in Electron CPU usage:

          I think it has something to do with the hardware.

          My suspicion as well, as previously stated. And just to cover all bases, the only interface I have enabled is VNC. I don’t know if that matters in the least.
          0_1504126421336_inter.JPG

          Create a working config
          How to add modules

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            TiemenMoesker
            last edited by

            I researched the BCM2835 today if there where any known problems with it. Turns out there are, I just didn’t understand any of them. English is not my first language and I am a kinda new to the whole Raspberry Pi stuff and all the programming around it.

            Mykle1M 1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @TiemenMoesker
              last edited by

              @TiemenMoesker I’m sure thats not the reason for it, but it was worth trying it as a possible fix

              Please create a github issue if you need help, so I can keep track

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @TiemenMoesker
                last edited by

                @TiemenMoesker said in Electron CPU usage:

                researched the BCM2835 today if there where any known problems with it.

                You have a link for that?

                Create a working config
                How to add modules

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  TiemenMoesker @Mykle1
                  last edited by

                  @Mykle1

                  Let me try, appreciate the help dude. Best forum i’ve ever been on. Problem is not solved yet, but I am happy there are some more brains in de game to help us out.

                  1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @TiemenMoesker
                    last edited by

                    @TiemenMoesker said in Electron CPU usage:

                    I have installed the MMM-Earth module and the same thing happends.

                    That makes perfect sense. If your Pi struggles with the simple compliments transition then it would certainly have trouble with MMM-EARTH. I’m even more sympathetic now because that’s my module! :-(

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TiemenMoesker @Mykle1
                      last edited by

                      @Mykle1

                      https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=164454

                      https://github.com/Pi4J/pi4j/issues/319

                      This is what I found just typing in Rapberry BCM2835.
                      Not sure if this has anything to do with this problem tho.

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @TiemenMoesker
                        last edited by

                        @TiemenMoesker said in Electron CPU usage:

                        This is what I found just typing in Rapberry BCM2835.
                        Not sure if this has anything to do with this problem tho.

                        I read through both links. I don’t see anything that applies to this problem directly.

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          djsunrise19 @Mykle1
                          last edited by

                          @Mykle1 said in Electron CPU usage:

                          BCM2835

                          For my two raspi3:

                          Both of them are the BCM2835 Hardware-Versions. First BCM2835 has the problem, the other BCM2835 hasn’t. Wow… :-D

                          T Mykle1M 2 Replies Last reply Reply Quote 0
                          • T Offline
                            TiemenMoesker @djsunrise19
                            last edited by

                            @djsunrise19

                            So the CPU usage doens’t spike with animations?

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              djsunrise19 @TiemenMoesker
                              last edited by

                              @TiemenMoesker said in Electron CPU usage:

                              @djsunrise19

                              So the CPU usage doens’t spike with animations?

                              Not so high like my first one (100% permanently), about 50-60%. Here is a picture from my ATB, that arrives today. Naked installations, standard config / css / modules. 75% peak. Bad.

                              0_1504205485394_18cd33cb-d24b-439c-9bdd-9d3daba3d1a9-image.png

                              T Mykle1M 3 Replies Last reply Reply Quote 0
                              • T Offline
                                TiemenMoesker @djsunrise19
                                last edited by

                                @djsunrise19

                                Sorry to hear that man. I can get mine replaced for free, but I think I get a Pi with the same hardware
                                …

                                1 Reply Last reply Reply Quote 0
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @djsunrise19
                                  last edited by

                                  @djsunrise19 said in Electron CPU usage:

                                  Both of them are the BCM2835 Hardware-Versions. First BCM2835 has the problem, the other BCM2835 hasn’t. Wow… :-D

                                  Well, there goes my theory, if the installations are exactly alike.

                                  Create a working config
                                  How to add modules

                                  1 Reply Last reply Reply Quote 1
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @djsunrise19
                                    last edited by

                                    @djsunrise19 said in Electron CPU usage:

                                    Here is a picture from my ATB, that arrives today. Naked installations, standard config / css / modules. 75% peak. Bad.

                                    Oh hell no. This issue gets more mysterious by the day!

                                    Create a working config
                                    How to add modules

                                    1 Reply Last reply Reply Quote 0
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @djsunrise19
                                      last edited by

                                      @djsunrise19 said in Electron CPU usage:

                                      about 50-60%

                                      That is even high, in my opinion, based on my results

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 0
                                      • bheplerB Offline
                                        bhepler Module Developer
                                        last edited by

                                        For what it’s worth:

                                        Hardware: BCM2835
                                        Revision: a02082
                                        

                                        And I do not have the problem.

                                        Mykle1M 1 Reply Last reply Reply Quote 1
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @bhepler
                                          last edited by

                                          @bhepler said in Electron CPU usage:

                                          For what it’s worth:
                                          Hardware: BCM2835
                                          Revision: a02082

                                          And I do not have the problem.

                                          It definitely helps. I think we can now eliminate the possibility that the difference in hardware has anything to do with this issue.

                                          Thanks!

                                          Create a working config
                                          How to add modules

                                          D 1 Reply Last reply Reply Quote 1
                                          • D Offline
                                            djsunrise19 @Mykle1
                                            last edited by djsunrise19

                                            @Mykle1 Yes, you’re right. Yesterday I installed the new raspbian stretch and all MM tools manually, uninstalled electron and installed the @beta (1.8.). I wanted to give that a try. But still the same.

                                            As you can see, the problem is there , less or more, over months (with that 50-70% cpu usage). With 2-3 animations at the same time my raspi struggles (raspi2 and raspi3). But a few days ago, there were an github update. Since that update my mirror is unusable. Why?

                                            git pull && npm install
                                            

                                            says, that there was a change in the readme file only. But it doesn’t seem so.

                                            D Mykle1M 2 Replies Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 12
                                            • 13
                                            • 5 / 13
                                            • First post
                                              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