MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. rrslssr
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 23
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: ERROR:gbm_wrapper.cc(253) Failed to export buffer to dma_buf: No such file or directory

      @sdetweil said in ERROR:gbm_wrapper.cc(253) Failed to export buffer to dma_buf: No such file or directory:

      export ELECTRON_DISABLE_GPU=1

      @sdetweil That did not work for those errors, but it did eliminate other errors further down.
      I’ll just ignore these.
      Thanks

      posted in Troubleshooting
      R
      rrslssr
    • ERROR:gbm_wrapper.cc(253) Failed to export buffer to dma_buf: No such file or directory

      This would seem to be a minor irritation rather than an issue, but…
      My system was installed using @sdetweil’s installation script.
      MM seems to be working and displaying properly on my system:

      • Linux magicmirror 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux
      • /bin/bash: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=198ac6b0cc01bf774c5746a36a6fd31dead9bda5, for GNU/Linux 3.7.0, stripped

      However, I get these errors are displayed quickly after starting MM:

      …
      [13.11.2023 12:28.38.427] [LOG] Launching application.
      [6982:1113/122839.369692:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.371506:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.372947:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.374394:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.375867:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.377332:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.378891:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.382146:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.383645:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.385641:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.388818:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.390166:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.392742:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6982:1113/122839.395676:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)

      Are these errors something I should worry about and correct, or can I just ignore them?

      Thanks.

      posted in Troubleshooting
      R
      rrslssr
    • RE: Modifying the Config File

      Hello. I too am a Noob. Here is what I entered into my config.ps file,
      which is located in the ~/MagicMirror/config directory:

                  {
                          module: "weather",
                          units: "imperial",
                          windUnits: "imperial",
                          tempUnits: "imperial",
                          position: "top_right",
                          header: "Weather Forecast",
                          config: {
                                  weatherProvider: "openweathermap",
                                  type: "forecast",
                                  units: "imperial",
                                  windUnits: "imperial",
                                  tempUnits: "imperial",
                                  location: "Your-City",
                                  locationID: "Your-Location-ID", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                                  apiKey: "Your-Newly-Created-apiKey"
                          }
                  },
      

      As sdetweil stated, you have to download the file: http://bulk.openweathermap.org/sample/city.list.json.gz, unzip it and search for the city closest to your location. This will give you the values for location: and locationID: ( “Your-City” and “Your-Location-ID” ).
      I found that searching for the 2-letter state value allowed me to find my location quicker.

      Then, you need to create a free account at https://openweathermap.org/ to obtain the apiKey that will be automatically created with your new account.

      BTW, the “imperial” values result in Fahrenheit and MPH values. You can change the values or delete those lines if you want Metric values as that is the module’s default.

      Take care.

      posted in Troubleshooting
      R
      rrslssr
    • 1 / 1