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.

    MagicMirror stays black after adding Face-Reco-MMM

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 3 Posters 2.1k Views 3 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.
    • S Offline
      sdetweil @Crimel
      last edited by sdetweil

      @crimel edit package.json and add

      –disable-gpu

      to the start clause

      on my phone so hard to type it all

      “start”:“… node_modules… --disable-gpu js/electron.js”

      … means stuff that is there already keep

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Crimel @sdetweil
        last edited by

        @sdetweil Thank you!
        Do you mean package.json ? I dont find a file called pancake.json :/

        mumblebajM S 2 Replies Last reply Reply Quote 0
        • mumblebajM Offline
          mumblebaj Module Developer @Crimel
          last edited by

          @crimel Yes, should be package.json. Must have been an autocorrect. :)

          Check out my modules at: https://github.com/mumblebaj?tab=repositories

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Crimel
            last edited by

            @crimel yes, typo, fixed

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Crimel @sdetweil
              last edited by

              @sdetweil @mumblebaj
              Awesome support!

              I just added it to the package.json
              “scripts”: {
              “start”: “DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron --disable-gpu js/electron.js”,
              “start:dev”: “DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js dev”,

              and have one error left

              0|mm | [11202:0114/154643.064204:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

              Funny thing is that i have the same error on another config.json without Face-Reco and the mirror is working there.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Crimel
                last edited by

                @crimel run the fixsandbox script from here
                https://github.com/sdetweil/MagicMirror_scripts

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 1 / 2
                • 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