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.

    ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf:

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    26 Posts 5 Posters 10.1k Views 5 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.
    • E Offline
      eyesallin @sdetweil
      last edited by

      @sdetweil
      Thx for responding, the only errors are

      [MMM-OpenWeatherMapForecast] 7-Jan-24 09:08 ** ERROR ** null
      ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      Warning: vkCreateInstance: Found no drivers!
      Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
      at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
      at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
      at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
      at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
      at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

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

        @eyesallin said

        [MMM-OpenWeatherMapForecast] 7-Jan-24 09:08 ** ERROR ** null

        yeh not very useful, but there was an error

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • F Offline
          fethiyetours
          last edited by

          Thanks for information

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

            @fethiyetours can u edit the module node_helper.js and change the error path like this

                                } else {   /// this is the current line 62
                                    if(response.statusCode != 200)
                                        console.log("[MMM-OpenWeatherMapForecast] " + moment().format("D-MMM-YY HH:mm") + " statusCode " + response.statusCode);
                                    else 
                                        console.log("[MMM-OpenWeatherMapForecast] " + moment().format("D-MMM-YY HH:mm") + " ** ERROR ** " + error);
                                }
            

            I’m guessing the statuscode will be 401, unauthorized

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • E Offline
              ereborinkorppi @sdetweil
              last edited by

              @sdetweil sorry for the delay. I guess I posted about my 32bit test. So I installed new 32 os and MagicMirror with the script, nothing extra, no own settings. Still gives me the same error message, and like for others here it doesn’t load the weather module (in sample config file) without any extra errors. If I switch to my own config (without any 3rd party modules) it doesn’t load all of my calendars (no other errors than the gbm_wrapper) and the whole MagicMirror gets stuck. Can’t even quit it without killing it.

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

                @ereborinkorppi I see that error on my pi too, but it doesn’t interfere with operations.

                would you be willing to to do a backup of your system using my backup/restore scripts

                https://github.com/sdetweil/MagicMirror-backup-restore

                and send me the three files. to my email,
                sane userid as here at gmail

                config.js, custom.css and the module list

                to email js files you have to rename to .txt

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  gonzonia @sdetweil
                  last edited by gonzonia

                  @sdetweil Wondering if there was a resolution here. I just did a brand new install on a Pi4b v1.5 using the script. I’ve not added any modules or changed the default config file in any way.

                  During the setup, I saw this (probably unrelated)

                  /usr/lib/aarch64-linux-gnu/plymouth/.so does not exist
                  Splashscreen: Couldn't change theme to MagicMirror!
                  don't know how to disable screen saver on labwc compositor
                  

                  I added the

                  export ELECTRON_DISABLE_GPU=1
                  

                  to the mm.sh
                  but had no effect.
                  I noticed this in the log

                  ELECTRON_ENABLE_GPU: undefined .
                  

                  and tried adding

                  export ELECTRON_ENABLE_GPU =0
                  

                  but it had no effect except to change the “undefined” to “0”

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

                    @gonzonia

                    we disabled GPU by default, to eliminate many errors, for most users

                    the plymouth message from my script is because the old way doesn’t work , but i dont know yet the right way

                    the error message from electron appears to be a bug, and we cant suppress it, sorry

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      gonzonia @sdetweil
                      last edited by

                      @sdetweil No worries. Thanks for the response.

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