MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Application not starting when OpenGL is enabled

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    33 Posts 7 Posters 15.3k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rts58 @Anthony
      last edited by

      @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.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dazza120 @rts58
        last edited by

        @rts58 as mentioned GL causes all sorts of other issues for the Pi really not advisable

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rts58 @dazza120
          last edited by

          @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.

          D 2 Replies Last reply Reply Quote 0
          • D Offline
            dazza120 @rts58
            last edited by

            @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

            A 1 Reply Last reply Reply Quote 0
            • bheplerB Offline
              bhepler Module Developer @Anthony
              last edited by

              @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.

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                dazza120 @bhepler
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dazza120 @rts58
                  last edited by dazza120

                  @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 memory
                  

                  or use Terminal

                  sudo Raspi-config 
                  

                  Advance
                  Memory Split
                  Ok
                  Then it will ask you to reboot

                  R 1 Reply Last reply Reply Quote 1
                  • R Offline
                    rts58 @dazza120
                    last edited by

                    @dazza120 Thanks, I’m not using video, so I’ll look into this. I’ll also look at system stats.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Anthony Project Sponsor
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Anthony Project Sponsor @dazza120
                        last edited by Anthony

                        @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.

                        D R 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy