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.

    Black screen on HMDI output, content on remote browser

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    25 Posts 3 Posters 7.5k Views 3 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.
    • S Offline
      sdetweil @chris_d
      last edited by sdetweil

      @chris_d yes, so you would ad the export before the

      DISPLAY… npm start line…

      so, lets try something else

      stop magicmirror

      then

      cd ~/MagicMirror
      ./node_modules/.bin/electron
      

      does electron window come up?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        chris_d @sdetweil
        last edited by

        does electron window come up?

        No. I get ./node_modules/.bin.electron: No such file or directory

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @chris_d
          last edited by

          @chris_d sorry typo in my instructions, a dot instead of a slash… see and try again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            chris_d @sdetweil
            last edited by

            @sdetweil
            The platform failed to initialize.Missing X server or $DISPLAY

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @chris_d
              last edited by

              @chris_d you are running the full desktop os, right? text/cli mode doesn’t work, unless u want to run server only and view from somewhere else.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                chris_d @sdetweil
                last edited by

                @sdetweil I am running the full desktop. yes.
                This used to work but following a Magic Mirror and pi system update it no longer does.
                I can see the desktop on boot up, but when pm2 runs the mirror then I get the blank screen.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @chris_d
                  last edited by

                  @chris_d

                  which pi os?

                  lsb_release -a

                  how did u open that terminal window?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    chris_d @sdetweil
                    last edited by

                    @sdetweil said in Black screen on HMDI output, content on remote browser:

                    lsb_release -a

                    Distributor ID: Raspbian
                    Description: Raspbian GNU/Linux 10 (buster)
                    Release: 10
                    Codename: buster

                    I am using ssh to remote into the pi
                    The following thread seems similar, but does not offer a solution
                    https://forum.magicmirror.builders/topic/17211/having-trouble-with-launch-perhaps-display-value?page=1

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @chris_d
                      last edited by

                      @chris_d interesting. I ssh into my mirror systems all the time and never have trouble.

                      do

                      pm2 stop all
                      cd ~/MagicMirror
                      npm start >somefile.txt 2>&1
                      

                      wait til the black screen
                      ctrl-c in the ssh terminal

                      then nano somefile.txt, scroll down
                      see if there are any errors reported…

                      the package.json will set DISPLAY if not set

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        chris_d @sdetweil
                        last edited by

                        @sdetweil said in Black screen on HMDI output, content on remote browser:

                        pm2 stop all
                        cd ~/MagicMirror
                        npm start >somefile.txt 2>&1

                        Errors are:
                        [2883:0119/213451.321388:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                        [2916:0119/213451.509005:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          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