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.

    Failed to export buffer to dma_buf: No such file or directory

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 4.6k 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 @Roncham
      last edited by

      @Roncham can you do

      uname -a
      and
      file /bin/bash

      if you start over , reinstall the OS image on your SD card
      and then run the script from the testit branch

      it should work on bookworm. I just fixed the script for the 32 bit version on pi4.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Roncham @sdetweil
        last edited by

        @sdetweil said in Failed to export buffer to dma_buf: No such file or directory:

        uname -a

        When I tried your script it said I had Node 18…, but node -v shows 20 before I started. Then it dies after installing npm with the ‘primordials’ error.
        Can I purge the node cache without removing node? If so how?

        @raspberrypi:~ $ uname -a
        Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
        
        @raspberrypi:~ $ file /bin/bash
        /bin/bash: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=12abba9f431c0bef9f0a2a47f29cc9175159347f, for GNU/Linux 3.2.0, stripped
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Roncham
          last edited by

          @Roncham send me the ~/install.log

          same userid at gmail

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Roncham @sdetweil
            last edited by

            @sdetweil

            I started over from scratch. Sorry to waste your time. Your script worked great.
            Thanks!

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

              @Roncham thanks for the feedback. which is image did you choose? 32 or 64 bit

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                Roncham @sdetweil
                last edited by

                @sdetweil 64 bit desktop

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

                  @Roncham weird. try this

                  pm2 stop all
                  cd ~/MagicMirror
                  export ELECTRON_DISABLE_GPU=1
                  npm start 
                  

                  wait and see if the errors occurs

                  if not

                  add the export line to the script that starts mm
                  in front of the npm start

                  if you used my install script, that is
                  ~/MagicMirror/installers/mm.sh

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M MMRIZE referenced this topic on
                  • 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