Read the statement by Michael Teeuw here.
Trouble updating Magic Mirror on Raspberry Pi Zero 2W
-
@wyovino I use my script all the time.
I’ve spent too many hours working out the kinks to do it manually. -
@wyovino So, I flashed a 32gb sd card… age unknown. with the 32bit legacy OS + Desktop ( not with recommended software, cause its office, … I don’t need that on a mirror)
booted, did setup, changed hostname, enabled ssh,
rebootssh’d in and checked swap space , 99 meg, none used,
I then ran my install script…it increased swap space to 871
total used free shared buff/cache available Mem: 426 152 88 0 185 221 Swap: 871 48 823
I then watched install run thru without problems, updated node/npm
installed pm2 setup to autostart at bootand started MM as part of the installer script…
that first start of MM took 33 seconds (stopwatch timing)
with MM running memory usagetotal used free shared buff/cache available Mem: 426 152 109 24 164 191 Swap: 871 179 692
so MM is 42% over the base memory on Bullseye 32 bit
system is responsive -
@sdetweil I appreciate your efforts with this. After a week of trying everything to make it work on Bookworm I gave up and built it on Bullseye. I had a couple of issues though. The automatic install script froze the system during the Node installation. I had previously expanded the swapfile to 1024 (1 gb) as I found that the default setting was too low.
I removed MagicMirror and all of it’s sub directories and followed the manual install instructions. The mirror is now running well except for the MMM-Jast ticker which is now not nearly as smooth as it was under the previous version of MM running on Buster. I tried adding export ELECTRON_ENABLE_GPU=1 to my mm.sh script but that completely distorted the display.
I’m not sure if I’m going to keep this new version.
-
@wyovino cool… I just flashed the Bookworm legacy (32) image and will try that now
I let my script do all the work,. swap space, node/npm, …
-
bookworm start memory
total used free shared buff/cache available Mem: 425 236 150 8 94 189 Swap: 199 3 196
found a bug in the installer, not increasing the swap space…
never could finish install…fixed
finished install and first pm2 start was 48 seconds…
total used free shared buff/cache available Mem: 425 215 138 11 137 210 Swap: 869 236 633
swap mem usage w MM running 55%
so, bookworm is definitely larger mem requirements.