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

MESA-LOADER: failed to retrieve device information

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 4 Posters 7.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.
  • S Away
    sdetweil @Dresch360
    last edited by Apr 16, 2023, 11:35 AM

    @Dresch360 said in MESA-LOADER: failed to retrieve device information:

    Cannot find module ‘passport’
    Require stack:

    /home/pi/MagicMirror/modules/Gateway/node_helper.js

    this is the black screen problem, a required library is not found

    where does the Gateway module come from?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 1 Reply Last reply Apr 17, 2023, 5:32 PM Reply Quote 0
    • D Offline
      Dresch360 Project Sponsor @sdetweil
      last edited by Dresch360 Apr 17, 2023, 5:34 PM Apr 17, 2023, 5:32 PM

      @sdetweil Thanks. Gateway is a module used for MMM-GoogleAssistant

      S 1 Reply Last reply Apr 17, 2023, 5:37 PM Reply Quote 0
      • S Away
        sdetweil @Dresch360
        last edited by Apr 17, 2023, 5:37 PM

        @Dresch360 ok, but it appears to be missing a library… passport

        so I would redo the npm install in that module folder

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          Corvidael @sdetweil
          last edited by Jun 26, 2023, 4:22 PM

          @sdetweil Sort of the same problem here. Absolutely fresh install on a new Pi using the manual installation 2 days ago (June 24).
          Getting

          MESA-LOADER: failed to retrieve device information
          ../../buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[6958:0626/084246.096948:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
          

          I’m relatively new to npm, and I’m having difficulty locating that script you are referencing (“the script used to start mm”) Where does that reside exactly?
          Thanks

          S 1 Reply Last reply Jun 26, 2023, 9:30 PM Reply Quote 0
          • S Away
            sdetweil @Corvidael
            last edited by Jun 26, 2023, 9:30 PM

            @Corvidael if you used my install script, and said yes to use pm2 to autostart mm. then the script is

            ~/MagicMirror/installers/mm.sh

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Jun 27, 2023, 1:03 PM Reply Quote 0
            • C Offline
              Corvidael @sdetweil
              last edited by Jun 27, 2023, 1:03 PM

              @sdetweil Thank you, I was all excited there for a second, but it didn’t fix the issue.
              As a secondary test, I commented out the actual start line in mm.sh, and the ‘npm run start’ still worked anyways. Looks like the ‘manual installation’ does not use your script.
              I might start a new thread here with a more specific question regarding disabling GPU and the location of the start scripts outside of config.js, when using this Manual Installation instruction off the main page.
              manualInstall.png

              This is still the result of the run:
              config error.png

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