Read the statement by Michael Teeuw here.
White screen at start for 2-3 seconds...
-
Upon upgrading to 2.11.0 - I’m now getting a white screen on startup.
It’ll blank the screen, show the white screen with mouse cursor visible, then blank out again 2-3 seconds later, and start building the modules. Any clue of what’s going on?
Here’s my log of the restart via “PM2 Logs”:
PM2 | Stopping app:mm id:1 1|mm | [2020-04-09 14:18:05.428] [LOG] 1|mm | Shutting down server... 1|mm | [2020-04-09 14:18:05.429] [LOG] Stopping module helper: MMM-DarkSkyForecast 1|mm | [2020-04-09 14:18:05.430] [LOG] Stopping module helper: newsfeed 1|mm | [2020-04-09 14:18:05.431] [LOG] 1|mm | Stopping module helper: MMM-DHT-Sensor 1|mm | [2020-04-09 14:18:05.432] [LOG] Stopping module helper: MMM-SystemStats 1|mm | [2020-04-09 14:18:05.432] [LOG] Stopping module helper: MMM-Wallpaper 1|mm | [2020-04-09 14:18:05.433] [LOG] Stopping module helper: updatenotification PM2 | pid=3232 msg=failed to kill - retrying in 100ms PM2 | pid=3232 msg=failed to kill - retrying in 100ms PM2 | App [mm:1] exited with code [0] via signal [SIGINT] PM2 | pid=3232 msg=process killed PM2 | App [mm:1] starting in -fork mode- PM2 | App [mm:1] online 1|mm | > magicmirror@2.11.0 start /home/pi/MagicMirror 1|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 1|mm | [2020-04-09 14:18:11.812] [LOG] 1|mm | Starting MagicMirror: v2.11.0 1|mm | [2020-04-09 14:18:11.822] [LOG] 1|mm | Loading config ... 1|mm | [2020-04-09 14:18:11.829] [LOG] 1|mm | Loading module helpers ... 1|mm | [2020-04-09 14:18:12.363] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.364] [LOG] 1|mm | Module helper loaded: MMM-CalendarExt2 1|mm | [2020-04-09 14:18:12.367] [LOG] 1|mm | No helper found for module: MMM-Minical. 1|mm | [2020-04-09 14:18:12.368] [LOG] No helper found for module: clock. 1|mm | [2020-04-09 14:18:12.369] [LOG] No helper found for module: worldclock. 1|mm | [2020-04-09 14:18:12.707] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.708] [LOG] 1|mm | Module helper loaded: MMM-DarkSkyForecast 1|mm | [2020-04-09 14:18:12.750] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.753] [LOG] 1|mm | Module helper loaded: newsfeed 1|mm | [2020-04-09 14:18:12.772] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.773] [LOG] Module helper loaded: MMM-DHT-Sensor 1|mm | [2020-04-09 14:18:12.787] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.788] [LOG] Module helper loaded: MMM-SystemStats 1|mm | [2020-04-09 14:18:12.792] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.793] [LOG] Module helper loaded: MMM-Wallpaper 1|mm | [2020-04-09 14:18:12.830] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.833] [LOG] Module helper loaded: updatenotification 1|mm | [2020-04-09 14:18:12.836] [LOG] No helper found for module: alert. 1|mm | [2020-04-09 14:18:12.910] [LOG] 1|mm | Initializing new module helper ... 1|mm | [2020-04-09 14:18:12.911] [LOG] 1|mm | Module helper loaded: MMM-Remote-Control 1|mm | [2020-04-09 14:18:12.915] [LOG] 1|mm | All module helpers loaded. 1|mm | [2020-04-09 14:18:13.030] [LOG] 1|mm | Starting server on port 60001 ... 1|mm | [2020-04-09 14:18:13.039] [INFO] 1|mm | You're using a full whitelist configuration to allow for all IPs 1|mm | [2020-04-09 14:18:13.056] [LOG] 1|mm | Server started ... 1|mm | [2020-04-09 14:18:13.058] [LOG] Connecting socket for: MMM-CalendarExt2 1|mm | [2020-04-09 14:18:13.059] [LOG] Connecting socket for: MMM-DarkSkyForecast 1|mm | [2020-04-09 14:18:13.060] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast] 1|mm | [2020-04-09 14:18:13.061] [LOG] Connecting socket for: newsfeed 1|mm | [2020-04-09 14:18:13.062] [LOG] Starting module: newsfeed 1|mm | [2020-04-09 14:18:13.063] [LOG] Connecting socket for: MMM-DHT-Sensor 1|mm | [2020-04-09 14:18:13.064] [LOG] MMM-DHT-Sensor helper started ... 1|mm | [2020-04-09 14:18:13.065] [LOG] Connecting socket for: MMM-SystemStats 1|mm | [2020-04-09 14:18:13.066] [LOG] 1|mm | Connecting socket for: MMM-Wallpaper 1|mm | [2020-04-09 14:18:13.081] [LOG] 1|mm | Starting node helper for: MMM-Wallpaper 1|mm | [2020-04-09 14:18:13.089] [LOG] 1|mm | Connecting socket for: updatenotification 1|mm | [2020-04-09 14:18:13.093] [LOG] 1|mm | Connecting socket for: MMM-Remote-Control 1|mm | [2020-04-09 14:18:13.096] [LOG] 1|mm | Starting node helper for: MMM-Remote-Control 1|mm | [2020-04-09 14:18:13.107] [LOG] 1|mm | Sockets connected & modules started ... 1|mm | [2020-04-09 14:18:13.222] [LOG] 1|mm | Launching application. 1|mm | [2020-04-09 14:18:17.453] [LOG] 1|mm | Create new news fetcher for url: https://www.fieldgulls.com/rss/current.xml - Interval: 300000 1|mm | [2020-04-09 14:18:17.533] [LOG] 1|mm | Create new news fetcher for url: https://www.espn.com/espn/rss/nfl/news - Interval: 300000 1|mm | [2020-04-09 14:18:17.543] [LOG] 1|mm | Create new news fetcher for url: https://www.espn.com/espn/rss/mlb/news - Interval: 300000 1|mm | [2020-04-09 14:18:17.550] [LOG] 1|mm | Create new news fetcher for url: https://www.cbssports.com/rss/headlines/nfl/ - Interval: 300000 1|mm | [2020-04-09 14:18:17.557] [LOG] 1|mm | Create new news fetcher for url: https://www.cbssports.com/rss/headlines/mlb/ - Interval: 300000 1|mm | [2020-04-09 14:18:17.564] [LOG] 1|mm | Create new news fetcher for url: http://rssfeeds.king5.com/king5/local&x=1 - Interval: 300000 1|mm | [2020-04-09 14:18:18.418] [LOG] 1|mm | [CALEXT2] calendar:appt >> Scanning start with interval:30000 1|mm | [2020-04-09 14:18:18.425] [LOG] 1|mm | [CALEXT2] calendar:mariners >> Scanning start with interval:86400000 1|mm | [2020-04-09 14:18:18.427] [LOG] [CALEXT2] calendar:seahawks >> Scanning start with interval:60000 1|mm | [2020-04-09 14:18:19.506] [LOG] 1|mm | [CALEXT2] calendar:seahawks >> Scanned: 0, Selected: 0 1|mm | [2020-04-09 14:18:20.634] [LOG] 1|mm | [CALEXT2] calendar:mariners >> Scanned: 149, Selected: 149 1|mm | [2020-04-09 14:18:20.905] [LOG] 1|mm | [CALEXT2] calendar:appt >> Scanned: 38, Selected: 38 1|mm | [2020-04-09 14:18:50.913] [LOG] 1|mm | [CALEXT2] calendar:appt >> Scanning start with interval:30000 1|mm | [2020-04-09 14:18:52.306] [LOG] 1|mm | [CALEXT2] calendar:appt >> Scanned: 38, Selected: 38 -
its an electron bug/feature… MM already sets the background to black, but there is a short time its shown as white
i think the only way to get rid of it is to change the code so it opens invisible, and then when ready, the code makes it visible in black I use that on a couple of my modules that open extra browser windows… to avoid the white flass
-
Hi,
Could you please provide some extra info on this?
- As to the issue (is there an issue tracker?)
- As to how to achive your suggestion of starting invisible and chaning back later.
Many thanks
-
@robertalexa I posted a followup that helps for me, make the backgroundColor:“x000001” (almost totally black, but not 0)
see
https://forum.magicmirror.builders/topic/12854/white-screen-flash-on-startup?_=1589635889109
also tracking
https://github.com/microsoft/vscode/issues/93869 -
@sdetweil Good to note that it don’t always work, FWIW… like it don’t help my situation, but, I only have to restart once in a great while now, so, I don’t see it nearly as much… now if I could get OMX to stop freezing so I don’t have to restart it every half hour (😭😭😭 not a magic mirror problem, Running it on top of MM to avoid RTSPStream bugs)
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