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 after some time

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 3.1k 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.
    • H Offline
      Hakupapa
      last edited by yawns

      Hey there,

      I have installed the mirror new two or three month ago. Since this time I become black screens after some time. The Mirror doesn´t crash, the screen just turn to black. My old Mirror (1 year old) with same modules but without any updates does not have this problem. So I think the reason could be an update. Does anyone else knows this problem and a solution. I´ve tried different things (os update, MM update) but it is becoming worser.

      here my pm2 log without black screen

      pi@raspberrypi:~ $  Use `pm2 logs mm [--lines 1000]` to display logs
      status            │ online                          │
      │ name              │ mm                              │
      │ restarts          │ 0                               │
      │ uptime            │ 14m                             │
      │ script path       │ /home/pi/mm.sh                  │
      │ script args       │ N/A                             │
      │ error log path    │ /home/pi/.pm2/logs/mm-error.log │
      │ out log path      │ /home/pi/.pm2/logs/mm-out.log   │
      │ pid path          │ /home/pi/.pm2/pids/mm-0.pid     │
      │ interpreter       │ bash                            │
      │ interpreter args  │ N/A                             │
      │ script id         │ 0                               │
      │ exec cwd          │ /home/pi                        │
      │ exec mode         │ fork_mode                       │
      │ node.js version   │ N/A                             │
      │ watch & reload    │ ✘                               │
      │ unstable restarts │ 0                               │
      │ created at        │ 2018-10-25T05:27:10.221Z        │
      └───────────────────┴─────────────────────────────────┘
       Add your own code metrics: http://bit.ly/code-metrics
       Use `pm2 logs mm [--lines 1000]` to display logs
       Use `pm2 monit` to monitor CPU and Memory usage mm
      

      Now I am wating for the next black screen, then I will post the logfile again.

      Greetings
      Hakupapa

      1 Reply Last reply Reply Quote 0
      • H Offline
        Hakupapa
        last edited by yawns

        Here is the log after black screen. Putty already works so I think the pi is not crashed:

        pi@raspberrypi:~ $ pm2 logs mm
        [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
        /home/pi/.pm2/logs/mm-out.log last 15 lines:
        0|mm       | Module helper loaded: newsfeed
        0|mm       | All module helpers loaded.
        0|mm       | Starting server on port 8080 ...
        0|mm       | Server started ...
        0|mm       | Connecting socket for: calendar
        0|mm       | Starting node helper for: calendar
        0|mm       | Connecting socket for: MMM-ImagesPhotos
        0|mm       | Starting node helper for: MMM-ImagesPhotos
        0|mm       | Connecting socket for: newsfeed
        0|mm       | Starting module: newsfeed
        0|mm       | Sockets connected & modules started ...
        0|mm       | Launching application.
        0|mm       | Create new news fetcher for url: http://www.n-tv.de/rss - Interval: 300000
        0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/htschetschorke%40gmail.com/private-0b52e66697c4e6bfeca31befce749cc2/basic.ics - Interval: 300000
        0|mm       | Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
        
        /home/pi/.pm2/logs/mm-error.log last 15 lines:
        0|mm       | [893:1023/053104.910263:FATAL:memory.cc(22)] Out of memory. size=79265792
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | [865:1024/144331.033064:FATAL:memory.cc(22)] Out of memory. size=97656832
        0|mm       | [832:1024/171926.281460:FATAL:bus.cc(1152)] D-Bus connection was disconnected. Aborting.
        0|mm       | [815:1024/172851.280816:FATAL:bus.cc(1152)] D-Bus connection was disconnected. Aborting.
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | [872:1024/191309.306465:FATAL:memory.cc(22)] Out of memory. size=109969408
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | [865:1024/231803.240907:FATAL:memory.cc(22)] Out of memory. size=109969408
        0|mm       | Invalid SOS parameters for sequential JPEG
        0|mm       | [855:1025/081629.946605:FATAL:memory.cc(22)] Out of memory. size=89653248
        

        Maybe it has to do with MMM-Images Photos and problems with some jpg Files. Does anybody has an idea?

        1 Reply Last reply Reply Quote 0
        • H Offline
          Hakupapa
          last edited by

          I´ve tried to change the fotos into the same format 1280x1024 and I´ve changed the ending *.jpeg to *.jpg. Now the mirror runs since three days without black screen. I hope the problem is solved.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            StrIIker @Hakupapa
            last edited by

            @hakupapa

            I have been having this issue as well. I discussed this in another thread

            I have always had this issue as I am new to running a Magic Mirror. It looks like there may have been a memory leak introduced in version 2.4.0 which persisted to version 2.5.0 . My only solution has been to implement a cron job to reload magic mirror every 5 hours (suggested by @MadScientist ). I’ve considered downgrading to a pre-2.4.0 build (haven’t checked to see if it’s even available). For now I’ll deal with it via the reloads.

            Mykle1M 1 Reply Last reply Reply Quote 1
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @StrIIker
              last edited by

              @striiker said in Black screen after some time:

              I’ve considered downgrading to a pre-2.4.0 build (haven’t checked to see if it’s even available)

              All the releases

              https://github.com/MichMich/MagicMirror/releases

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • 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