Read the statement by Michael Teeuw here.
Blank Screen in Electron - fresh install on Pi Zero 2 W
-
Hello,
When electron launches, I only see a black screen. In terminal I see this:
ERROR:network_service_instance_impl.cc(521)] Network service crashed, restarting service.I just got a Raspberry Pi Zero 2 W and installed the latest 64bit desktop version via the official image tool.
I installed MM2 via this script: bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”
The server portion works. I can connect to it from a different machine. I also set up a server on a different machine and tried running clientonly on the Pi Zero 2. I get the same error and the same blank screen.
If anyone has any idea what I might have configured incorrectly, I’d appreciate it.
-
I tried connecting with chromium and got the same blank screen. Then I tried launching chromium with --disable-gpu and the page did eventually load. But it’s very slow (e.g. the seconds on the clock don’t update).
When I did that, I still got the ‘network service crashed’ error, so maybe that’s a red herring?
-
@chndrcks how big is the swap file?
free -m
Will show you and it’s usage -
@sdetweil Thanks for responding.
Swap size is 4096. I bumped it up from the default 512 to see if that helped.
I’m trying with firefox, but just launching the browser and navigating to the website takes 5+ minutes.
Maybe I should try the 32-bit version of bookworm?
This is unrelated, but while I was troubleshooting, I went through your raspberry.sh script. Could yo u tell me what’s going on with line 55 “if [ 0 -eq 1 ]; then” ? Won’t that always evaluate to false? or is there a bash trick I’m missing?
-
@chndrcks said in Blank Screen in Electron - fresh install on Pi Zero 2 W:
line 55 “if [ 0 -eq 1 ]; then
yes I just disabled that section. for install the log has to be outside the MM folder
(as it doesn’t exist yet, until the git clone, a long way down)