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

Development Branch -- Screen Going Blank

Scheduled Pinned Locked Moved Bug Hunt
13 Posts 2 Posters 2.3k Views 2 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.
  • Y Offline
    yk
    last edited by Mar 10, 2021, 3:33 PM

    No changes to installation. Pi pointed to development branch. Recently screen going blank. A restart using pm2 fixes it. Going to start going through logs but it’s an odd one. Happy to do any other debugging the group feels would help (“can you check a,b,c”).

    S 1 Reply Last reply Mar 10, 2021, 4:00 PM Reply Quote 0
    • S Offline
      sdetweil @yk
      last edited by Mar 10, 2021, 4:00 PM

      @yk try opening the developers window when blank

      ctrl-shift-i, select the console tab

      also, are there any errors in the pm2 log ?

      pm2 logs --lines=??? ??? is a number, default 15

      when did u switch to the develop branch?

      do

      grep version ~/MagicMirror/package.json 
      

      to verify version is 2.15-develop

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      Y 1 Reply Last reply Mar 10, 2021, 8:58 PM Reply Quote 0
      • Y Offline
        yk @sdetweil
        last edited by Mar 10, 2021, 8:58 PM

        @sdetweil thanks!

        Confirmed on the correct version

        “version”: “2.15.0-develop”

        Interesting item in the logs:

        [975:0310/092506.157270:FATAL:memory.cc(22)] Out of memory. size=174170112

        Only change would be the previous item you and I discussed around MMM-Unsplash. I’m curious if using the “raw” version of the image continues to chew up memory. Something to keep an eye on for sure. I’m using one of the tools modules to keep an eye on CPU and memory - I don’t see it growing throughout the day though. Perhaps it’s a “perfect storm of refreshes” that happens.

        Next time I see the screen go blank I’m going to check logs immediately.

        S 1 Reply Last reply Mar 11, 2021, 12:09 AM Reply Quote 0
        • S Offline
          sdetweil @yk
          last edited by Mar 11, 2021, 12:09 AM

          @yk also consider increasing the system swap space

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          Y 1 Reply Last reply Mar 11, 2021, 12:25 AM Reply Quote 0
          • Y Offline
            yk @sdetweil
            last edited by Mar 11, 2021, 12:25 AM

            @sdetweil that’s a good point. It happened again - I gather that’s probably a best option.

            Keep me honest, is the below the best approach?

            For others searching in the future:

            1. sudo dphys-swapfile swapoff
            2. sudo nano /etc/dphys-swapfile
            3. update CONF_SWAPSIZE to something like 1024
            4. save file (ctrl + x)
            5. sudo dphys-swapfile setup
            6. sudo dphys-swapfile swapon
            7. sudo reboot

            You’re probably right, need to increase. Mine is set to 100 at the moment.

            S 1 Reply Last reply Mar 11, 2021, 12:27 AM Reply Quote 0
            • S Offline
              sdetweil @yk
              last edited by Mar 11, 2021, 12:27 AM

              @yk yes, good steps

              free -m

              will tell you if any has been used

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              Y 1 Reply Last reply Mar 11, 2021, 2:53 AM Reply Quote 0
              • Y Offline
                yk @sdetweil
                last edited by Mar 11, 2021, 2:53 AM

                @sdetweil keeps happening unfortunately. it might be time to start removing modules to see if that helps.

                Two errors seen:
                out of memory error and also saw a fatal: unable to access ‘https://github.com/MichMich/MagicMirror.git/’: gnutls_handshake() failed: Error in the push function.

                I’m only using:
                MMM-MyWastePickup (only uses local file)
                MMM-Unsplash (hits Unsplash twice an hour)
                MMM-DarkSkyForecast
                MMM-Tools
                Calendar does an iCloud refresh using vdirsyncer (every 30 minutes)

                Calendar-Fetcher looks to be doing a broadcasting of events every 10 to 12 minutes. Not sure what this is.

                mem total=925 / used=272
                swap total=1023 / used=116

                I wonder if the iCloud hit happens at the same time as the Unsplash hit causing an issue.

                S 1 Reply Last reply Mar 11, 2021, 3:34 AM Reply Quote 0
                • S Offline
                  sdetweil @yk
                  last edited by Mar 11, 2021, 3:34 AM

                  @yk said in Development Branch -- Screen Going Blank:

                  Not sure what this is.
                  mem total=925 / used=272
                  swap total=1023 / used=116

                  if swap was 100, now 116 meg used.
                  memory 272 used doesn’t make sense

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  Y 1 Reply Last reply Mar 11, 2021, 3:37 AM Reply Quote 0
                  • Y Offline
                    yk @sdetweil
                    last edited by Mar 11, 2021, 3:37 AM

                    @sdetweil sorry

                    I bumped up the swap already to 1024

                    memory
                    total = 925
                    used = 272

                    swap
                    total=1023
                    used=116

                    S 1 Reply Last reply Mar 11, 2021, 3:52 AM Reply Quote 0
                    • S Offline
                      sdetweil @yk
                      last edited by Mar 11, 2021, 3:52 AM

                      @yk shouldn’t have used any swap if u still have free main memory

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      Y 2 Replies Last reply Mar 11, 2021, 9:44 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/13
                        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