Read the statement by Michael Teeuw here.
MMM-MQTT = Blank Screen
-
ok, here is the output.
Just for information this is done over ssh.
pi2@MagicMirror:~/MagicMirror/config $ pm2 logs --lines=100 [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option) /home/pi2/.pm2/pm2.log last 100 lines: PM2 | 2023-02-09T10:48:02: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2023-02-09T10:48:02: PM2 log: App [mm:0] online PM2 | 2023-02-09T10:50:12: PM2 log: Stopping app:mm id:0 PM2 | 2023-02-09T10:50:13: PM2 log: pid=1664 msg=failed to kill - retrying in 100ms PM2 | 2023-02-09T10:50:13: PM2 log: pid=1664 msg=failed to kill - retrying in 100ms PM2 | 2023-02-09T10:50:13: PM2 log: pid=1664 msg=failed to kill - retrying in 100ms PM2 | 2023-02-09T10:50:13: PM2 log: pid=1664 msg=failed to kill - retrying in 100ms PM2 | 2023-02-09T10:50:13: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2023-02-09T10:50:13: PM2 log: pid=1664 msg=process killed /home/pi2/.pm2/logs/mm-out.log last 100 lines: 0|mm | 0|mm | > magicmirror@2.22.0 start 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | 0|mm | [09.02.2023 10:48.09.593] [LOG] Starting MagicMirror: v2.22.0 0|mm | [09.02.2023 10:48.09.609] [LOG] Loading config ... 0|mm | [09.02.2023 10:48.09.626] [LOG] Loading module helpers ... 0|mm | [09.02.2023 10:48.09.632] [LOG] No helper found for module: alert. 0|mm | [09.02.2023 10:48.09.669] [LOG] Initializing new module helper ... 0|mm | [09.02.2023 10:48.09.672] [LOG] Module helper loaded: updatenotification 0|mm | [09.02.2023 10:48.09.675] [LOG] No helper found for module: clock. 0|mm | [09.02.2023 10:48.10.394] [LOG] Initializing new module helper ... 0|mm | [09.02.2023 10:48.10.399] [LOG] Module helper loaded: calendar 0|mm | [09.02.2023 10:48.10.411] [LOG] No helper found for module: weather. 0|mm | [09.02.2023 10:48.10.420] [LOG] Initializing new module helper ... 0|mm | [09.02.2023 10:48.10.421] [LOG] Module helper loaded: MMM-ImageSlideshow 0|mm | [09.02.2023 10:48.10.895] [LOG] Initializing new module helper ... 0|mm | [09.02.2023 10:48.10.896] [LOG] Module helper loaded: MMM-MQTT 0|mm | [09.02.2023 10:48.12.346] [LOG] Initializing new module helper ... 0|mm | [09.02.2023 10:48.12.348] [LOG] Module helper loaded: MMM-Jast 0|mm | [09.02.2023 10:48.12.453] [LOG] Initializing new module helper ... 0|mm | [09.02.2023 10:48.12.455] [LOG] Module helper loaded: newsfeed 0|mm | [09.02.2023 10:48.12.456] [LOG] All module helpers loaded. 0|mm | [09.02.2023 10:48.12.758] [LOG] Starting server on port 8080 ... 0|mm | [09.02.2023 10:48.13.766] [LOG] Server started ... 0|mm | [09.02.2023 10:48.13.768] [LOG] Connecting socket for: updatenotification 0|mm | [09.02.2023 10:48.13.770] [LOG] Starting module helper: updatenotification 0|mm | [09.02.2023 10:48.13.772] [LOG] Connecting socket for: calendar 0|mm | [09.02.2023 10:48.13.773] [LOG] Starting node helper for: calendar 0|mm | [09.02.2023 10:48.13.779] [LOG] Connecting socket for: MMM-ImageSlideshow 0|mm | [09.02.2023 10:48.13.781] [LOG] Connecting socket for: MMM-MQTT 0|mm | [09.02.2023 10:48.13.783] [LOG] Connecting socket for: MMM-Jast 0|mm | [09.02.2023 10:48.13.785] [LOG] MMM-Jast helper method started... 0|mm | [09.02.2023 10:48.13.787] [LOG] Connecting socket for: newsfeed 0|mm | [09.02.2023 10:48.13.789] [LOG] Starting node helper for: newsfeed 0|mm | [09.02.2023 10:48.13.791] [LOG] Sockets connected & modules started ... 0|mm | [09.02.2023 10:48.14.076] [LOG] Launching application. 0|mm | [09.02.2023 10:48.22.293] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/35/Australia_Holidays.ics - Interval: 300000 0|mm | [09.02.2023 10:48.24.266] [INFO] Calendar-Fetcher: Broadcasting 18 events. /home/pi2/.pm2/logs/mm-error.log last 100 lines: 0|mm | [1719:0209/104818.604536:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [1761:0209/104819.018207:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [1732:0209/104819.110729:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. 0|mm | /home/pi2/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
-
@vinnie1 see this for steps to turn off gpu
https://forum.magicmirror.builders/topic/16409/mmm-flights/16?_=1675905532490
-
Still get the errors
/home/pi2/.pm2/logs/mm-error.log last 100 lines: 0|mm | [2768:0211/074735.631766:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [2811:0211/074736.362425:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [2782:0211/074736.436519:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
-
@vinnie1 did u add the
export ELECTRON_DISABLE_GPU=1to the correct file
-
-
@vinnie1 to figure out which script needs updating use pm2 commands
pm2 status
will show you all the apps it is managing
for each, using the number or name do
pm2 info x
where x is the number or name
for example
pm2 info 0
or
pm2 info MagicMirrorit will tell you lots of things, but one is the name of the script used to launch the app
-
With all my fiddling, my MagicMirror is now broken, it wont start.
Over the next few days I will do a clean install, and then take it from there.
Thanks for your help.