Read the statement by Michael Teeuw here.
Black screen. Add WM_CHANGE_STATE to kAtomsToCache
-
@veny can you show the startup messages
it has all the info we need -
Did I understand you correctly?
@sdetweil pm2 restart mm
Use --update-env to update environment variables
[PM2] Applying action restartProcessId on app [mm](ids: [ 0 ])
[PM2] mm ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ mm │ fork │ 156 │ online │ 0% │ 2.6mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $ pm2 show mm
Describing process with id 0 - name mm
┌───────────────────┬─────────────────────────────────┐
│ status │ online │
│ name │ mm │
│ namespace │ default │
│ version │ N/A │
│ restarts │ 156 │
│ uptime │ 26s │
│ script path │ /home/pi/mm.sh │
│ script args │ N/A │
│ error log path │ /home/pi/.pm2/logs/mm-error.log │
│ out log path │ /home/pi/.pm2/logs/mm-out.log │
│ pid path │ /home/pi/.pm2/pids/mm-0.pid │
│ interpreter │ bash │
│ interpreter args │ N/A │
│ script id │ 0 │
│ exec cwd │ /home/pi │
│ exec mode │ fork_mode │
│ node.js version │ N/A │
│ node env │ N/A │
│ watch & reload │ ✘ │
│ unstable restarts │ 0 │
│ created at │ 2024-10-01T18:56:53.096Z │
└─ -
@sdetweil
pm2 logs mm
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm |
0|mm | <— JS stacktrace —>
0|mm |
0|mm | [30424:1001/212148.823866:ERROR:v8_initializer.cc(808)] V8 javascript OOM (Reached heap limit).
0|mm | [30229:1001/213410.607340:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|mm | [14551:1001/214649.132892:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
0|mm | [14551:1001/214649.166117:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
0|mm | [14415:1001/215313.946903:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
0|mm | [14551:1001/215414.311486:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
0|mm | [14551:1001/215414.338625:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|mm | [16356:1001/215713.542578:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
0|mm | [16491:1001/215716.216002:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
0|mm | [16491:1001/215716.258075:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm | [2024-10-01 21:57:10.232] [LOG] Create new newsfetcher for url: https://www.vedomosti.ru/rss/news - Interval: 300000
0|mm | [2024-10-01 21:57:10.835] [INFO] updatenotification: Updater Class Loaded!
0|mm | [2024-10-01 21:57:10.878] [INFO] updatenotification: Checking PM2 using…
0|mm | [2024-10-01 21:57:12.532] [INFO] Checking git for module: MMM-FlipClock
0|mm | [2024-10-01 21:57:13.406] [INFO] Checking git for module: MMM-YrThen
0|mm | [2024-10-01 21:57:15.040] [INFO] Checking git for module: MMM-yandex-route
0|mm | [2024-10-01 21:57:15.452] [INFO] updatenotification: [PM2] You are not using pm2
0|mm | [2024-10-01 21:57:15.479] [INFO] System information:
0|mm | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
0|mm | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 5.15.32-v7+
0|mm | ### VERSIONS: electron: 31.1.0; used node: 20.14.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.1
0|mm | ### OTHER: timeZone: Europe/Moscow; ELECTRON_ENABLE_GPU: undefined
0|mm | [2024-10-01 21:57:15.725] [INFO] Checking git for module: MMM-Multimonth
0|mm | [2024-10-01 21:57:16.083] [INFO] Checking git for module: MagicMirror
0|mm | [2024-10-01 21:57:17.354] [INFO] Newsfeed-Fetcher: Broadcasting 200 items. -
-
@sdetweil
Why might this message appear? You are not using pm2
configured pm2 using these instruction
https://docs.magicmirror.builders/configuration/autostart.html#using-pm2 -
-
@veny the output is concerning the raspberry:[ object] stuff was removed in 2.29 (today release)
and the browser is before 31.1, so this is v2.28is this a new a new install