Read the statement by Michael Teeuw here.
MMM-Scenes2
-
@ric said in MMM-Scenes2:
[5658:1213/232023.441362:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
I’m not sure whether this error is related to your symptom but refer to this.
https://forum.magicmirror.builders/topic/18076/failed-to-export-buffer-to-dma_buf-no-such-file-or-directoryAnd for ;
[5658:1213/232033.074222:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
It also seems related to the GPU/GL issue of electron/chromium.
https://github.com/electron/electron/issues/32760Hmmm, for those issues, I cannot help.
If you find something other from the log, report it again.
-
@ric
Maybe there would be some memory leaks on the chromium.
Can you test it again with more simple animations?(Just fadeIn, fadeOut) Some version of Chromium is known for possible memory leaking on transitions. -
@ric
And, your log is just backend log, I need front-end log.
You can see front-end log by;- installing MMM-LogExt
- Or, dev-console of your MM screen, not terminal. (with
npm run start:dev
, you can see dev-console panel on your MM screen.)
-
This post is deleted! -
@MMRIZE
I have changed the animations. New: fadeIn/fadeOut
I have installed MMM-LogExt.
MagicMirror is running and I will keep an eye on it. As soon as it stops running correctly, I will post the logs.
Thank youCurrent log entry
pi@magicmirror:~/MagicMirror $ pm2 logs MagicMirror [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option) /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | [29109:1214/163910.531720:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.534010:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.535596:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.536560:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.537412:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.539776:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.540617:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.541337:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.542083:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.542859:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.543568:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163910.544310:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [29109:1214/163912.238616:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! 0|MagicMir | [29109:1214/163912.240892:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! 0|MagicMir | [29109:1214/163923.075684:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: ... 0|MagicMirror | [14.12.2023 16:56.57.386] [LOG] [library.mjs:174:9] [SCENE] Scene transition starts: scene_2 0|MagicMirror | [14.12.2023 16:57.00.007] [LOG] [library.mjs:178:9] [SCENE] Scene will live: scene_2 60000 0|MagicMirror | [14.12.2023 16:58.00.036] [LOG] [library.mjs:174:9] [SCENE] Scene transition starts: scene_1 0|MagicMirror | [14.12.2023 16:58.02.697] [LOG] [library.mjs:178:9] [SCENE] Scene will live: scene_1 60000 0|MagicMirror | [14.12.2023 16:59.02.696] [LOG] [library.mjs:174:9] [SCENE] Scene transition starts: scene_2 0|MagicMirror | [14.12.2023 16:59.05.324] [LOG] [library.mjs:178:9] [SCENE] Scene will live: scene_2 60000 0|MagicMirror | [14.12.2023 16:59.15.816] [LOG] [weather.js:166:7] New weather information available. 0|MagicMirror | [14.12.2023 16:59.15.952] [LOG] [weather.js:166:7] New weather information available. 0|MagicMirror | [14.12.2023 17:00.05.325] [LOG] [library.mjs:174:9] [SCENE] Scene transition starts: scene_1 0|MagicMirror | [14.12.2023 17:00.07.959] [LOG] [library.mjs:178:9] [SCENE] Scene will live: scene_1 60000 0|MagicMirror | [14.12.2023 17:01.07.968] [LOG] [library.mjs:174:9] [SCENE] Scene transition starts: scene_2 0|MagicMirror | [14.12.2023 17:01.10.602] [LOG] [library.mjs:178:9] [SCENE] Scene will live: scene_2 60000 0|MagicMirror | [14.12.2023 17:02.10.614] [LOG] [library.mjs:174:9] [SCENE] Scene transition starts: scene_1 0|MagicMirror | [14.12.2023 17:02.13.263] [LOG] [library.mjs:178:9] [SCENE] Scene will live: scene_1 60000
Is MMM-LogExt working correctly or do I need to adjust something?
-
@ric
Log says nothing suspicious. I suspect Chromium graphic memory leak issues due to last parts of error-log.
In that case, I have nothing to help. Sorry. -
@MMRIZE
Thanks anyway.Would you say it’s the Pi version? Software/hardware version? Could this be fixed with a Chromium update in the future?
-
Very strange. I have created a third scene. Now it is already running for several hours.
-
I have the same problem, after about 1 hour there is no change of modules.
I also want a constant change of MMM-iframeReload and MMM-iframeReload2 moduleMagicMirror Version 2.27, Rapsberry PI 4 – 4 GB
My Config:/* MagicMirror² Config Sample * * By Michael Teeuw https://michaelteeuw.nl * MIT Licensed. * * For more information on how you can configure this file * see https://docs.magicmirror.builders/configuration/introduction.html * and https://docs.magicmirror.builders/modules/configuration.html * * You can use environment variables using a `config.js.template` file instead of `config.js` * which will be converted to `config.js` while starting. For more information * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables */ let config = { address: "0.0.0.0", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.249", "192.168.178.49"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "de", locale: "de-DE", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric", electronOptions: { webPreferences: { webviewTag: true, }, }, modules: [ { module: "alert", }, /*{ module: "clock", position: "top_left" },*/ { // https://github.com/TheBogueRat/MMM-iFrameReload module: 'MMM-iFrameReload', position: 'top_left', // This can be any of the regions. classes: "SEITE_ZWEI", //header: 'Rezept des Tages', config: { // See 'Configuration options' for more information. url: http://test/Anzeigetafeln/Anzeige1.html, width: "1900px", // Optional. Default: 100% height: "1080px", //Optional. Default: 100px refreshInterval: 100 } }, { // https://github.com/TheBogueRat/MMM-iFrameReload module: 'MMM-iFrameReload2', position: 'top_left', // This can be any of the regions. classes: "Welcome SEITE_EINS", //header: 'Rezept des Tages', config: { // See 'Configuration options' for more information. url: http://test/Anzeigetafeln/Logo.html, width: "1900px", // Optional. Default: 100% height: "1080px", //Optional. Default: 100px refreshInterval: 3600 } }, { // https://github.com/MMRIZE/MMM-Scenes2 module: "MMM-Scenes2", position: "bottom_bar", config: { life: 1000 * 10, activeIndicator: ' ', inactiveIndicator: ' ', scenario: [ { // First scene definition exit: ["SEITE_ZWEI"], enter: ["SEITE_EINS"], life: 1000 * 10, }, { // Second scene definition exit: ["SEITE_EINS"], enter: ["SEITE_ZWEI"], life: 1000 * 45, }, ], } }, { // https://github.com/Jopyth/MMM-Remote-Control module: 'MMM-Remote-Control', // uncomment the following line to show the URL of the remote control on the mirror // position: 'bottom_left', // you can hide this module afterwards from the remote control itself config: { customCommand: { //monitorStatusCommand: 'rm -rf .config/Electron', monitorStatusCommand: '~pi/restartBrowsercache.sh' }, // Optional, See "Using Custom Commands" below showModuleApiMenu: false, // Optional, Enable the Module Controls menu secureEndpoints: true, // Optional, See API/README.md // uncomment any of the lines below if you're gonna use it customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below // apiKey: "", // Optional, See API/README.md for details // classes: {} // Optional, See "Custom Classes" below } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { module.exports = config; }
I insert the line in my mm.sh:
export ELECTRON_DISABLE_GPU=1
pm2 Log:
[1965:0521/220109.925300:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
[1965:0521/220109.925398:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)uname -a
Linux raspberryanzeige1 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linuxfile /bin/bash
/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, strippedDoes anyone have any idea what I can do? Thanks
-
@Babene1
I researched about that error message.
The error messages seemed not to be the module or logic issue but the GPU/System issue. (Usually in -nix machines about graphic drivers.)However, I’m not sure the error message is related to your symptom actually. There is a chance these two things could be independent.
What I suggest for the test is;
- use simpler animation effects or no animation.
- give a longer life for the scene.
- Remove all other 3rd party modules, except default modules (clock, …)
If it helps, we can progress from it anyhow.
But if not; I think I rarely have things to do.