Read the statement by Michael Teeuw here.
Black screen with cursor issue.
-
@nx3xo the files are in the
~/.pm2/logs
folder
notice the dot (.) I’m front of pm2
in Linux there is no hidden attribute so by convention anything with a leading dot I not shown by normal file list commands
-
Hopefully this is enough to narrow it down.
Out>
[18.12.2023 19:51.10.942] [LOG] Starting MagicMirror: v2.25.0
[18.12.2023 19:51.10.959] [LOG] Loading config …
[18.12.2023 19:51.10.966] [DEBUG] config template file not exists, no envsubst
[18.12.2023 19:51.10.982] [LOG] Loading module helpers …
[18.12.2023 19:51.10.988] [LOG] No helper found for module: clock.
[18.12.2023 19:51.10.992] [LOG] No helper found for module: weather.
[18.12.2023 19:51.14.346] [LOG] Initializing new module helper …
[18.12.2023 19:51.14.349] [LOG] Module helper loaded: MMM-MyCommute
[18.12.2023 19:51.16.298] [LOG] Initializing new module helper …
[18.12.2023 19:51.16.302] [LOG] Module helper loaded: MMM-Tesla
[18.12.2023 19:51.19.071] [LOG] Module helper loaded: MMM-Nightscout
[18.12.2023 19:51.19.072] [LOG] All module helpers loaded.
[18.12.2023 19:51.19.094] [LOG] Starting server on port 8080 …
[18.12.2023 19:51.19.204] [LOG] Server started …
[18.12.2023 19:51.19.209] [LOG] Connecting socket for: MMM-MyCommute
[18.12.2023 19:51.19.210] [LOG] ====================== Starting node_helper for module [MMM-MyCommute]
[18.12.2023 19:51.19.211] [LOG] Connecting socket for: MMM-Tesla
[18.12.2023 19:51.19.215] [LOG] Connecting socket for: MMM-Nightscout
[18.12.2023 19:51.20.516] [LOG] 19:51:19 MMM-Nightscout: Starting helper: MMM-Nightscout
[18.12.2023 19:51.20.520] [LOG] Sockets connected & modules started …
[18.12.2023 19:51.24.269] [LOG] Launching application.Error>
…/…/buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[1874:1217/085550.258949:ERROR:gpu_process_host.cc(957)] GPU process exited unexpected>
[1919:1217/085552.538276:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
/home/magicmirror/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[1305:1217/143752.436510:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
[2710:1218/061416.667391:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
[7631:1218/180141.222415:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
/home/magicmirror/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[1302:1218/182932.524821:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
[1560:1218/184240.402360:ERROR:connection.cc(46)] X connection error received.
[1560:1218/184240.402357:ERROR:connection.cc(46)] X connection error received.
[1302:1218/184240.770157:FATAL:bus.cc(1226)] D-Bus connection was disconnected. Aborting.
/home/magicmirror/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
[1298:1218/184436.702381:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
[1382:1218/191642.613559:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
[1943:1218/195126.584825:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n> -
@nx3xo in the script that does npm start
addexport ELECTRON_DISABLE_GPU=1
before the npm start line
with my install script, that is
~/MagicMirror/installers/mm.sh
-
So one of my installs is mm.sh and the other is run-start.sh.
The mm.sh one only shows this error in start.
[2883:1218/201556.298300:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
I think this has been covered and is insignificant, correct?
The run-start.sh one I’m going to reinstall.
Not sure how I ended up with 2 different installs, pretty I used your script.
So heres a question for ease of troubleshooting.
What if I do a couple dedicated proxmox lxc for servers and run the raspi displays as clients? I haven’t tried this method yet.
-
Made change. No dice on my original MM device 4x4 pixelsquare. Black screen plus cursor. Startup out looks clean.
-
@nx3xo run-start is done when I cannot find electron or it’s armv6l
then I just launch chromium over the mm server
-
I would like to sort this self hosted mm instance. It runs perfect in the web browser. Just blank screen with cursor. Is it possible a module can prevent everything from launching if it is too large and overlaps others?
-
@nx3xo how about the browser on the host looking at http://localhost:mm_port