MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. chris_d
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 16
    • Best 1
    • Controversial 0
    • Groups 0

    chris_d

    @chris_d

    1
    Reputation
    1
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    chris_d Unfollow Follow

    Best posts made by chris_d

    • Black screen on HMDI output, content on remote browser

      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.

      posted in Troubleshooting
      C
      chris_d

    Latest posts made by chris_d

    • Extreme basic question!

      I’ve written my own module to display a set of family tasks which rotate each week.
      Once I’ve done some javascript to build a string of HTML, I display with.

              var element = document.createElement("div")
              element.className = "myContent
              element.innerHTML = output;
              return element
      
      

      I just want to format this element with an existing magic mirror class so that the text doesn’t look massive and out of place, say “title” for example. But I can’t work out how to actually achieve that.

      posted in Custom CSS
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

      @MikeBishop I’m running MMM-Calendar3 and the default modules only.

      posted in Troubleshooting
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

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

      export ELECTRON_DISABLE_GPU=1

      No error now, but still a black screen

      posted in Troubleshooting
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

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

      posted in Troubleshooting
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

      @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

      posted in Troubleshooting
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

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

      posted in Troubleshooting
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

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

      posted in Troubleshooting
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

      does electron window come up?

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

      posted in Troubleshooting
      C
      chris_d
    • RE: Black screen on HMDI output, content on remote browser

      @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
      
      posted in Troubleshooting
      C
      chris_d
    • Black screen on HMDI output, content on remote browser

      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.

      posted in Troubleshooting
      C
      chris_d