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
-
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.
-
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.
-
@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. -
Will reimage with the 64-bit version and see if it is more stable.
I think not … but you can try it.
-
@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.