• 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.

Black screen on HMDI output, content on remote browser

Scheduled Pinned Locked Moved Unsolved Troubleshooting
25 Posts 3 Posters 6.7k 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.
  • C Offline
    chris_d
    last edited by Jan 15, 2023, 4:52 PM

    I have recently updated and rebuilt my MM installation.
    I can browse to my MM via a remote web browser and things display fine, however on the HDMI output of the PI itself I just have a black screen.

    In the logs I see,

    [1502:0115/164948.881957:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
    [1538:0115/164949.052412:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
    [1507:0115/164949.107262:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
    

    I wonder if anyone might be able to point me in the right direction.

    S 1 Reply Last reply Jan 15, 2023, 4:55 PM Reply Quote 1
    • S Away
      sdetweil @chris_d
      last edited by Jan 15, 2023, 4:55 PM

      @chris_d maybe turn off GPU useage

      in the place where u start MM do

      export ELECTRN_DISABLE_GPU=1
      

      before the npm start line

      if using pm2, that is ~/MagicMirror/installers/mm.sh

      to test , if using pm2, then

      pm2 stop all 
      cd ~/MagicMirror 
      export ELECTRN_DISABLE_GPU=1
      npm start 
      

      if it works, update the mm.sh
      and then pm2 start all

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Jan 15, 2023, 9:15 PM Reply Quote 0
      • C Offline
        chris_d @sdetweil
        last edited by Jan 15, 2023, 9:15 PM

        @sdetweil That didn’t seem to work. It did eliminate any errors on startup, but the screen remainis blank.
        the command to start in mm.sh is

        DISPLAY=:0 npm start
        
        S 1 Reply Last reply Jan 15, 2023, 10:18 PM Reply Quote 0
        • S Away
          sdetweil @chris_d
          last edited by sdetweil Jan 19, 2023, 6:12 PM Jan 15, 2023, 10:18 PM

          @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 Jan 19, 2023, 7:18 AM Reply Quote 0
          • C Offline
            chris_d @sdetweil
            last edited by Jan 19, 2023, 7:18 AM

            does electron window come up?

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

            S 1 Reply Last reply Jan 19, 2023, 6:12 PM Reply Quote 0
            • S Away
              sdetweil @chris_d
              last edited by Jan 19, 2023, 6:12 PM

              @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 Jan 19, 2023, 6:41 PM Reply Quote 0
              • C Offline
                chris_d @sdetweil
                last edited by Jan 19, 2023, 6:41 PM

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

                S 1 Reply Last reply Jan 19, 2023, 6:46 PM Reply Quote 0
                • S Away
                  sdetweil @chris_d
                  last edited by Jan 19, 2023, 6:46 PM

                  @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 Jan 19, 2023, 7:39 PM Reply Quote 0
                  • C Offline
                    chris_d @sdetweil
                    last edited by Jan 19, 2023, 7:39 PM

                    @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 Jan 19, 2023, 7:42 PM Reply Quote 0
                    • S Away
                      sdetweil @chris_d
                      last edited by Jan 19, 2023, 7:42 PM

                      @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 Jan 19, 2023, 7:46 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        3/25
                        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