• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Raspberry Pi display not autostarting magic mirror

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 954 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    EphraimB
    last edited by Jul 22, 2022, 12:51 PM

    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?

    S 1 Reply Last reply Jul 22, 2022, 1:00 PM Reply Quote 0
    • E Offline
      EphraimB @EphraimB
      last edited by Jul 22, 2022, 4:36 PM

      @EphraimB I got it to work now. Thank you.

      S 1 Reply Last reply Jul 22, 2022, 5:53 PM Reply Quote 0
      • S Offline
        sdetweil @EphraimB
        last edited by Jul 22, 2022, 1:00 PM

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Jul 22, 2022, 1:10 PM Reply Quote 0
        • E Offline
          EphraimB @sdetweil
          last edited by Jul 22, 2022, 1:10 PM

          @sdetweil

          /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:~ $
          
          E 1 Reply Last reply Jul 22, 2022, 1:22 PM Reply Quote 0
          • E Offline
            EphraimB @EphraimB
            last edited by Jul 22, 2022, 1:22 PM

            @EphraimB https://youtu.be/7VVcJsOaJJc

            E 1 Reply Last reply Jul 22, 2022, 4:36 PM Reply Quote 0
            • E Offline
              EphraimB @EphraimB
              last edited by Jul 22, 2022, 4:36 PM

              @EphraimB I got it to work now. Thank you.

              S 1 Reply Last reply Jul 22, 2022, 5:53 PM Reply Quote 0
              • S Offline
                sdetweil @EphraimB
                last edited by Jul 22, 2022, 5:53 PM

                @EphraimB what did u change?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  6/6
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy