<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[SOLVED] random black screen]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">I have a problem with my Magic Mirror since a few months ago, randomly, the screen goes black and doesn’t show any module. It doesn’t always happen at the same time, sometimes a few minutes after starting, sometimes after a few hours.</p>
<p dir="auto">Until recently I managed to “patch” it by restarting the lightdm service (sudo service lightdm restart) to restart the whole desktop and restart the script that launches the MM, as I have it configured to start as soon as I start the desktop environment. I even went so far as to create a cron job to run the lightdm service restart every hour, but I know that’s not a definitive solution.</p>
<p dir="auto">Yesterday, with patience, I managed to discover the problem, just by pressing F11 while the MM was running, I could see a kind of debugging console (I don’t know if this is the right name), where you can see the steps that the software is executing. Now that I’ve located it, I’d like to find a solution. I also managed to verify that this error occurs with the default modules “calendar” and/or “newsfeed”. But this is where I need your help, because I don’t understand the error message.</p>
<p dir="auto">I attach 2 screenshots where you can see the correct operation and another one where you can see the error. It is always the same, when I get this error, the screen goes black.</p>
<p dir="auto">Thank you in advance for all your help.</p>
<p dir="auto">Magic Mirror version 2.20.0<br />
Node version 16.6.0<br />
npm version 7.19.1</p>
<p dir="auto">Translated with <a href="http://www.DeepL.com/Translator" target="_blank" rel="noopener noreferrer nofollow ugc">www.DeepL.com/Translator</a> (free version)</p>
<p dir="auto"><img src="/assets/uploads/files/1660379567772-mm_ok.png" alt="MM_OK.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1660379600271-erro_mm.png" alt="erro_MM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/17099/solved-random-black-screen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 09:57:56 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17099.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Aug 2022 08:34:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 18:08:42 GMT]]></title><description><![CDATA[<p dir="auto">Well, I think I can tag this post with SOLVED, all day with MMM-RAIN-MAP module disabled and no more black screens.</p>
<p dir="auto">Thanks all for your advice.</p>
]]></description><link>https://forum.magicmirror.builders/post/103698</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103698</guid><dc:creator><![CDATA[qu1que]]></dc:creator><pubDate>Mon, 15 Aug 2022 18:08:42 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 13:31:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qu1que" aria-label="Profile: qu1que">@<bdi>qu1que</bdi></a> yrs trial and error is the key tool here</p>
]]></description><link>https://forum.magicmirror.builders/post/103694</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103694</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 15 Aug 2022 13:31:49 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 12:42:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">It is possible that in the end the problem was with the resource-intensive MMM-RAIN-MAP module. Now it’s disabled, let’s see what happens…</p>
<p dir="auto">In the end, my method is as simple as trial-and-error until it’s solved.</p>
]]></description><link>https://forum.magicmirror.builders/post/103692</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103692</guid><dc:creator><![CDATA[qu1que]]></dc:creator><pubDate>Mon, 15 Aug 2022 12:42:38 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 12:05:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qu1que" aria-label="Profile: qu1que">@<bdi>qu1que</bdi></a> MagicMirror can only show or hide modules. it will load  all defined in config.js, and then pages will make them show or not…</p>
<p dir="auto">sone modules, not many, will sleep when hidden and restart on show.  I don’t know if newsfeed is like that</p>
]]></description><link>https://forum.magicmirror.builders/post/103690</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103690</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 15 Aug 2022 12:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 11:13:41 GMT]]></title><description><![CDATA[<p dir="auto">I’m starting to see my problem…</p>
<p dir="auto">Fortunately I had saved an old config.js file with less modules than the one I have now. In studying the differences, I find this in my current config.js file:</p>
<p dir="auto">Too many calls to the newsfeed module, surely that’s the reason for the error.</p>
<p dir="auto">This is the configuration in the MMM-Pages module that was giving me problems</p>
<pre><code>{
module: 'MMM-pages',
     config: {
          modules:
               [[ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
               [ "calendar", "MMM-AirQuality"],
               [ "MMM-TelegramBot", "MMM-EyeCandy"],
               [ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
               [ "MMM-SolarPicture", "MMM-Lunartic", "MMM-Comics"],
               [ "MMM-Comics" ],
               [ "MMM-RAIN-MAP" ],
               [ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
               [ "MMM-RandomPhoto", "MMM-History"],
               [ "MMM-WeatherChart"],
               [ "MMM-AirQuality", "newsfeed"],
               [ "MMM-Wallpaper"]],
rotationTime: 30000,
fixed: ["alert", "updatenotification", "clock", "MMM-OpenmapWeather", "MMM-page-indicator"]
}
},

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/103688</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103688</guid><dc:creator><![CDATA[qu1que]]></dc:creator><pubDate>Mon, 15 Aug 2022 11:13:41 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 10:11:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a></p>
<p dir="auto">The thing is, now that I remember, during the weekend I disabled completely newsfeed module, and the error does not disappeared. Now I’ll try disabling more modules.</p>
]]></description><link>https://forum.magicmirror.builders/post/103685</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103685</guid><dc:creator><![CDATA[qu1que]]></dc:creator><pubDate>Mon, 15 Aug 2022 10:11:44 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 10:04:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a></p>
<p dir="auto">Maybe, I’ll try disabling some modules. Thanks. i will tell u when I try it.</p>
]]></description><link>https://forum.magicmirror.builders/post/103684</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103684</guid><dc:creator><![CDATA[qu1que]]></dc:creator><pubDate>Mon, 15 Aug 2022 10:04:41 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 10:03:00 GMT]]></title><description><![CDATA[<p dir="auto">Usually <code>broker_posix.cc(46) Received unexpected number of handles</code> error might seem to happen when the memory is insufficient for various reasons. I suspect you try to open too many files(newsfeed??) at once.</p>
<p dir="auto"><strong>PS</strong><br />
newsfeed itself might not be the reason. (14 feeds are not TOO MANY). But your other module/process would be eating memory.</p>
]]></description><link>https://forum.magicmirror.builders/post/103683</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103683</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Mon, 15 Aug 2022 10:03:00 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 09:56:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a></p>
<p dir="auto">I don’t know, I have now 14 url of rss feeds, But I’ve tried with less of them and the error does not disappear.</p>
]]></description><link>https://forum.magicmirror.builders/post/103682</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103682</guid><dc:creator><![CDATA[qu1que]]></dc:creator><pubDate>Mon, 15 Aug 2022 09:56:03 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Mon, 15 Aug 2022 09:50:57 GMT]]></title><description><![CDATA[<p dir="auto">This might be not related, but why are your newsfeeds so many and frequently fetched?</p>
]]></description><link>https://forum.magicmirror.builders/post/103681</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103681</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Mon, 15 Aug 2022 09:50:57 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Sun, 14 Aug 2022 21:36:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qu1que" aria-label="Profile: qu1que">@<bdi>qu1que</bdi></a> maybe increase the swap space?</p>
]]></description><link>https://forum.magicmirror.builders/post/103656</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103656</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 14 Aug 2022 21:36:20 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Sun, 14 Aug 2022 21:06:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qu1que" aria-label="Profile: qu1que">@<bdi>qu1que</bdi></a></p>
<p dir="auto">sounds like a memory problem on your raspberry pi, may other applications are running beside mm which need much memory or some modules of mm are “eating” memory …</p>
]]></description><link>https://forum.magicmirror.builders/post/103655</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103655</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Sun, 14 Aug 2022 21:06:51 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Sat, 13 Aug 2022 12:15:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Thanks for the reply, but no docker installed in that raspbery, I’ve installed following the standard method 3 or 4 years ago, and doing the updates when they are ready. I’ve also have 2 backups of the entire micro SD. But maybe I’ll try a clean installation someday and see what happens.</p>
]]></description><link>https://forum.magicmirror.builders/post/103571</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103571</guid><dc:creator><![CDATA[qu1que]]></dc:creator><pubDate>Sat, 13 Aug 2022 12:15:08 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] random black screen on Sat, 13 Aug 2022 12:10:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qu1que" aria-label="Profile: qu1que">@<bdi>qu1que</bdi></a> this error implies u are running MagicMirror in a docker container,</p>
<p dir="auto">MagicMirrorOS<br />
or one of the docker implementations</p>
<p dir="auto"><a href="https://github.com/WPO-Foundation/wptagent/issues/327" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/WPO-Foundation/wptagent/issues/327</a></p>
]]></description><link>https://forum.magicmirror.builders/post/103570</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103570</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 13 Aug 2022 12:10:24 GMT</pubDate></item></channel></rss>