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
-
@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…
-
@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).
-
@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
-
is already set to 1024
-
@karsten13 he should examine use and adjust as required…
-
@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.
-
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.
-
-
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.
-
@scottwalsh and did the problem go away?
-
Installed the pi 4 today.
Was getting up to 4 days on the 02W without it crashing, so will need to give it a week to know for sure.