MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

Screen Flashes/glitches after ~10 min of operation



  • Hello fellow mirror builders. A newbie asking for help 😅

    I’ve encountered an issue in which the screen will start to “flash/glitch” after 10 or so minutes of otherwise perfectly fine operation. Link below:

    Magic Mirror Glitch

    Now, here are some things that I have tried to troubleshoot:

    • Read somewhere that it could be a hardware issue with the pi itself. I switched to another pi I had from an old project and tested it on that. Exact same issue, and I know that pi should be fine.

    • Tried connecting to a different monitor. Same thing was replicated on that monitor too.

    • I stopped the mirror (pm2 stop mm) and left the pi running to see if it would happen anyway. Without the Magic Mirror running, it did not glitch.

    output of pm2 log MagicMirror:

    pi@black-mirror:~ $ pm2 log MagicMirror
    [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
    /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
    0|MagicMir | libGL error: MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | libGL error: MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | libGL error: MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | libGL error: MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | libGL error: MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    0|MagicMir | MESA-LOADER: failed to retrieve device information
    
    /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
    0|MagicMir | No helper found for module: weatherforecast.
    0|MagicMir | Initializing new module helper ...
    0|MagicMir | Module helper loaded: newsfeed
    0|MagicMir | All module helpers loaded.
    0|MagicMir | Starting server on port 8080 ... 
    0|MagicMir | Server started ...
    0|MagicMir | Connecting socket for: updatenotification
    0|MagicMir | Connecting socket for: calendar
    0|MagicMir | Starting node helper for: calendar
    0|MagicMir | Connecting socket for: newsfeed
    0|MagicMir | Starting module: newsfeed
    0|MagicMir | Sockets connected & modules started ...
    0|MagicMir | Launching application.
    0|MagicMir | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/en.canadian%23holiday%40group.v.calendar.google.com/public/basic.ics - Interval: 300000
    0|MagicMir | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
    

    Thanks so much for all your help! I’m very new to all this so let me know what I can give you to help out.


  • Project Sponsor Module Developer

    @jynx13

    I remember seeing something like this before on the forum. I found this which might help you. https://forum.magicmirror.builders/topic/8754/strange-glitching-on-hdmi

    Perhaps someone that has experienced this will chime in for you


  • Module Developer

    @jynx13
    As you are operating your mm in portrait mode, maybe it is an performance issue.

    Here is a link you can try https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi

    Maybe this helps.

    AxLED



  • @Mykle1 you are my favorite! That link totally did the trick.

    At the end of the day, it turned out to be that HDMI issue. All I had to do was use the Open GL driver instead of the fake one and use Xrandr to rotate the screen after the fact.

    So far it has run smoothly without any incident. I’m gonna mark this as solved.


  • Project Sponsor Module Developer

    @jynx13

    Glad you got it sorted out. 👍