Read the statement by Michael Teeuw here.
MMM-Scenes2
-
@ric
Install MMM-LogExt; that module would help deliver your front-end log to the backend log. If you are using pm2, you can see the log in~/.pm2/logsor somewhere. (I’m not sure about your environment.)Or, you can run MM as debug mode; Instead of
pm2(stoppm2first), you can run your MM with debug mode bynpm run start:dev, It will open MM with dev-console. Wait until your error happens. When you find the issue, See the console tab, there would be some suspicious messages or errors. -
@MMRIZE said in MMM-Scenes2:
@ric
Install MMM-LogExt; that module would help deliver your front-end log to the backend log. If you are using pm2, you can see the log in~/.pm2/logsor somewhere. (I’m not sure about your environment.)pm2 only captures backend log,
nothing captures front end log unless your LogExt is installed.
-
@MMRIZE
Thank you for your patience.
Now magicmirror is running in debug mode. So far it runs as it should.pi@magicmirror:~/MagicMirror $ npm run start:dev > magicmirror@2.25.0 start:dev > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js dev [13.12.2023 23:20.19.284] [LOG] Starting MagicMirror: v2.25.0 [13.12.2023 23:20.19.289] [LOG] Loading config ... [13.12.2023 23:20.19.293] [DEBUG] config template file not exists, no envsubst [13.12.2023 23:20.19.298] [LOG] Loading module helpers ... [13.12.2023 23:20.19.300] [LOG] No helper found for module: alert. [13.12.2023 23:20.19.325] [LOG] Initializing new module helper ... [13.12.2023 23:20.19.326] [LOG] Module helper loaded: updatenotification [13.12.2023 23:20.19.327] [LOG] No helper found for module: clock. [13.12.2023 23:20.19.399] [LOG] Initializing new module helper ... [13.12.2023 23:20.19.400] [LOG] Module helper loaded: MMM-text-clock [13.12.2023 23:20.19.627] [LOG] Initializing new module helper ... [13.12.2023 23:20.19.628] [LOG] Module helper loaded: calendar [13.12.2023 23:20.19.628] [LOG] No helper found for module: weather. [13.12.2023 23:20.19.643] [LOG] Initializing new module helper ... [13.12.2023 23:20.19.643] [LOG] Module helper loaded: MMM-Scenes2 [13.12.2023 23:20.19.643] [LOG] All module helpers loaded. [13.12.2023 23:20.19.651] [LOG] Starting server on port 8080 ... [13.12.2023 23:20.20.122] [LOG] Server started ... [13.12.2023 23:20.20.122] [LOG] Connecting socket for: updatenotification [13.12.2023 23:20.20.123] [LOG] Starting module helper: updatenotification [13.12.2023 23:20.20.123] [LOG] Connecting socket for: MMM-text-clock [13.12.2023 23:20.20.124] [LOG] Starting module helper: MMM-text-clock [13.12.2023 23:20.20.124] [LOG] Connecting socket for: calendar [13.12.2023 23:20.20.125] [LOG] Starting node helper for: calendar [13.12.2023 23:20.20.125] [LOG] Connecting socket for: MMM-Scenes2 [13.12.2023 23:20.20.425] [LOG] Sockets connected & modules started ... [13.12.2023 23:20.20.576] [LOG] Launching application. [5658:1213/232023.441362:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.441848:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.442182:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.442478:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.442771:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.443062:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.443344:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.444865:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.445175:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.445471:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.445828:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.446143:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.446421:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [5658:1213/232023.446686:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [13.12.2023 23:20.25.506] [LOG] Create new calendarfetcher for url: https://calendar.google.com/xxxxxxxxxxxxx/basic.ics - Interval: 3600000 [13.12.2023 23:20.25.672] [LOG] Create new calendarfetcher for url: https://onlinekalender.info/feiertage/schweiz.ics - Interval: 3600000 [13.12.2023 23:20.25.678] [INFO] Checking git for module: MMM-text-clock [13.12.2023 23:20.26.283] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [13.12.2023 23:20.26.344] [INFO] Checking git for module: MMM-Scenes2 [13.12.2023 23:20.26.553] [INFO] Checking git for module: MagicMirror [13.12.2023 23:20.28.191] [INFO] Calendar-Fetcher: Broadcasting 3 events from https://calendar.google.com/xxxxxxxxxxxxx/basic.ics. [5658:1213/232033.074222:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [5658:1213/232037.073720:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [5658:1213/232039.081014:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!I’ll let it run until something suspicious is output and then report back.
Thank you very much -
After several hours, the loop is blocked again.
But there is not much to see in the log.I have deleted the log ~/.pm2/logs and started it again. I can also post this afterwards.
pi@magicmirror:~/MagicMirror $ npm run start:dev > magicmirror@2.25.0 start:dev > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js dev [13.12.2023 23:55.22.997] [LOG] Starting MagicMirror: v2.25.0 [13.12.2023 23:55.23.002] [LOG] Loading config ... [13.12.2023 23:55.23.005] [DEBUG] config template file not exists, no envsubst [13.12.2023 23:55.23.010] [LOG] Loading module helpers ... [13.12.2023 23:55.23.012] [LOG] No helper found for module: alert. [13.12.2023 23:55.23.037] [LOG] Initializing new module helper ... [13.12.2023 23:55.23.038] [LOG] Module helper loaded: updatenotification [13.12.2023 23:55.23.039] [LOG] No helper found for module: clock. [13.12.2023 23:55.23.109] [LOG] Initializing new module helper ... [13.12.2023 23:55.23.110] [LOG] Module helper loaded: MMM-text-clock [13.12.2023 23:55.23.336] [LOG] Initializing new module helper ... [13.12.2023 23:55.23.336] [LOG] Module helper loaded: calendar [13.12.2023 23:55.23.337] [LOG] No helper found for module: weather. [13.12.2023 23:55.23.351] [LOG] Initializing new module helper ... [13.12.2023 23:55.23.352] [LOG] Module helper loaded: MMM-Scenes2 [13.12.2023 23:55.23.352] [LOG] All module helpers loaded. [13.12.2023 23:55.23.360] [LOG] Starting server on port 8080 ... [13.12.2023 23:55.23.755] [LOG] Server started ... [13.12.2023 23:55.23.756] [LOG] Connecting socket for: updatenotification [13.12.2023 23:55.23.757] [LOG] Starting module helper: updatenotification [13.12.2023 23:55.23.757] [LOG] Connecting socket for: MMM-text-clock [13.12.2023 23:55.23.758] [LOG] Starting module helper: MMM-text-clock [13.12.2023 23:55.23.758] [LOG] Connecting socket for: calendar [13.12.2023 23:55.23.759] [LOG] Starting node helper for: calendar [13.12.2023 23:55.23.759] [LOG] Connecting socket for: MMM-Scenes2 [13.12.2023 23:55.24.018] [LOG] Sockets connected & modules started ... [13.12.2023 23:55.24.126] [LOG] Launching application. [6004:1213/235525.303520:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.304075:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.304482:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.304869:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.305244:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.305713:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.306098:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.307820:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.308207:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.308576:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.308928:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.309269:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.309644:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [6004:1213/235525.310007:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [13.12.2023 23:55.27.245] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics - Interval: 3600000 [13.12.2023 23:55.27.382] [LOG] Create new calendarfetcher for url: https://onlinekalender.info/feiertage/schweiz.ics - Interval: 3600000 [13.12.2023 23:55.27.389] [INFO] Checking git for module: MMM-text-clock [13.12.2023 23:55.28.161] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [13.12.2023 23:55.28.195] [INFO] Checking git for module: MMM-Scenes2 [13.12.2023 23:55.28.616] [INFO] Checking git for module: MagicMirror [13.12.2023 23:55.30.046] [INFO] Calendar-Fetcher: Broadcasting 3 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [6004:1213/235535.089417:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [6004:1213/235537.084669:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [6004:1213/235540.087744:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! [14.12.2023 00:55.28.404] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 00:55.30.993] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [14.12.2023 01:55.28.639] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 01:55.31.758] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [14.12.2023 02:55.28.843] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 02:55.32.503] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [14.12.2023 03:55.29.056] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 03:55.33.226] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [14.12.2023 04:55.29.269] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 04:55.33.880] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [14.12.2023 05:55.29.449] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 05:55.34.466] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [14.12.2023 06:55.29.648] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 06:55.35.144] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. [14.12.2023 07:55.29.860] [INFO] Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics. [14.12.2023 07:55.35.877] [INFO] Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics. -
@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 60000Is 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. -
Thank you for your answer, I agree with you, I also think that the error message has nothing to do with the problem.
Error message is written to the log after the start and the freezing of the module happens after about 1 hour.I used the default animation, unfortunately I don’t know how to remove the animation completely.
Have also removed the MMM remote control module.
So there are only three modules left, MMM-Scenes2, MMM-iFrameReload and MMM-iFrameReload2I switched off WLan-power Save and deactivated IPV6.
No improvement, no improvement.
Next tests will be longer times and I will use a different browser.
Other test scenarios ?
-
@Babene1
To disable animation, you can setanimation: nullindefaultEnterdefinition or each scene role definition./* example for default behaviour */ defaultEnter: { animation: null, duration: 1000, gap: 0, }, /* example for each scene definition */ scenario: [ { name: "scene1", enter: { role: "role1", animation: null, ...I’m suspecting Chrome’s memory leaks. These factors may cause memory leaks.
- improper handling timer
- CSS transition/Animation
I’ll modify some code to confirm to clear out garbage timer. Wait a little.
By the way, can you test the default clock module instead of MMM-iFrame Things? (To make things clearer)
-
@Babene1
It’s been updated, but I’m not expecting much. Because timers are rarely used in my code(only two), I don’t think that was the cause of the problem. Anyway, I fixed it so that when the timer is used, it is turned off as soon as possible. -
I have switched to MMM-Carousel and experimented with it. It ran for a few days without any problems. Then I installed more modules and customised my configuration. And now the problem is occurring again. The last scene hangs at some point, so I was afraid it might be this one: MMM-BackgroundSlideshow. However, you are not using this, so it is unlikely to be due to this.
My next steps:
- disable MMM-BackgroundSlideshow.
- completely reinstall everything and only install the modules I want to have at the end and then not change anything else. Let’s see if I will be successful.
-
@ric
Chrome(Chromium) is notorious for memory leaks. On Transition/Animation, this kind of error is often reported in some environments (+ some GPU driver issues). Sometimes, a newer version looks like it solves this issue, but the issue returns in subsequent versions again.
If you have more memory, this symptom seems relieving, but not absolutely. -
Result of my test:
-
ListenpunktUsing “external_broqwser=firefox” no improvement, after about 1 hour no changes from the modul.
-
ListenpunktWith “animation: null”, no improvement, after about 1 hour no changes from the modul.
-
ListenpunktWith default clock and calendar, no problem (test run about 2,5 hours)
Next test, with just an iframe module and the MMM-Simple Logo module. This module combination could be a solution for me
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login