Read the statement by Michael Teeuw here.
Raspberry Pi display not autostarting magic mirror
-
My Raspberry Pi isn’t autostarting Magic Mirror with the 7 inch display connected. It autostarts correctly when connected to a monitor however. Is there something in the pm2 script that I have to do?
-
@EphraimB I got it to work now. Thank you.
-
@EphraimB when the 7 in is used open a terminal session ctrl-alt-t
and do
echo $DISPLAY
the line in package.json used for npm start, checks for DISPLAY set in the env, and if not uses :0
this is needed by x-windows
you might need to add
export DISPLAY=:?to the installers/mm.sh, before the npm start line
where ? is the display number used for the 7in
-
/home/ephraimb/.pm2/logs/mm-error.log last 15 lines: 0|mm | [8401:0722/083808.387458:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [8449:0722/083808.554707:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [8410:0722/083808.663954:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. 0|mm | /home/ephraimb/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|mm | [8816:0722/083948.777454:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [8860:0722/083948.944901:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [8825:0722/083949.008201:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. 0|mm | /home/ephraimb/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|mm | [9539:0722/084423.587492:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [9583:0722/084423.754159:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [9546:0722/084423.836816:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. 0|mm | /home/ephraimb/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|mm | [1692:0722/090756.740898:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [1734:0722/090757.250763:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | /home/ephraimb/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT ^C ephraimb@raspberrypi:~ $ echo $DISPLAY ephraimb@raspberrypi:~ $ -
-
@EphraimB I got it to work now. Thank you.
-
@EphraimB what did u change?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login