Read the statement by Michael Teeuw here.
MMM-Scenes2
-
@ric
Can you send me your config? (eouia0819@gmail.com) (You may need to rename it as config.txt to attach it to the mail.) -
I have sent it
-
@ric has not reached yet.
Anyway,- did it stop after the first cycle?
- or did it work for a while, but after many cycles, did it suddenly stop? In that case, maybe some javascript error from this or other modules prevents the working. I need the front-end log error also.
-
it ran for several hours. now it seems to be blocked again.
Where can I find front-end log ? -
@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/logs
or somewhere. (I’m not sure about your environment.)Or, you can run MM as debug mode; Instead of
pm2
(stoppm2
first), 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/logs
or 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.