Read the statement by Michael Teeuw here.
Application not starting when OpenGL is enabled
-
Thank you for your advice. I will try it on Monday
-
I tried both. …disable-gpu unfortunately does not not bring any improvement. So I took OpenGL out of the equation and it works.
-
I have the same problem. When OpenGL is enabled the application freezes at launching and I must unplug my pi from power and plug it back. I even tried to update electron to a newer version but I got another error there so I end up disabling OpenGL again.
-
Just use
serveronly
(node serveronly
) insteadnpm start
. -
@sean Thank you for your fast reply. I’ll give it a try as soon as I get home and see how it goes.
-
Are you using pm2? I was having same issue, and was able to resolve by following pm2 setup process.
-
OpenGL causes nothing but problems on the Pi I had to go back to legacy, full GL caused locked up the Pi causing black screen from the start of the MM, Fake GL caused MMM-voice not to work, so had to go back to legacy and all problems above gone
-
@rts58 No I am using npm to start the mirror. Also I am completely noob about coding and I am trying through googling and the forum for answers. So if I install pm2 will work when OpenGL is enabled?
-
@dazza120 Same thing here but I’ve read that the latest versions of electron use an extreme amount of CPU power when no Open GL driver is loaded. This will result in an overheating Raspberry Pi. That’s why I am trying to enable it.
-
@anthony no it’s not that bad it depends what modules you have on it to how much it’s working in the background mine is between.90 and 1.5 cpu usage once everything has loaded, ram is a different story and goes down over time now until it crashes the Pi that’s why I’ve got a Cron Job to reboot the Magic Mirror software every 12hours for me, which has seen it go for days without issues.