Read the statement by Michael Teeuw here.
Exiting GPU process due to errors during initialization
-
Hi all! I have installed a fresh copy of MagicMirror. It runs with the default config for testing purposes. However every other minute, the app restarts and that is what I see in the logs.
Has anybody else had the same issue?
0|MagicMirror | [22.03.2022 08:05.49.841] [LOG] Shutting down server... 0|MagicMirror | [22.03.2022 08:05.49.846] [LOG] Stopping module helper: updatenotification 0|MagicMirror | [22.03.2022 08:05.49.848] [LOG] Stopping module helper: calendar 0|MagicMirror | [22.03.2022 08:05.49.851] [LOG] Stopping module helper: newsfeed 0|MagicMirror | [3597:0322/080549.911892:ERROR:network_service_instance_impl.cc(916)] Network service crashed, restarting service. 0|MagicMirror | [3597:0322/080549.948086:ERROR:zygote_communication_linux.cc(276)] Failed to send GetTerminationStatus message to zygote 0|MagicMirror | [3597:0322/080549.951955:ERROR:zygote_communication_linux.cc(276)] Failed to send GetTerminationStatus message to zygote 0|MagicMirror | [3597:0322/080549.991850:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=1002 0|MagicMirror | [3597:0322/080549.998793:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=1002 0|MagicMirror | [3597:0322/080550.004524:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=1002 0|MagicMirror | > magicmirror@2.18.0 start 0|MagicMirror | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMirror | [22.03.2022 08:05.58.334] [LOG] 0|MagicMirror | Starting MagicMirror: v2.18.0 0|MagicMirror | [22.03.2022 08:05.58.358] [LOG] 0|MagicMirror | Loading config ... 0|MagicMirror | [22.03.2022 08:05.58.375] [LOG] 0|MagicMirror | Loading module helpers ... 0|MagicMirror | [22.03.2022 08:05.58.385] [LOG] 0|MagicMirror | No helper found for module: alert. 0|MagicMirror | [22.03.2022 08:05.58.425] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:05.58.433] [LOG] 0|MagicMirror | Module helper loaded: updatenotification 0|MagicMirror | [22.03.2022 08:05.58.443] [LOG] 0|MagicMirror | No helper found for module: clock. 0|MagicMirror | [22.03.2022 08:05.58.738] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:05.58.746] [LOG] 0|MagicMirror | Module helper loaded: calendar 0|MagicMirror | [22.03.2022 08:05.58.749] [LOG] No helper found for module: compliments. 0|MagicMirror | [22.03.2022 08:05.58.753] [LOG] No helper found for module: weather. 0|MagicMirror | [22.03.2022 08:05.58.797] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:05.58.798] [LOG] Module helper loaded: newsfeed 0|MagicMirror | [22.03.2022 08:05.58.800] [LOG] All module helpers loaded. 0|MagicMirror | [22.03.2022 08:05.59.004] [LOG] 0|MagicMirror | Starting server on port 8080 ... 0|MagicMirror | [22.03.2022 08:05.59.033] [LOG] 0|MagicMirror | Server started ... 0|MagicMirror | [22.03.2022 08:05.59.036] [LOG] Connecting socket for: updatenotification 0|MagicMirror | [22.03.2022 08:05.59.038] [LOG] Starting module helper: updatenotification 0|MagicMirror | [22.03.2022 08:05.59.041] [LOG] Connecting socket for: calendar 0|MagicMirror | [22.03.2022 08:05.59.043] [LOG] Starting node helper for: calendar 0|MagicMirror | [22.03.2022 08:05.59.044] [LOG] Connecting socket for: newsfeed 0|MagicMirror | [22.03.2022 08:05.59.047] [LOG] Starting node helper for: newsfeed 0|MagicMirror | [22.03.2022 08:05.59.048] [LOG] Sockets connected & modules started ... 0|MagicMirror | Fontconfig warning: ignoring UTF-8: not a valid region tag 0|MagicMirror | [22.03.2022 08:05.59.496] [LOG] 0|MagicMirror | Launching application. 0|MagicMirror | [3805:0322/080600.430740:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMirror | [3847:0322/080600.709029:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. 0|MagicMirror | [22.03.2022 08:06.03.253] [LOG] 0|MagicMirror | Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 0|MagicMirror | [22.03.2022 08:06.03.349] [LOG] 0|MagicMirror | Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|MagicMirror | [22.03.2022 08:06.03.438] [INFO] 0|MagicMirror | Checking git for module: default 0|MagicMirror | [22.03.2022 08:06.04.245] [INFO] 0|MagicMirror | Newsfeed-Fetcher: Broadcasting 62 items. 0|MagicMirror | [22.03.2022 08:06.04.525] [INFO] 0|MagicMirror | Calendar-Fetcher: Broadcasting 10 events. 0|MagicMirror | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTERM 0|MagicMirror | > magicmirror@2.18.0 start 0|MagicMirror | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMirror | [22.03.2022 08:07.29.120] [LOG] 0|MagicMirror | Starting MagicMirror: v2.18.0 0|MagicMirror | [22.03.2022 08:07.29.145] [LOG] 0|MagicMirror | Loading config ... 0|MagicMirror | [22.03.2022 08:07.29.162] [LOG] 0|MagicMirror | Loading module helpers ... 0|MagicMirror | [22.03.2022 08:07.29.173] [LOG] 0|MagicMirror | No helper found for module: alert. 0|MagicMirror | [22.03.2022 08:07.29.212] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:07.29.220] [LOG] 0|MagicMirror | Module helper loaded: updatenotification 0|MagicMirror | [22.03.2022 08:07.29.230] [LOG] 0|MagicMirror | No helper found for module: clock. 0|MagicMirror | [22.03.2022 08:07.29.529] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:07.29.538] [LOG] 0|MagicMirror | Module helper loaded: calendar 0|MagicMirror | [22.03.2022 08:07.29.547] [LOG] 0|MagicMirror | No helper found for module: compliments. 0|MagicMirror | [22.03.2022 08:07.29.555] [LOG] 0|MagicMirror | No helper found for module: weather. 0|MagicMirror | [22.03.2022 08:07.29.600] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:07.29.601] [LOG] Module helper loaded: newsfeed 0|MagicMirror | [22.03.2022 08:07.29.603] [LOG] All module helpers loaded. 0|MagicMirror | [22.03.2022 08:07.29.800] [LOG] 0|MagicMirror | Starting server on port 8080 ... 0|MagicMirror | [22.03.2022 08:07.29.828] [LOG] 0|MagicMirror | Server started ... 0|MagicMirror | [22.03.2022 08:07.29.831] [LOG] 0|MagicMirror | Connecting socket for: updatenotification 0|MagicMirror | [22.03.2022 08:07.29.833] [LOG] Starting module helper: updatenotification 0|MagicMirror | [22.03.2022 08:07.29.835] [LOG] Connecting socket for: calendar 0|MagicMirror | [22.03.2022 08:07.29.837] [LOG] Starting node helper for: calendar 0|MagicMirror | [22.03.2022 08:07.29.839] [LOG] Connecting socket for: newsfeed 0|MagicMirror | [22.03.2022 08:07.29.841] [LOG] Starting node helper for: newsfeed 0|MagicMirror | [22.03.2022 08:07.29.843] [LOG] Sockets connected & modules started ... 0|MagicMirror | Fontconfig warning: ignoring UTF-8: not a valid region tag 0|MagicMirror | [22.03.2022 08:07.30.266] [LOG] 0|MagicMirror | Launching application. 0|MagicMirror | [3972:0322/080731.149506:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMirror | [4012:0322/080731.425367:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. 0|MagicMirror | [22.03.2022 08:07.33.874] [LOG] 0|MagicMirror | Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 0|MagicMirror | [22.03.2022 08:07.33.945] [LOG] 0|MagicMirror | Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|MagicMirror | [22.03.2022 08:07.34.020] [INFO] 0|MagicMirror | Checking git for module: default 0|MagicMirror | [22.03.2022 08:07.35.040] [INFO] 0|MagicMirror | Newsfeed-Fetcher: Broadcasting 62 items. 0|MagicMirror | [22.03.2022 08:07.35.333] [INFO] 0|MagicMirror | Calendar-Fetcher: Broadcasting 10 events. 0|MagicMirror | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTERM 0|MagicMirror | > magicmirror@2.18.0 start 0|MagicMirror | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMirror | [22.03.2022 08:08.59.890] [LOG] 0|MagicMirror | Starting MagicMirror: v2.18.0 0|MagicMirror | [22.03.2022 08:08.59.903] [LOG] Loading config ... 0|MagicMirror | [22.03.2022 08:08.59.915] [LOG] 0|MagicMirror | Loading module helpers ... 0|MagicMirror | [22.03.2022 08:08.59.920] [LOG] No helper found for module: alert. 0|MagicMirror | [22.03.2022 08:08.59.953] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:08.59.956] [LOG] Module helper loaded: updatenotification 0|MagicMirror | [22.03.2022 08:08.59.959] [LOG] No helper found for module: clock. 0|MagicMirror | [22.03.2022 08:09.00.255] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:09.00.258] [LOG] 0|MagicMirror | Module helper loaded: calendar 0|MagicMirror | [22.03.2022 08:09.00.262] [LOG] 0|MagicMirror | No helper found for module: compliments. 0|MagicMirror | [22.03.2022 08:09.00.265] [LOG] No helper found for module: weather. 0|MagicMirror | [22.03.2022 08:09.00.308] [LOG] 0|MagicMirror | Initializing new module helper ... 0|MagicMirror | [22.03.2022 08:09.00.310] [LOG] Module helper loaded: newsfeed 0|MagicMirror | [22.03.2022 08:09.00.311] [LOG] All module helpers loaded. 0|MagicMirror | [22.03.2022 08:09.00.505] [LOG] 0|MagicMirror | Starting server on port 8080 ... 0|MagicMirror | [22.03.2022 08:09.00.534] [LOG] 0|MagicMirror | Server started ... 0|MagicMirror | [22.03.2022 08:09.00.536] [LOG] Connecting socket for: updatenotification 0|MagicMirror | [22.03.2022 08:09.00.538] [LOG] Starting module helper: updatenotification 0|MagicMirror | [22.03.2022 08:09.00.540] [LOG] 0|MagicMirror | Connecting socket for: calendar 0|MagicMirror | [22.03.2022 08:09.00.542] [LOG] Starting node helper for: calendar 0|MagicMirror | [22.03.2022 08:09.00.543] [LOG] Connecting socket for: newsfeed 0|MagicMirror | [22.03.2022 08:09.00.544] [LOG] Starting node helper for: newsfeed 0|MagicMirror | [22.03.2022 08:09.00.545] [LOG] Sockets connected & modules started ... 0|MagicMirror | Fontconfig warning: ignoring UTF-8: not a valid region tag 0|MagicMirror | [22.03.2022 08:09.00.962] [LOG] 0|MagicMirror | Launching application. 0|MagicMirror | [4127:0322/080901.889231:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMirror | [4168:0322/080902.203933:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. 0|MagicMirror | [22.03.2022 08:09.04.598] [LOG] 0|MagicMirror | Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 0|MagicMirror | [22.03.2022 08:09.04.664] [LOG] 0|MagicMirror | Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|MagicMirror | [22.03.2022 08:09.04.733] [INFO] 0|MagicMirror | Checking git for module: default 0|MagicMirror | [22.03.2022 08:09.05.534] [INFO] 0|MagicMirror | Newsfeed-Fetcher: Broadcasting 62 items. 0|MagicMirror | [22.03.2022 08:09.05.791] [INFO] 0|MagicMirror | Calendar-Fetcher: Broadcasting 10 events.
-
Seems that this is a know bug and not the cause of the restart.
-
@gernst48
Why do you think this problem is solved ?
Yes, it is not the cause of reset, but it is still a open question
and no one is willing to give an answer about this problem. -
@gernst48 said in Exiting GPU process due to errors during initialization:
and no one is willing to give an answer about this problem.
no one KNOWS what the answer IS…
you can try to turn off use of the gpu
by adding --disable_gpu
like this in package.json
on the start clause"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron --disable-gpu js/electron.js",
-
this seems to be an electron bug which is already fixed but not released, see this issue for more info.