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 531 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
      last edited by

      Did note the following error from the labwc container about four hours after starting it in the above example errors, so suspecting is part of it.

      So I guess how can I troubleshoot/avoid this event.
      And/or have the mm container reconnect after this occurs.

      wlr-randr errors "failed to connect to display" so killing container.
      
      karsten13K 1 Reply Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @scottwalsh
        last edited by

        @scottwalsh

        I gave up with Pi Zero 2W. The memory is to low.

        I suspect this is your problem when removing modules results in running longer before crashing.

        You maybe got a newer base OS when reimaging and the mm dependencies grows with every release (e.g. node, electron).

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

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