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.

    calendar fetch goes wrong and gpu process error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 4 Posters 1.5k Views 4 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 @bugsounet
      last edited by sdetweil

      @bugsounet no… this is why we have the electron-rebuild problem…

      in electron mode, we have the embedded node engine… (all the work is done from inside the electron binary)

      		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
      

      and need electron rebuild to match the binary level

      in server only mode we need the npm rebuild to get to match the node version binary level

      		"server": "node ./serveronly",
      

      use on-off, or gpio… different compiles if they are different

      this is a good reason to keep the the nodejs versions in sync

      make them not syncd and switch between full and server only and you will see the binary level error

      took my brain a while to see this

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      karsten13K 1 Reply Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @sdetweil
        last edited by

        found the old discussion here

        R 1 Reply Last reply Reply Quote 2
        • R Offline
          rotorax @karsten13
          last edited by

          l@karsten13

          hi, im running now in the recommended electron and a newer node version

          SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model A Plus Rev 1.0; raspberry: [object Object]; virtual: false
          OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.21-v7+
          VERSIONS: electron: 31.1.0; used node: 20.14.0; installed node: 22.5.1; npm: 10.8.2; pm2: 5.4.1
          OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined

          The MM now starts very fast and without rebooting the raspberry. I’ll keep you updated.
          Thanks in advance :)

          1 Reply Last reply Reply Quote 1
          • R rotorax has marked this topic as solved on
          • R Offline
            rotorax @karsten13
            last edited by

            @karsten13

            thanks again. The magic mirror now runs smoothly and without any errors :)

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