Read the statement by Michael Teeuw here.
Application not starting when OpenGL is enabled
-
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.
-
@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.
-
@rts58 as mentioned GL causes all sorts of other issues for the Pi really not advisable
-
@dazza120 I was also running OpenGL because mostly of this thread. I was/am concerned about temps, my pi is stuck in a wall and I’m running modules for background images, weather, nests, calendar and newsfeeds. When I first tried the fake and full I was having startup problems so started using pm2 which fixed them. I just now performed a very unscientific comparison. I ran under each driver and compared the average 15 minute processor usage (after 30 minutes).
Full - .62
Fake - .45
Orig - .36
I wasn’t smart enough to pay attention to the other stats :frowning_face: . But for now I am going to follow your recommendation and drop OpenGL. Thanks. -
@rts58 get MMM-SystemStats works well for the Pi and you can see memory,cpu and temp readings very handy when your running a Pi, if it ever happens that it goes black screen from days of use you will need to set a Cron job that refreshes the MM so memory starts over again hope that helps
-
@anthony - Just FYI: PM2 is a process manager. It’s purpose is to make sure that the Magic Mirror process is always running and to start it automatically when you Pi boots. That’s all. It won’t help nor hinder your mirror’s performance.
When your Pi starts to overheat, you’ll see a thermometer icon in the upper right corner of your mirror.
-
@bhepler wow never knew about the overheating symbol good to know, Everyone with a Pi should get a good heatsink and a fan fan not essential but helps loads.
-
@rts58 I stand corrected the latest version of MMM-System-Stats locks up after 13hours of the Pi being on, I’ve left a message on his github so hopefully it will be fixed as it’s the Pi’s only true stat reading for everything that you need to know the Pi is doing. Oh if your not using video modules you can get 16Mb more ram 🐏 by taking it from the graphics if your on a Pi 3B+ You can use the desktop
Start Menu, Preferences, Raspberry Pi configuration, Performance, then change GPU memoryor use Terminal
sudo Raspi-configAdvance
Memory Split
Ok
Then it will ask you to reboot -
@dazza120 Thanks, I’m not using video, so I’ll look into this. I’ll also look at system stats.
-
Hello everyone. So I installed pm2 as @bhepler said and MMM-System-Stats as @dazza120 mentioned above and I managed to enable OpenGL without a black screen but I realized that the cpu load went from 0.85 to 2.1 and after half an hour the rpi got frozen. So I and up disabled it once again and my mirror runs continuously fro yesterday afternoon without any problem of overheating, black screen or freezing. the last stats I saw today was:
CPU Temp: 32.22
System Load 0.81
Free RAM: 32%
Uptime: 13 hours
Avail Space: 24G -
@dazza120 I installed MMM-SystemStats to my mirror and it helped a lot to monitor its status. Thank you for the tip. I would like to ask you if you know if it is possible to change the module size because it looks too big according to the other modules. I tried to do it but I didn’t find any css file in its folder to customize it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login