Read the statement by Michael Teeuw here.
Application not starting when OpenGL is enabled
-
@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.
-
@dazza120 OK then. I’ll give it a try when I get home and see hoe it goes. Thank you for your reply.
-
@anthony you will need a heat sink on the Pi my temps with Pi with screen Off is about 47c bare in mind it’s the UK and about 20c in my house at the mo so summertime I expect to see about 60c still well within spec, but now I’ve got a fan on it that only turns on when the monitor is in use which saw temps go to 33c so not bad, hope this helps
-
@dazza120 I already have heat sinks on all 3 chips of my rpi and a fan as well. I bought it like this in a case. I don’t know about temperatures because I haven’t monitor them yet but I hope you are right and not have any overheating problem. Thank you again.
-
@anthony mines been running for 5days because I was trying to get GL running to see what it was like but so many problems with that on the Pi, anyway yep that’s the readings I just took them today, I have MMM-SystemStats you may want to look at it for the Pi
-
@dazza120 I will install it as soon as I get home and solve another problem with black screen I have right now (too many reasons for black screen). Thank you so much for your help.
-
@anthony yeah found GL caused black screen and running out of ram that’s why I have a Cron Job running every 12hours as after 24hours it would go dark, hence Cron job every 12hours
-
@anthony I am also noob. But, I installed pm2 and it allowed me to run OpenGL. I think it keeps electron and other running processes from using up all memory and will help.