<?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[Error log full of this error -  gdk_monitor_get_scale_factor]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">My error log is full of this error. And it is still coming. My background slideshow is sometimes. It working as well. Could be in relation to the error. But I am not sure. I have no glue where this error is coming from.</p>
<p dir="auto">Anyone any idea what could help to solve this error ?</p>
<pre><code>
[21525:0421/123934.640033:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
[21525:0421/123934.668565:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
[21525:0421/123934.672953:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed

</code></pre>
<p dir="auto">Thanks a lot</p>
]]></description><link>https://forum.magicmirror.builders/topic/18699/error-log-full-of-this-error-gdk_monitor_get_scale_factor</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 08:57:36 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18699.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Apr 2024 09:25:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Tue, 30 Apr 2024 18:09:28 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> The 3 error entries in the log file only appear at the point in time that the <em>xrandr off</em> is issued. They don’t appear again until the screen has been turned on again and another <em>xrandr -off</em> gets issued.</p>
]]></description><link>https://forum.magicmirror.builders/post/117433</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117433</guid><dc:creator><![CDATA[tinkertailorgeek]]></dc:creator><pubDate>Tue, 30 Apr 2024 18:09:28 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Tue, 30 Apr 2024 16:40:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tinkertailorgeek" aria-label="Profile: tinkertailorgeek">@<bdi>tinkertailorgeek</bdi></a> thanks… so the code managing the screen doesn’t like having the hdmi channel chopped out from under it…<br />
I assume the errors go away when the hdmi port is turned back on</p>
]]></description><link>https://forum.magicmirror.builders/post/117431</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117431</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 30 Apr 2024 16:40:41 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Tue, 30 Apr 2024 16:11:00 GMT]]></title><description><![CDATA[<p dir="auto">I have MM v2.27.0 on a Pi 3 running bookworm with a monitor attached and I get the same 3 lines in my npm logs.</p>
<p dir="auto">The Pi is using a PIR to monitor presence and turn off the screen after a fixed period of inactivity from the PIR. The screen is turned off by calling a shell to execute xrandr.</p>
<p dir="auto">I can reproduce the error by issuing the command:</p>
<pre><code>DISPLAY=:0.0 xrandr --output HDMI-1 --off
</code></pre>
<p dir="auto">while the screen is on. No errors occur if I use the same command and the screen is already off.</p>
<p dir="auto">Hope this helps.</p>
]]></description><link>https://forum.magicmirror.builders/post/117430</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117430</guid><dc:creator><![CDATA[tinkertailorgeek]]></dc:creator><pubDate>Tue, 30 Apr 2024 16:11:00 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Mon, 29 Apr 2024 05:49:37 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">Time with the grandson is very important 👍</p>
<p dir="auto">I will check if I can find out if the errors appear after the monitor gets switched off.</p>
]]></description><link>https://forum.magicmirror.builders/post/117390</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117390</guid><dc:creator><![CDATA[Dotmatrix812]]></dc:creator><pubDate>Mon, 29 Apr 2024 05:49:37 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 18:26:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dotmatrix812" aria-label="Profile: Dotmatrix812">@<bdi>Dotmatrix812</bdi></a> also, I am the one that approves posts</p>
<p dir="auto">they may be delayed as I am spending time w grandson</p>
]]></description><link>https://forum.magicmirror.builders/post/117372</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117372</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Apr 2024 18:26:05 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 18:22:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dotmatrix812" aria-label="Profile: Dotmatrix812">@<bdi>Dotmatrix812</bdi></a> could be because turned off… altho I have not seen this before</p>
]]></description><link>https://forum.magicmirror.builders/post/117371</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117371</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Apr 2024 18:22:29 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 18:15:54 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">No. Monitor is connected to the raspberry. Or could this happen when the monitor gets switched off via the MMM-PIR module ?</p>
<p dir="auto">Sorry that my answers take so long. But I still need 3 reputations as new user.</p>
]]></description><link>https://forum.magicmirror.builders/post/117370</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117370</guid><dc:creator><![CDATA[Dotmatrix812]]></dc:creator><pubDate>Sun, 28 Apr 2024 18:15:54 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 18:13:28 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">Seems so.</p>
<pre><code>
[2024-04-28 20:08:21.486] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//1.jpg" 
[7029:0428/200827.311004:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
[7029:0428/200827.343752:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
[7029:0428/200827.350960:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
[2024-04-28 20:09:21.614] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//10.jpg" 
[2024-04-28 20:10:21.688] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//8.jpg" 
[2024-04-28 20:11:21.762] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//12.jpg"

</code></pre>
<p dir="auto">Strange that the time stamp is so different …</p>
]]></description><link>https://forum.magicmirror.builders/post/117369</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117369</guid><dc:creator><![CDATA[Dotmatrix812]]></dc:creator><pubDate>Sun, 28 Apr 2024 18:13:28 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 17:01:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dotmatrix812" aria-label="Profile: Dotmatrix812">@<bdi>Dotmatrix812</bdi></a> here also is an interesting  cause</p>
<p dir="auto">no monitor  attached, Is this your case?</p>
<p dir="auto"><img src="/assets/uploads/files/1714323649260-1000025820.jpg" alt="1000025820.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/117366</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117366</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Apr 2024 17:01:17 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 16:50:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dotmatrix812" aria-label="Profile: Dotmatrix812">@<bdi>Dotmatrix812</bdi></a> ok, 2.27 turns off use of the gpu by default</p>
<p dir="auto">do this, open a terminal window</p>
<pre><code class="language-sh">pm2 stop all
cd ~/MagicMirror 
export ELECTRON_ENABLE_GPU=1
npm start
</code></pre>
<p dir="auto">and see if that message continues</p>
<p dir="auto">you will have to minimize  MagicMirror to get back to the terminal window<br />
ctrl-m<br />
should work</p>
]]></description><link>https://forum.magicmirror.builders/post/117365</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117365</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Apr 2024 16:50:45 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 16:41:43 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">The version is     “version”: “2.27.0”,</p>
<p dir="auto">The config for the background is</p>
<pre><code>
{
  module: 'MMM-BackgroundSlideshow',
  position: 'fullscreen_below',
  config: {
   imagePaths: ['modules/MMM-BackgroundSlideshow/fotos/'],
   randomizeImageOrder: true,
   slideshowSpeed: 60000,
   backgroundAnimationEnabled: false,
   gradient: [ "rgba(0, 0, 0, 0.5) 0%", "rgba(0, 0, 0, 0.15) 40%", "rgba(0, 0, 0, 0.15) 80%", "rgba(0, 0, 0, 0.5) 100%" ],
   horizontalGradient: [ "rgba(0, 0, 0, 0.5) 0%", "rgba(0, 0, 0, 0.15) 40%", "rgba(0, 0, 0, 0.15) 80%", "rgba(0, 0, 0, 0.5) 100%" ],
   gradientDirection: 'both',
    },
},     

</code></pre>
<p dir="auto">Thanks for your help</p>
]]></description><link>https://forum.magicmirror.builders/post/117364</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117364</guid><dc:creator><![CDATA[Dotmatrix812]]></dc:creator><pubDate>Sun, 28 Apr 2024 16:41:43 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 12:04:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dotmatrix812" aria-label="Profile: Dotmatrix812">@<bdi>Dotmatrix812</bdi></a> also  can your show the  config for  backgroundslideshow</p>
<p dir="auto">do you use any transitions?</p>
]]></description><link>https://forum.magicmirror.builders/post/117353</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117353</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Apr 2024 12:04:44 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 12:03:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dotmatrix812" aria-label="Profile: Dotmatrix812">@<bdi>Dotmatrix812</bdi></a> what version of MagicMirror are you running?</p>
<p dir="auto">you can see it in the logs, but maybe for you easier to do</p>
<pre><code>cd ~/MagicMirror 
grep version package.json
</code></pre>
<p dir="auto">edited: fixed typo</p>
]]></description><link>https://forum.magicmirror.builders/post/117352</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117352</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Apr 2024 12:03:09 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 11:43:32 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 a raspberry pi3 with raspian 11</p>
<p dir="auto">I use MMM-BackgroundSlideshow</p>
<p dir="auto"><a href="https://github.com/darickc/MMM-BackgroundSlideshow" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/darickc/MMM-BackgroundSlideshow</a></p>
<p dir="auto">I used the standard install from the magic mirror website.</p>
<p dir="auto">What other information do you need ?</p>
<p dir="auto">Thanks a lot.</p>
]]></description><link>https://forum.magicmirror.builders/post/117351</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117351</guid><dc:creator><![CDATA[Dotmatrix812]]></dc:creator><pubDate>Sun, 28 Apr 2024 11:43:32 GMT</pubDate></item><item><title><![CDATA[Reply to Error log full of this error -  gdk_monitor_get_scale_factor on Sun, 28 Apr 2024 11:21:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dotmatrix812" aria-label="Profile: Dotmatrix812">@<bdi>Dotmatrix812</bdi></a> can you tell us a our your system?</p>
<p dir="auto">I have never seen that error before</p>
<p dir="auto">what module are you using for background?</p>
]]></description><link>https://forum.magicmirror.builders/post/117350</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117350</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Apr 2024 11:21:49 GMT</pubDate></item></channel></rss>