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.

    Mirror Freezing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 4 Posters 2.8k Views 4 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.
    • plainbrokeP Offline
      plainbroke
      last edited by

      I have updated everything trying to get past this.
      I installed a real time clock.
      Fresh install of Debian 12
      Fresh install of MagicMirror and restore with Sam’s backup/restore script.
      So everything is fresh. I am running this on a NVME ssd stick.
      very fast.
      Ok since i gave you all the background.
      Here is the problem I am having.
      MM will run fine for hours, then all the sudden MM freezes, the time stops and it stays on the page that the time freezes on.
      I have about 40 different modules running and they run great until the freeze up happens.
      Below is the errors I am getting in the pm2 logs.

      0|mm       | [2048:0303/182231.302189:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm       | [2048:0303/182231.339696:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm       | [2025-03-03 18:22:33.874] [ERROR] We expected a redirect to guce.yahoo.com, but got https://finance.yahoo.com/quote/AAPL/
      0|mm       | [2025-03-03 18:22:33.875] [ERROR] We'll try to continue anyway - you can safely ignore this if the request succeeds
      0|mm       | /home/pi/MagicMirror/node modules/electron/dist/electron exited with signal SIGINT
      0|mm       | [3690:0304/064512.174017:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm       | [3690:0304/064512.174366:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      

      These repeat over and over for 20 or so times. I didnt count them.

      Slow learner. But trying anyways.
      MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
      Running Trixie and the latest MM version.

      1 Reply Last reply Reply Quote 1
      • S Do not disturb
        sdetweil @sdetweil
        last edited by

        @plainbroke i think most often is the parent dies but the child was still running…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        plainbrokeP 1 Reply Last reply Reply Quote 0
        • plainbrokeP Offline
          plainbroke
          last edited by

          Oh and I can ssh in and run date and the time is correct.
          If I run MM in a separate browser on my laptop I pops up and runs fine and very clean. Time is correct. ect. which then causes the MM on the wall to start working again…
          I did run your update script with force tonight when I came home and it had been frozen for approx. 3.5 hrs.
          I am currently watching to see if it freezes again. so frustrating.

          Slow learner. But trying anyways.
          MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
          Running Trixie and the latest MM version.

          S F 2 Replies Last reply Reply Quote 1
          • S Do not disturb
            sdetweil @plainbroke
            last edited by

            @plainbroke start in server mode and connect chrome or some other browser, sounds like an electron problem

            maybe change the pages rate a little (10%)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @sdetweil
              last edited by

              @also to stackoverflow

              https://stackoverflow.com/questions/72876389/how-does-chromium-implement-failifmajorperformancecaveat

              which points to a graphical module, globe, something doing heavy charts.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              plainbrokeP 1 Reply Last reply Reply Quote 0
              • plainbrokeP Offline
                plainbroke @sdetweil
                last edited by

                @sdetweil
                you are correct electron is hoarding resources.
                Is there a way to kill a PID in debian to see what module may be causing this.
                1998
                1988
                and 1949 are top three cpu hogs…

                Slow learner. But trying anyways.
                MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                Running Trixie and the latest MM version.

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @plainbroke
                  last edited by

                  @plainbroke you can

                  sudo kill -9 pid

                  but i dont know what functions are in what process, electron decides that. one is the page/tab

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  plainbrokeP 1 Reply Last reply Reply Quote 0
                  • plainbrokeP Offline
                    plainbroke @sdetweil
                    last edited by plainbroke

                    @sdetweil
                    Just did a kill 1998 and it is now not showing up but the mirror is still working,
                    I guess I will wait until one of the modules doesn’t work anymore.
                    Then i will know which one to remove, right?
                    Turns out that was the wireless connection I think.
                    MM stopped and I can not access it through ssh time to POPO.
                    I will keep after this but I will also stop globe in the config.js. just to see if that helps.
                    Thanks for your help I have learned alot tonight about the way debian and MM run.

                    Slow learner. But trying anyways.
                    MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                    Running Trixie and the latest MM version.

                    S 1 Reply Last reply Reply Quote 1
                    • S Do not disturb
                      sdetweil @plainbroke
                      last edited by

                      @plainbroke i think page switching while globe is drawing
                      is probably the cause

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      plainbrokeP 1 Reply Last reply Reply Quote 0
                      • F Offline
                        freelancerakash @plainbroke
                        last edited by

                        @plainbroke this is the best Answer

                        1 Reply Last reply Reply Quote 0
                        • plainbrokeP Offline
                          plainbroke @sdetweil
                          last edited by

                          @sdetweil
                          Not so sure that it was globe came home today and the same screen was stopped,
                          MMM-Dogs and the time was the same 3:37 pm but the real time was 4:30 pm.
                          So re-enabled globe and disabled MMM-Dogs to see if it does it again tomorrow…
                          I am almost wondering if it isn’t something to do with MMM-birthday-paged.
                          It was the last module I remember adding since this started.
                          I will slowly figure it out by disabling one module at a time that seems to hog resources.

                          By the way what do it mean by zombie in top.?

                          top - 16:53:44 up 17 min,  3 users,  load average: 5.34, 5.15, 3.71
                          Tasks: 222 total,   3 running, 218 sleeping,   0 stopped,   1 zombie
                          %Cpu(s): 77.3 us, 12.1 sy,  0.0 ni, 10.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                          MiB Mem :   7820.9 total,   4021.5 free,   1923.3 used,   2830.4 buff/cache
                          MiB Swap:    512.0 total,    512.0 free,      0.0 used.   5897.6 avail Mem
                          
                          

                          Slow learner. But trying anyways.
                          MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                          Running Trixie and the latest MM version.

                          karsten13K S 2 Replies Last reply Reply Quote 0
                          • 1
                          • 2
                          • 1 / 2
                          • 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