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.

    MM Screen goes blank 5-20min after starting (was stable on 2.31) - Pi Zero 2W running MagicMirrorOS

    Scheduled Pinned Locked Moved Solved Troubleshooting
    15 Posts 3 Posters 532 Views 3 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.
    • S Offline
      scottwalsh @karsten13
      last edited by

      @karsten13 said in MM Screen goes blank 5-20min after starting (was stable on 2.31) - Pi Zero 2W running MagicMirrorOS:

      You did not write which OS you are using, 32-bit or 64-bit. The 32-bit is more resource-saving

      Hadn’t checked, until now. Have been using the 32-bit version.
      Will reimage with the 64-bit version and see if it is more stable.

      karsten13K S 2 Replies Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @scottwalsh
        last edited by

        @scottwalsh

        Will reimage with the 64-bit version and see if it is more stable.

        I think not … but you can try it.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @scottwalsh
          last edited by sdetweil

          @scottwalsh the 64bit version takes about 500m more memory than the 32 bit version…

          you need to increase the swap space on the 2w, as it only has 512m ram.
          but you WILL page/swap a LOT, so the sd card speed is critical.

          before bootable USB support came along,

          I built and SD card image
          then copied that to a high speed USB stick, and modified the /etc/fstab to map the mounted space to the USB after boot from the SD card. (this required changing the UUID of the USB stick partition)

          this moved all the runtime I/O access to the USB stick…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            scottwalsh
            last edited by

            @sdetweil said in MM Screen goes blank 5-20min after starting (was stable on 2.31) - Pi Zero 2W running MagicMirrorOS:

            Away
            sdetweil
            3 minutes ago

            @scottwalsh the 64bit version takes about 500m more memory than the 32 bit version…

            Thanks for the tip, what’d you recommend as a min swap size? Will just try it off the SD card to start (as don’t have a USD at hand).

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @scottwalsh
              last edited by

              @scottwalsh on the low ram machines I set it to 1024m
              in the installer script…

              free -m

              will give you defined and used for physical and swap

              from my 8 gig pi 4

               free -m
                             total        used        free      shared  buff/cache   available
              Mem:            7810        1418        2106          19        4426        6391
              Swap:           2047           8        2039
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              karsten13K 1 Reply Last reply Reply Quote 0
              • karsten13K Offline
                karsten13 @sdetweil
                last edited by

                @sdetweil

                is already set to 1024

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @karsten13
                  last edited by

                  @karsten13 he should examine use and adjust as required…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    scottwalsh
                    last edited by

                    @sdetweil said in MM Screen goes blank 5-20min after starting (was stable on 2.31) - Pi Zero 2W running MagicMirrorOS:

                    sdetweil
                    3 minutes ago

                    @karsten13 he should examine use and adjust as required…

                    As @karsten13 noted, defaults to 1024 on a 2W (have done first boot post imaging). Will give it a go at 2048, likely a bit oversized.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      scottwalsh
                      last edited by

                      Moving to 64bit looks like might have helped. Up for 18 hours since rebuilding so far with my full calendar configuration.

                      Observation - took about 30 min to boot through displaying the calendar. Load average getting up to 20.0+ during boot, assume swapping a lot via the slow SD card interface. So although looks more stable, much slower performance.

                      1 Reply Last reply Reply Quote 1
                      • S sdetweil has marked this topic as solved on
                      • S Offline
                        scottwalsh
                        last edited by

                        Although moving to 64 bit made it more stable, still found it was going blank after a few days requiring the mm container restarted.

                        Think the Zero 2W was too under powered for what I was trying to do. So have upgraded to a Pi 4.

                        S 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