MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Black Screen Of Death After Couple of Hours

    Troubleshooting
    3
    14
    468
    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
      codac last edited by

      Re: Black Screen Of Death After Couple of Hours

      Re: Black Screen Of Death After Couple of Hours

      I have the same problem. I do get a black screen of death after a couple of hours of flawlessly running the mm.
      The logs show the following errors:

      Client: [813:0207/081301.113752:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=139
      Client: [813:0207/081307.156628:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=139
      Client: [813:0207/081324.670017:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=139
      Client: [935:0207/081331.151481:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      Client: [935:0208/081622.102905:ERROR:connection.cc(66)] X connection error received.
      [935:0208/081622.103292:ERROR:connection.cc(66)] X connection error received.
      Client: Gdk-Message: 08:16:22.439: electron: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
      

      Any suggestions?

      karsten13 1 Reply Last reply Reply Quote 0
      • karsten13
        karsten13 @codac last edited by

        @codac

        what is your setup (e.g. pi version, os version (buster), docker)?

        which modules are running?

        1 Reply Last reply Reply Quote 0
        • C
          codac last edited by

          @karsten13
          OS is Buster
          Raspberry Pi 3 Model B Rev 1.2
          MagicMirror Version 2.18.0
          Running as a client with PM2 on startup.
          Connecting to your MagicMirror Docker on a Synology as a server.

          karsten13 1 Reply Last reply Reply Quote 0
          • karsten13
            karsten13 @codac last edited by

            @codac

            so here the client is crashing.

            But may because the server crashed, can you take a look at docker ps on the synology if in the status columm is something like restarted. And may examine the logs with docker logs mm if you find the starting sequence Starting MagicMirror: v2.18.0 more than once?

            The docker setup has restart: unless-stopped (if not changed by the user) so the container will restart automatically after a crash.

            C 1 Reply Last reply Reply Quote 0
            • C
              codac @karsten13 last edited by

              @karsten13

              docker ps
              

              the status says “Up 3 days”. This is due to Watchtower I think as the container got updated.
              When this happens and the screen gets black, I do restart the client which continues to produce black screens.

              Here is the output of

              docker logs magicmirror
              

              I can only find one starting sequence.

              copy default modules to host ...
              rm: cannot remove '/opt/magic_mirror/modules/default/compliments': Device or resource busy
              copy css files to host ...
              chown modules and config folder ...
              timezone is Europe/Berlin
              start magicmirror
              
              > magicmirror@2.18.0 server
              > node ./serveronly
              
              [09.02.2022 07:01.18.543] [LOG]   Starting MagicMirror: v2.18.0
              [09.02.2022 07:01.18.547] [LOG]   Loading config ...
              [09.02.2022 07:01.18.612] [LOG]   Loading module helpers ...
              [09.02.2022 07:01.18.613] [LOG]   No helper found for module: alert.
              [09.02.2022 07:01.18.620] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.18.624] [LOG]   Module helper loaded: updatenotification
              [09.02.2022 07:01.18.626] [LOG]   No helper found for module: clock.
              [09.02.2022 07:01.18.628] [LOG]   No helper found for module: MMM-Traffic.
              [09.02.2022 07:01.18.671] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.18.672] [LOG]   Module helper loaded: MMM-RMV
              [09.02.2022 07:01.18.797] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.18.797] [LOG]   Module helper loaded: MMM-Tankerkoenig
              [09.02.2022 07:01.19.242] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.19.242] [LOG]   Module helper loaded: MMM-Formula1
              [09.02.2022 07:01.19.289] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.19.290] [LOG]   Module helper loaded: MMM-soccer
              [09.02.2022 07:01.19.312] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.19.313] [LOG]   Module helper loaded: MagicMirror-FootballLeagues
              [09.02.2022 07:01.19.314] [LOG]   No helper found for module: weather.
              [09.02.2022 07:01.19.314] [LOG]   No helper found for module: MMM-WeatherChart.
              [09.02.2022 07:01.19.341] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.19.341] [LOG]   Module helper loaded: MMM-DWD-WarnWeather
              [09.02.2022 07:01.19.438] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.19.439] [LOG]   Module helper loaded: calendar
              [09.02.2022 07:01.19.439] [LOG]   No helper found for module: MMM-WiFiPassword.
              [09.02.2022 07:01.19.440] [LOG]   No helper found for module: compliments.
              [09.02.2022 07:01.19.688] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.19.689] [LOG]   Module helper loaded: MMM-NewsAPI
              [09.02.2022 07:01.20.305] [LOG]   Initializing new module helper ...
              [09.02.2022 07:01.20.306] [LOG]   Module helper loaded: MMM-COVID19-AMPEL
              [09.02.2022 07:01.20.306] [LOG]   All module helpers loaded.
              [09.02.2022 07:01.20.383] [LOG]   Starting server on port 8080 ...
              [09.02.2022 07:01.20.387] [WARN]  You're using a full whitelist configuration to allow for all IPs
              [09.02.2022 07:01.20.392] [LOG]   Server started ...
              [09.02.2022 07:01.20.393] [LOG]   Connecting socket for: updatenotification
              [09.02.2022 07:01.20.394] [LOG]   Starting module helper: updatenotification
              [09.02.2022 07:01.20.394] [LOG]   Connecting socket for: MMM-RMV
              [09.02.2022 07:01.20.395] [LOG]   node helper: MMM-RMV
              [09.02.2022 07:01.20.395] [LOG]   Connecting socket for: MMM-Tankerkoenig
              [09.02.2022 07:01.20.396] [LOG]   Starting module helper: MMM-Tankerkoenig
              [09.02.2022 07:01.20.396] [LOG]   Connecting socket for: MMM-Formula1
              [09.02.2022 07:01.20.396] [LOG]   Starting module: MMM-Formula1
              [09.02.2022 07:01.20.397] [LOG]   Connecting socket for: MMM-soccer
              [09.02.2022 07:01.20.397] [LOG]   Starting module helper: MMM-soccer
              [09.02.2022 07:01.20.398] [LOG]   Connecting socket for: MagicMirror-FootballLeagues
              [09.02.2022 07:01.20.398] [LOG]   MagicMirror-FootballLeagues Started...
              [09.02.2022 07:01.20.399] [LOG]   Connecting socket for: MMM-DWD-WarnWeather
              [09.02.2022 07:01.20.399] [LOG]   MMM-DWD-WarnWeather helper started...
              [09.02.2022 07:01.20.400] [LOG]   Connecting socket for: calendar
              [09.02.2022 07:01.20.400] [LOG]   Starting node helper for: calendar
              [09.02.2022 07:01.20.401] [LOG]   Connecting socket for: MMM-NewsAPI
              [09.02.2022 07:01.20.401] [LOG]   Starting node_helper for module: MMM-NewsAPI
              [09.02.2022 07:01.20.402] [LOG]   Connecting socket for: MMM-COVID19-AMPEL
              [09.02.2022 07:01.20.402] [LOG]   Starting node helper for: MMM-COVID19-AMPEL
              [09.02.2022 07:01.20.403] [LOG]   Sockets connected & modules started ...
              [09.02.2022 07:01.20.403] [LOG]
              Ready to go! Please point your browser to: http://0.0.0.0:8080
              

              In the docker UI “activate automatic restart” is disabled.

              karsten13 1 Reply Last reply Reply Quote 0
              • karsten13
                karsten13 @codac last edited by

                @codac

                then it’s no server problem, no idea why the client crashes. Is this new with mm version v2.18.0 (because it contains new electron version)?

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

                  @karsten13 if they are running client, then not electron

                  Sam

                  Create a working config
                  How to add modules

                  karsten13 1 Reply Last reply Reply Quote 0
                  • karsten13
                    karsten13 @sdetweil last edited by

                    @sdetweil

                    now I’m totally lost. He is running mm server only on his synology and he postet client errors related to electron …

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

                      @karsten13 unless he is running mm client on the other machine, vs running chrome to the server

                      Sam

                      Create a working config
                      How to add modules

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

                        @sdetweil and @karsten13
                        I am running the client on a Raspberry Pi. There I do get the electron errors and the screen goes black.
                        I think it might be in correlation with 2.18.0 of mm or with updating the containers with watchtower?!

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy