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.
    • C Offline
      Crimel @sdetweil
      last edited by

      @sdetweil Thank you for your rapid response!
      Unfortunately I get the same output:
      [TAILING] Tailing last 15 lines for [MagicMirror–lines=15] process (change the value with --lines option)

      I have this since 1 hour displayed in my terminal

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

        @crimel ok

        pm2 logs --lines=50

        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 said in MagicMirror stays black after adding Face-Reco-MMM:

          pm2 logs --lines=50

          With it I get an output :)

          PM2 | App [mm:0] starting in -fork mode-
          PM2 | App [mm:0] online
          0|mm | > magicmirror@2.18.0 start
          0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
          0|mm | [14.01.2022 14:26.53.892] [LOG]
          0|mm | Starting MagicMirror: v2.18.0
          0|mm | [14.01.2022 14:26.53.919] [LOG]
          0|mm | Loading config …
          0|mm | [14.01.2022 14:26.53.943] [LOG]
          0|mm | Loading module helpers …
          0|mm | [14.01.2022 14:26.54.977] [LOG]
          0|mm | Initializing new module helper …
          0|mm | [14.01.2022 14:26.54.981] [LOG] Check MagicMirror version for node helper ‘MMM-CoinMarketCap’ - Minimum version: 2.2.1 - Current version: 2.18.0
          0|mm | [14.01.2022 14:26.54.988] [LOG] Version is ok!
          0|mm | [14.01.2022 14:26.54.992] [LOG]
          0|mm | Module helper loaded: MMM-CoinMarketCap
          0|mm | [14.01.2022 14:26.54.999] [LOG] No helper found for module: MMM-SwissStationboard.
          0|mm | [14.01.2022 14:26.55.004] [LOG]
          0|mm | No helper found for module: clock.
          0|mm | [14.01.2022 14:26.55.451] [LOG]
          0|mm | Initializing new module helper …
          0|mm | [14.01.2022 14:26.55.454] [LOG]
          0|mm | Module helper loaded: calendar
          0|mm | [14.01.2022 14:26.55.457] [LOG]
          0|mm | No helper found for module: compliments.
          0|mm | [14.01.2022 14:26.55.460] [LOG] No helper found for module: weather.
          0|mm | [14.01.2022 14:26.55.534] [LOG]
          0|mm | Initializing new module helper …
          0|mm | [14.01.2022 14:26.55.535] [LOG] Module helper loaded: newsfeed
          0|mm | [14.01.2022 14:26.55.595] [LOG]
          0|mm | Initializing new module helper …
          0|mm | [14.01.2022 14:26.55.596] [LOG] Module helper loaded: MMM-Face-Reco-DNN
          0|mm | [14.01.2022 14:26.55.598] [LOG] All module helpers loaded.
          0|mm | [14.01.2022 14:26.55.863] [LOG]
          0|mm | Starting server on port 8080 …
          0|mm | [14.01.2022 14:26.55.900] [LOG]
          0|mm | Server started …
          0|mm | [14.01.2022 14:26.55.903] [LOG] Connecting socket for: MMM-CoinMarketCap
          0|mm | [14.01.2022 14:26.55.905] [LOG]
          0|mm | MMM-CoinMarketCap: module loaded! Path: /home/pi/MagicMirror/modules/MMM-CoinMarketCap
          0|mm | [14.01.2022 14:26.55.907] [LOG]
          0|mm | MMM-CoinMarketCap: Path “/logos” configured successfully.
          0|mm | [14.01.2022 14:26.55.909] [LOG] Connecting socket for: calendar
          0|mm | [14.01.2022 14:26.55.911] [LOG] Starting node helper for: calendar
          0|mm | [14.01.2022 14:26.55.913] [LOG] Connecting socket for: newsfeed
          0|mm | [14.01.2022 14:26.55.915] [LOG] Starting node helper for: newsfeed
          0|mm | [14.01.2022 14:26.55.917] [LOG] Connecting socket for: MMM-Face-Reco-DNN
          0|mm | [14.01.2022 14:26.55.946] [LOG]
          0|mm | Starting module helper: MMM-Face-Reco-DNN
          0|mm | [14.01.2022 14:26.55.947] [LOG] Sockets connected & modules started …
          0|mm | [14.01.2022 14:26.56.508] [LOG]
          0|mm | Launching application.
          0|mm | [5602:0114/142657.402179:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
          0|mm | [5640:0114/142657.695321:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

          S 1 Reply Last reply Reply Quote 0
          • S Away
            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 Away
                  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 Away
                      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