I’ve used quite some of these manuals before, most without succes cause after a few weeks they all seem to crash/freeze screen. Finally I have a setup that’s working:
- install raspian lite
- use this script to install MM: https://github.com/pureartisan/magic-mirror-raspbian-lite
- update npm with npm install -g electron --unsafe-perm=true --allow-root
- increase swap
sudo dphys-swapfile swapoff
sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=1024
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
sudo reboot
- adjust /boot/config.txt with the following settings for overclock:
arm_freq=1085
gpu_freq=530
over_voltage=8
sdram_freq=500
over_voltage_sdram=1
- I also monitor the behaviour of the RPI’s performance in Home Assistant (in case it would crash, I have an indicator what went wrong) with: https://github.com/Sennevds/system_sensors
So far it -finally- works like a charm!