• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 13.6k 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
    richland007 @Klinge
    last edited by Dec 6, 2018, 7:26 PM

    @klinge I think the appilcationstarts but on server mode only at least thats what it was doing on my case…go on a different computers webbrowser and type your mirrors RaspberryPi IP address and :8080 as the port number http://raspberrypiIP:8080 and see what you get.

    I did not find a solution to it i just took OpenGL out of the equation and it works fine

    Denis

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User
      last edited by A Former User Dec 6, 2018, 11:39 PM Dec 6, 2018, 11:37 PM

      Try this
      npm start — —disable-gpu
      — is - -(dash twice.) I’m not sure disable or disabled. Try both.

      1 Reply Last reply Reply Quote 0
      • K Offline
        Klinge
        last edited by Dec 7, 2018, 10:42 AM

        Thank you for your advice. I will try it on Monday

        1 Reply Last reply Reply Quote 0
        • K Offline
          Klinge
          last edited by Dec 11, 2018, 9:01 AM

          I tried both. …disable-gpu unfortunately does not not bring any improvement. So I took OpenGL out of the equation and it works.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Anthony Project Sponsor
            last edited by Jan 24, 2019, 12:33 PM

            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.

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by Jan 24, 2019, 12:35 PM

              Just use serveronly (node serveronly) instead npm start.

              A 1 Reply Last reply Jan 24, 2019, 12:37 PM Reply Quote 0
              • A Offline
                Anthony Project Sponsor @Guest
                last edited by Jan 24, 2019, 12:37 PM

                @sean Thank you for your fast reply. I’ll give it a try as soon as I get home and see how it goes.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rts58
                  last edited by Jan 24, 2019, 11:10 PM

                  Are you using pm2? I was having same issue, and was able to resolve by following pm2 setup process.

                  A 1 Reply Last reply Jan 25, 2019, 8:30 AM Reply Quote 0
                  • D Offline
                    dazza120
                    last edited by Jan 24, 2019, 11:21 PM

                    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

                    A 1 Reply Last reply Jan 25, 2019, 8:35 AM Reply Quote 0
                    • A Offline
                      Anthony Project Sponsor @rts58
                      last edited by Jan 25, 2019, 8:30 AM

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

                      R B 2 Replies Last reply Jan 25, 2019, 3:36 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 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