<?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[I cannot disable screen blanking with MagicMirrorOS]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I am running MM via MagicMirrorOS on a RPi4B with an RPi monitor in portrait.  I use MMM-Universal-Pir to turn the screen on and off during the day (with <code>wlr-randr</code> commands) which works great but the screen switches off for good overnight, the PIR cannot wake it up.  I have disabled Screen Blanking with <code>raspi-config</code> but that makes no difference.</p>
<p dir="auto">If I run <code>wlr-randr</code> in the <code>labwc</code> container (access via <code>docker exec -it labwc bash</code>)  I normally get (some resolutions removed for brevity):</p>
<pre><code>HDMI-A-1 "Raspberry PI RPI MON156 81005568472 (HDMI-A-1)"
  Make: Raspberry PI
  Model: RPI MON156
  Serial: xxxxxxxxxxxx
  Physical size: 350x190 mm
  Enabled: yes
  Modes:
    1920x1080 px, 60.000000 Hz (preferred, current)
...
    640x480 px, 59.939999 Hz
  Position: 0,0
  Transform: 90
  Scale: 1.000000
  Adaptive Sync: disabled
</code></pre>
<p dir="auto">However, once the display has gone to sleep that same <code>wlr-randr</code> command gives</p>
<pre><code>failed to connect to display
</code></pre>
<p dir="auto">this make me feel it is something in the docker set up but i see nothing in the docker logs</p>
<p dir="auto">Note that I also have <code>RANDR_PARAMS="--output HDMI-A-1 --transform 90"</code> in the <code>.env</code> file to rotate the display at boot.</p>
<p dir="auto">Cheers<br />
Steve</p>
]]></description><link>https://forum.magicmirror.builders/topic/19562/i-cannot-disable-screen-blanking-with-magicmirroros</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 01:12:16 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19562.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Mar 2025 11:26:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Sat, 05 Apr 2025 20:42:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a> said in <a href="/post/125616">I cannot disable screen blanking with MagicMirrorOS</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> thank you for all the effort you are putting into this issue.</p>
</blockquote>
<p dir="auto">Well, it is a pleasure to have such a good tester as you</p>
<blockquote>
<p dir="auto">I agree, let’s go back to the version that will kill and restart the container if the display doesn’t respond to <code>wlr-randr</code> (and then waits for a <code>MMM-Universal-Pir</code> cycle to sleep it again).</p>
</blockquote>
<p dir="auto">for now I did exactly this, but this issue is still working in my brain …</p>
<p dir="auto">So to revert all the changes done before:</p>
<pre><code class="language-bash">cd /opt/mm
git switch master
git pull
</code></pre>
<p dir="auto">Change the images back to latest in <code>.env</code>:</p>
<pre><code class="language-bash">MM_IMAGE="karsten13/magicmirror:latest"
LABWC_IMAGE="karsten13/labwc:latest"
</code></pre>
<p dir="auto">Get new images and restart:</p>
<pre><code class="language-bash">cd /opt/mm/run
docker compose pull
docker compose up -d
</code></pre>
<p dir="auto">Last point: You should add the <code>--transform 90</code> to the <code>onCommand</code> of the MMM-Universal-Pir config:</p>
<pre><code class="language-js">                {
                        module: "MMM-Universal-Pir",
                        position: "top_right",
                        config: {
                                deactivateDelay: 30000,
                                onCommand: "wlr-randr --output HDMI-A-1 --transform 90 --on",
                        }
                }
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/125628</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125628</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Sat, 05 Apr 2025 20:42:43 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Sat, 05 Apr 2025 10:35:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> thank you for all the effort you are putting into this issue.  I agree, let’s go back to the version that will kill and restart the container if the display doesn’t respond to <code>wlr-randr</code> (and then waits for a <code>MMM-Universal-Pir</code> cycle to sleep it again).</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125616</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125616</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Sat, 05 Apr 2025 10:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Fri, 04 Apr 2025 19:32:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a> said in <a href="/post/125567">I cannot disable screen blanking with MagicMirrorOS</a>:</p>
<blockquote>
<p dir="auto">Please check I did the pull etc correctly</p>
</blockquote>
<p dir="auto">yes</p>
<p dir="auto">this seems to become a never ending story …</p>
<p dir="auto">With the last changes I wrote the display state (on or off) to a temp file so the labwc container knows the last state even after a restart. Problem now is the mm container, here the logs after restart:</p>
<pre><code class="language-bash">&gt; magicmirror@2.32.0-develop start:wayland
&gt; WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland

[2025-04-04 21:19:30.050] [LOG]   Starting MagicMirror: v2.32.0-develop
[2025-04-04 21:19:30.084] [LOG]   Loading config ...
[2025-04-04 21:19:30.087] [LOG]   config template file not exists, no envsubst
[2025-04-04 21:19:30.608] [INFO]  Checking config file /opt/magic_mirror/config/config.js ...
[2025-04-04 21:19:30.674] [INFO]  Your configuration file doesn't contain syntax errors :)
[2025-04-04 21:19:30.675] [INFO]  Checking modules structure configuration ...
[2025-04-04 21:19:30.778] [INFO]  Your modules structure configuration doesn't contain errors :)
[2025-04-04 21:19:30.780] [LOG]   Loading module helpers ...
[2025-04-04 21:19:30.786] [LOG]   Initializing new module helper ...
[2025-04-04 21:19:30.788] [LOG]   Module helper loaded: MMM-Universal-Pir
[2025-04-04 21:19:30.788] [LOG]   No helper found for module: alert.
[2025-04-04 21:19:30.793] [LOG]   Initializing new module helper ...
[2025-04-04 21:19:30.793] [LOG]   Module helper loaded: updatenotification
[2025-04-04 21:19:30.794] [LOG]   No helper found for module: clock.
[2025-04-04 21:19:30.924] [LOG]   Initializing new module helper ...
[2025-04-04 21:19:30.925] [LOG]   Module helper loaded: calendar
[2025-04-04 21:19:30.926] [LOG]   No helper found for module: compliments.
[2025-04-04 21:19:30.927] [LOG]   No helper found for module: weather.
[2025-04-04 21:19:31.034] [LOG]   Initializing new module helper ...
[2025-04-04 21:19:31.034] [LOG]   Module helper loaded: newsfeed
[2025-04-04 21:19:31.035] [LOG]   All module helpers loaded.
[2025-04-04 21:19:31.043] [LOG]   Starting server on port 8080 ...
[2025-04-04 21:19:31.046] [WARN]  You're using a full whitelist configuration to allow for all IPs
[2025-04-04 21:19:31.681] [LOG]   Server started ...
[2025-04-04 21:19:31.683] [LOG]   Connecting socket for: MMM-Universal-Pir
[2025-04-04 21:19:31.684] [LOG]   Connecting socket for: updatenotification
[2025-04-04 21:19:31.685] [LOG]   Starting module helper: updatenotification
[2025-04-04 21:19:31.686] [LOG]   Connecting socket for: calendar
[2025-04-04 21:19:31.687] [LOG]   Starting node helper for: calendar
[2025-04-04 21:19:31.688] [LOG]   Connecting socket for: newsfeed
[2025-04-04 21:19:31.689] [LOG]   Starting node helper for: newsfeed
[2025-04-04 21:19:31.690] [LOG]   Sockets connected &amp; modules started ...
</code></pre>
<p dir="auto">The container is running but electron not (the line <code>Launching application.</code> is missing), I think it is waiting for an active display …</p>
<p dir="auto">The Pir-Sensor which would active the screen again is running inside mm (which is not really running).</p>
<p dir="auto">So I have no idea at the moment, maybe we have to live with the situation before, where after restart we need a sensor interval before the screen is blanked again.</p>
]]></description><link>https://forum.magicmirror.builders/post/125604</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125604</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Fri, 04 Apr 2025 19:32:56 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Thu, 03 Apr 2025 07:52:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  unfortunately that didn’t work.<br />
In the morning the screen was off and could not be restored with <code>docker rm -f labwc &amp;&amp; docker compose up -d</code> or <code>docker compose up -d --force-recreate</code>.  In both cases the console briefly came back and then the the monitor slept again.  Only when i when into the <code>labwc</code> container and did <code>wlr-randr --output HDMI-A-1 --on --transform 90</code> did the display return.  At that point the <code>MMM-Universal-Pir</code> started counting down too and it works as normal.</p>
<pre><code>magicm@magicmirror:/opt/mm/run $ docker rm -f labwc &amp;&amp; docker compose up -d
labwc
[+] Running 2/2
 ✔ Container mm     Running                                                                                        0.0s
 ✔ Container labwc  Started                                                                                        0.5s
magicm@magicmirror:/opt/mm/run $ docker compose up -d --force-recreate
[+] Running 2/2
 ✔ Container mm     Started                                                                                        1.7s
 ✔ Container labwc  Started                                                                                        1.8s
magicm@magicmirror:/opt/mm/run $
     &gt;&gt;&gt; still no screen output &lt;&lt;&lt;
magicm@magicmirror:/opt/mm/run $ docker exec -it labwc bash
pi@3f4fb5c07c91:/$ wlr-randr
HDMI-A-1 "Raspberry PI RPI MON156 81005568472 (HDMI-A-1)"
  Make: Raspberry PI
  Model: RPI MON156
  Serial: 81005568472
  Physical size: 350x190 mm
  Enabled: no
  Modes:
    1920x1080 px, 60.000000 Hz (preferred)
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.939999 Hz
    1920x1080 px, 50.000000 Hz
    1920x1080 px, 48.000000 Hz
    1920x1080 px, 47.952000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 59.939999 Hz
    1280x720 px, 50.000000 Hz
    1280x720 px, 48.000000 Hz
    1280x720 px, 47.952000 Hz
    720x576 px, 50.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 60.000000 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
pi@3f4fb5c07c91:/$ wlr-randr --output HDMI-A-1 --on --transform 90
     &gt;&gt;&gt; screen returns &lt;&lt;&lt;
pi@3f4fb5c07c91:/$
</code></pre>
<p dir="auto">Please check I did the pull etc correctly</p>
<pre><code>magicm@magicmirror:/opt/mm $ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add &lt;file&gt;..." to update what will be committed)
  (use "git restore &lt;file&gt;..." to discard changes in working directory)
        modified:   install/install.sh

Untracked files:
  (use "git add &lt;file&gt;..." to include in what will be committed)
        install/install.sh.old
        run/douglas.env

no changes added to commit (use "git add" and/or "git commit -a")
magicm@magicmirror:/opt/mm $ git switch develop
M       install/install.sh
branch 'develop' set up to track 'origin/develop'.
Switched to a new branch 'develop'
magicm@magicmirror:/opt/mm $ git pull
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 22 (delta 14), reused 0 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (22/22), 2.66 KiB | 247.00 KiB/s, done.
From https://gitlab.com/khassel/magicmirror
   f4542dd..4891458  develop    -&gt; origin/develop
   a4a4748..c4bb59c  master     -&gt; origin/master
 * [new tag]         v2.31.0    -&gt; v2.31.0
Updating f4542dd..4891458
Fast-forward
 .gitlab-ci.yml            |  2 +-
 build/labwc/Dockerfile    |  2 +-
 build/labwc/entrypoint.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++--------
 run/includes/labwc.yaml   |  4 +++-
 run/original.env          |  4 ++--
 5 files changed, 57 insertions(+), 13 deletions(-)
magicm@magicmirror:/opt/mm $ cd /opt/mm/run
magicm@magicmirror:/opt/mm/run $ docker compose pull
[+] Pulling 15/15
 ✔ labwc Pulled                                                                                                  107.9s
   ✔ f07a03696dcc Already exists                                                                                   0.0s
   ✔ 98d9f29a8bdf Pull complete                                                                                  106.0s
   ✔ 6c9aae6d02f4 Pull complete                                                                                  106.1s
   ✔ 9d496899b308 Pull complete                                                                                  106.2s
 ✔ magicmirror Pulled                                                                                            171.5s
   ✔ d9b636547744 Already exists                                                                                   0.0s
   ✔ 2fb5eed0caf7 Already exists                                                                                   0.0s
   ✔ f51205ec4ac4 Already exists                                                                                   0.0s
   ✔ d7b57be0135b Already exists                                                                                   0.0s
   ✔ 813d7d6819ab Already exists                                                                                   0.0s
   ✔ 9e1af87e1f78 Pull complete                                                                                    1.1s
   ✔ 27001e96a2b0 Pull complete                                                                                    1.3s
   ✔ deb26dbf1268 Pull complete                                                                                  110.8s
   ✔ 1b7abece8518 Pull complete                                                                                  169.7s
magicm@magicmirror:/opt/mm/run $ docker compose up -d --force-recreate
[+] Running 2/2
 ✔ Container labwc  Started                                                                                       24.9s
 ✔ Container mm     Started
</code></pre>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125567</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125567</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Thu, 03 Apr 2025 07:52:21 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Wed, 02 Apr 2025 20:13:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a></p>
<p dir="auto">I think I have now a working solution for this.</p>
<p dir="auto">For testing</p>
<p dir="auto">use <code>LABWC_IMAGE="karsten13/labwc:develop"</code> in <code>.env</code>.</p>
<p dir="auto">In <code>/opt/mm</code> do</p>
<pre><code class="language-bash"># check if worktree is clean
git status
# switch to develop branch
git switch develop
# pull
git pull
</code></pre>
<p dir="auto">Go to <code>/opt/mm/run</code> and execute <code>docker compose pull</code> and <code>docker compose up -d --force-recreate</code>.</p>
<p dir="auto">With these changes the screen should still be blank after a restart of the labwc-container if the screen was blank before. Let me know if it works.</p>
]]></description><link>https://forum.magicmirror.builders/post/125566</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125566</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Wed, 02 Apr 2025 20:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Mon, 31 Mar 2025 18:19:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a></p>
<p dir="auto">had to write it down:</p>
<pre><code class="language-bash">labwc	after start			wlr-randr --output HDMI-A-1 --transform 90
mm	starts and mm is displayed
mm	offCommand			wlr-randr --output HDMI-A-1 --off
mm	still up but not displayed
labwc	fails after a while, killed
labwc	after start			wlr-randr --output HDMI-A-1 --transform 90
mm	still up and displayed again
mm	offCommand			wlr-randr --output HDMI-A-1 --off
...
</code></pre>
<p dir="auto">so another idea would be to execute the command defined in <code>RANDR_PARAMS</code> only if the display is not switched off. Will check if I can get this information …</p>
]]></description><link>https://forum.magicmirror.builders/post/125528</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125528</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Mon, 31 Mar 2025 18:19:43 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Mon, 31 Mar 2025 17:39:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  I thought that would be the case. I tried changing the initial <code>RANDR_PARAMS="--output HDMI-A-1 --transform 90"</code> in the <code>.env</code> file to <code>RANDR_PARAMS="--output HDMI-A-1 --off"</code> so that the <code>MMM-Universal-Pir</code> module would be responsible for the first switch on of the display but then I got no display on restart at all.</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125527</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125527</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Mon, 31 Mar 2025 17:39:15 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Mon, 31 Mar 2025 17:25:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a> said in <a href="/post/125516">I cannot disable screen blanking with MagicMirrorOS</a>:</p>
<blockquote>
<p dir="auto">the labwc container is then killed and then automatically restarts - will the screen be turned on then until the next PIR activity and subsequent timeout of MMM-Universal-Pir?</p>
</blockquote>
<p dir="auto">yes, I tested this by killing and restarting the labwc-container from outside.</p>
<p dir="auto">Not nice but I have no idea how to solve this.</p>
]]></description><link>https://forum.magicmirror.builders/post/125524</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125524</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Mon, 31 Mar 2025 17:25:51 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Mon, 31 Mar 2025 08:29:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>, thank you for this.  It worked well overnight last night.  One question: when the <code>wlr-randr</code> command fails, the <code>labwc</code> container is then killed and then automatically restarts - will the screen be turned on then until the next PIR activity and subsequent timeout of <code>MMM-Universal-Pir</code>?</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125516</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125516</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Mon, 31 Mar 2025 08:29:42 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Sat, 29 Mar 2025 20:03:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a></p>
<p dir="auto">I build another new labwc image. You can revert the changes done to <code>MM_IMAGE</code> and the <code>on-/offCommand</code> in your setup.</p>
<p dir="auto">The new <code>karsten13/labwc:develop</code> now runs <code>labwc</code> with pid=1 (I thought that was already the case) and additionally kills <code>labwc</code> if the <code>wlr-randr</code> command fails with <code>failed to connect to display</code>.</p>
<p dir="auto">Now the container will restart if <code>labwc</code> is terminated inside the container. This does not address the root issue but should be a good workaround (hopefully).</p>
<p dir="auto">So please do again a <code>docker compose pull &amp;&amp; docker compose up -d</code> to get the latest changes …</p>
]]></description><link>https://forum.magicmirror.builders/post/125427</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125427</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Sat, 29 Mar 2025 20:03:02 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Sat, 29 Mar 2025 17:21:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  the display failed today as before but we have timestamps in the <code>labwc</code> docker logs</p>
<pre><code>magicm@magicmirror:~ $ docker logs labwc
00:00:00.000 [INFO] [seatd/seat.c:48] Created VT-bound seat seat0
00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started
00:00:00.052 [INFO] [seatd/server.c:145] New client connected (pid: 17, uid: 1000, gid: 1000)
00:00:00.052 [INFO] [seatd/seat.c:239] Added client 1 to seat0
00:00:00.052 [INFO] [seatd/seat.c:563] Opened client 1 on seat0
00:00:00.120 [ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.120 [ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
executing: wlr-randr --output HDMI-A-1 --transform 90
Sat Mar 29 08:14:25 UTC 2025
HDMI-A-1 "Raspberry PI RPI MON156 81005568472 (HDMI-A-1)"
  Make: Raspberry PI
  Model: RPI MON156
  Serial: 81005568472
  Physical size: 350x190 mm
  Enabled: yes
  Modes:
    1920x1080 px, 60.000000 Hz (preferred, current)
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.939999 Hz
    1920x1080 px, 50.000000 Hz
    1920x1080 px, 48.000000 Hz
    1920x1080 px, 47.952000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 59.939999 Hz
    1280x720 px, 50.000000 Hz
    1280x720 px, 48.000000 Hz
    1280x720 px, 47.952000 Hz
    720x576 px, 50.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 60.000000 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
  Position: 0,0
  Transform: 90
  Scale: 1.000000
  Adaptive Sync: disabled
Sat Mar 29 08:29:25 UTC 2025
HDMI-A-1 "Raspberry PI RPI MON156 81005568472 (HDMI-A-1)"
  Make: Raspberry PI
  Model: RPI MON156
  Serial: 81005568472
  Physical size: 350x190 mm
  Enabled: yes
  Modes:
    1920x1080 px, 60.000000 Hz (preferred, current)
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.939999 Hz
    1920x1080 px, 50.000000 Hz
    1920x1080 px, 48.000000 Hz
    1920x1080 px, 47.952000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 59.939999 Hz
    1280x720 px, 50.000000 Hz
    1280x720 px, 48.000000 Hz
    1280x720 px, 47.952000 Hz
    720x576 px, 50.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 60.000000 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
  Position: 0,0
  Transform: 90
  Scale: 1.000000
  Adaptive Sync: disabled
  
  ...
  
Sat Mar 29 13:14:26 UTC 2025
HDMI-A-1 "Raspberry PI RPI MON156 81005568472 (HDMI-A-1)"
  Make: Raspberry PI
  Model: RPI MON156
  Serial: 81005568472
  Physical size: 350x190 mm
  Enabled: yes
  Modes:
    1920x1080 px, 60.000000 Hz (preferred, current)
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.939999 Hz
    1920x1080 px, 50.000000 Hz
    1920x1080 px, 48.000000 Hz
    1920x1080 px, 47.952000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 59.939999 Hz
    1280x720 px, 50.000000 Hz
    1280x720 px, 48.000000 Hz
    1280x720 px, 47.952000 Hz
    720x576 px, 50.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 60.000000 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
  Position: 0,0
  Transform: 90
  Scale: 1.000000
  Adaptive Sync: disabled
Sat Mar 29 13:29:26 UTC 2025
failed to connect to display
Sat Mar 29 13:44:26 UTC 2025
failed to connect to display
Sat Mar 29 13:59:26 UTC 2025
failed to connect to display
Sat Mar 29 14:14:26 UTC 2025
failed to connect to display
Sat Mar 29 14:29:26 UTC 2025
failed to connect to display
Sat Mar 29 14:44:26 UTC 2025
failed to connect to display
Sat Mar 29 14:59:26 UTC 2025
failed to connect to display
Sat Mar 29 15:14:26 UTC 2025
failed to connect to display
Sat Mar 29 15:29:26 UTC 2025
failed to connect to display
Sat Mar 29 15:44:26 UTC 2025
failed to connect to display
Sat Mar 29 15:59:26 UTC 2025
failed to connect to display
Sat Mar 29 16:14:26 UTC 2025
failed to connect to display
</code></pre>
<pre><code>There's also a new item in the `mm` docker logs when I restarted the docker containers on my return
Gdk-Message: 16:25:24.348: Error reading events from display: Broken pipe
[entrypoint 16:25:25.533] [INFO]   ***WARNING*** could write to /etc/localtime
[entrypoint 16:25:25.539] [INFO]   copy default modules
[entrypoint 16:25:25.603] [INFO]   copy css files
</code></pre>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125422</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125422</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Sat, 29 Mar 2025 17:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Sat, 29 Mar 2025 08:06:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> my apologies, I see the transform is not needed as you have taken the rotation into account</p>
]]></description><link>https://forum.magicmirror.builders/post/125411</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125411</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Sat, 29 Mar 2025 08:06:24 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Sat, 29 Mar 2025 07:52:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  I left it running overnight with the MMM-Universal-Pir config lines commented out and the monitor physically switched off and this morning MM was still working fine when I switched the monitor back on again.  When I looked at <code>docker logs labwc</code> the <code>wlr-randr</code> command was failing (still being triggered every fifteen mins) which suggests the connection between the <code>MMM-Universal-Pir</code> and the display driver is the issue rather than the display actually going off.  I will try your new build today although i will have to add <code>--transform 90</code> to the <code>onCommand</code> to get my screen rotation.</p>
<pre><code>magicm@magicmirror:/opt/mm/mounts/config $ docker logs labwc
HDMI-A-1 "Raspberry PI RPI MON156 81005568472 (HDMI-A-1)"
  Make: Raspberry PI
  Model: RPI MON156
  Serial: 81005568472
  Physical size: 350x190 mm
  Enabled: yes
  Modes:
    1920x1080 px, 60.000000 Hz (preferred, current)
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.939999 Hz
    1920x1080 px, 50.000000 Hz
    1920x1080 px, 48.000000 Hz
    1920x1080 px, 47.952000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 60.000000 Hz
    1280x720 px, 59.939999 Hz
    1280x720 px, 50.000000 Hz
    1280x720 px, 48.000000 Hz
    1280x720 px, 47.952000 Hz
    720x576 px, 50.000000 Hz
    720x480 px, 60.000000 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 60.000000 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
  Position: 0,0
  Transform: 90
  Scale: 1.000000
  Adaptive Sync: disabled
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
failed to connect to display
magicm@magicmirror:/opt/mm/mounts/config $ docker exec -it labwc bash
pi@c7c64f70849e:/$ wlr-randr
failed to connect to display
pi@c7c64f70849e:/$
</code></pre>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125409</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125409</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Sat, 29 Mar 2025 07:52:33 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Fri, 28 Mar 2025 20:25:58 GMT]]></title><description><![CDATA[<p dir="auto">for testing I added <code>wlopm</code> to the current mm-develop docker image.</p>
<p dir="auto">So for another test use this lines in the .env file</p>
<pre><code class="language-bash">MM_IMAGE="karsten13/magicmirror:develop"
LABWC_IMAGE="karsten13/labwc:develop"
</code></pre>
<p dir="auto">Then change the on/off commands in the <code>config.js</code></p>
<pre><code class="language-js">                        module: "MMM-Universal-Pir",
                        position: "top_right",
                        config: {
                                onCommand: "wlopm --on HDMI-A-1",
                                offCommand: "wlopm --off HDMI-A-1",
                        }
</code></pre>
<p dir="auto">and then do a <code>docker compose pull &amp;&amp; docker compose up -d</code></p>
]]></description><link>https://forum.magicmirror.builders/post/125402</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125402</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Fri, 28 Mar 2025 20:25:58 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Fri, 28 Mar 2025 19:12:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a></p>
<blockquote>
<p dir="auto">unfortunately that change did not prevent the display from dropping</p>
</blockquote>
<p dir="auto">I expected this already …</p>
<p dir="auto">can you post the exact error message of wlr-randr when it fails?</p>
<p dir="auto">Other point: What happens if you disable MMM-Universal-Pir for a test? Are you still getting the errors or does mm runs correctly over night?</p>
]]></description><link>https://forum.magicmirror.builders/post/125397</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125397</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Fri, 28 Mar 2025 19:12:31 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Fri, 28 Mar 2025 11:59:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> unfortunately that change did not prevent the display from dropping.  There’s no time timestamp in the docker logs for <code>labwc</code> but when i looked this morning there were some 40 calls to <code>wlr-randr</code> that had failed. If they are every 15mins that’s about 10:00 it failed.  I will make a more accurate observation tonight</p>
]]></description><link>https://forum.magicmirror.builders/post/125371</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125371</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Fri, 28 Mar 2025 11:59:23 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Wed, 26 Mar 2025 20:53:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> said in <a href="/post/125340">I cannot disable screen blanking with MagicMirrorOS</a>:</p>
<blockquote>
<p dir="auto">I will try to build a labwc container which executes wlr-randr e.g. every 30min. so we can see if this helps.</p>
</blockquote>
<p dir="auto">you can now test with a new labwc container which does the wlr-randr call every 15min. but I’m not sure this helps …</p>
<p dir="auto">For testing change this line in the <code>.env</code> file</p>
<pre><code class="language-bash">LABWC_IMAGE="karsten13/labwc:develop"
</code></pre>
<p dir="auto">and then do a <code>docker compose pull &amp;&amp; docker compose up -d</code></p>
]]></description><link>https://forum.magicmirror.builders/post/125341</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125341</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Wed, 26 Mar 2025 20:53:19 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Wed, 26 Mar 2025 18:32:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a> said in <a href="/post/125314">I cannot disable screen blanking with MagicMirrorOS</a>:</p>
<blockquote>
<p dir="auto">I can get it back with docker rm -f labwc &amp;&amp; docker compose up -d</p>
</blockquote>
<p dir="auto">so restarting only the labwc container solves the problem …</p>
<p dir="auto">I will try to build a labwc container which executes wlr-randr e.g. every 30min. so we can see if this helps.</p>
]]></description><link>https://forum.magicmirror.builders/post/125340</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125340</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Wed, 26 Mar 2025 18:32:37 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Wed, 26 Mar 2025 08:21:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> i have disabled the <code>init</code> container as suggested.</p>
<p dir="auto">When the display fails I can get it back with <code>docker rm -f labwc &amp;&amp; docker compose up -d</code>  (<code>docker compose up -d --force-recreate</code> also works but <code>docker compose up -d</code> on it’s own doesn’t). I am running it today with the <code>MMM-Universal-Pir</code> module disabled as another test (although when sitting at a login prompt it never went off).</p>
<p dir="auto">Note that the display fails after a few hours of no PIR trigger, it doesn’t have to be overnight.</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125314</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125314</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Wed, 26 Mar 2025 08:21:44 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Tue, 25 Mar 2025 20:06:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a></p>
<p dir="auto">the 4 objects are o.k., one network and 3 containers (<code>init</code> is only for setting correct permissions in the mount folders, it runs for a very short time, you can disable it in the <code>.env</code> file if wanted).</p>
<p dir="auto">Question: When the <code>failed to connect to display</code> occurs, how do you get the screen back working? Is a <code>docker rm -f labwc &amp;&amp; docker compose up -d</code> sufficient or a <code>docker compose up -d --force-recreate</code>? Or do you have do reboot? Or do you switch the monitor off and on?</p>
<p dir="auto">Other idea is to implement a <code>wlr-randr</code> call every 30min. in the <code>labwc</code> container.</p>
]]></description><link>https://forum.magicmirror.builders/post/125276</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125276</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Tue, 25 Mar 2025 20:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Tue, 25 Mar 2025 07:43:51 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> I stopped docker at 9:30 last night with <code>docker compose down</code> leaving the screen at the magicmirror login prompt. This morning the screen was still showing the login prompt .  MM was reinstated perfectly with <code>docker compose up -d --force-recreate</code>.  <a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> I notice there are now four objects that start:</p>
<pre><code>[+] Running 4/4
 ✔ Network magicmirror_default  Created                                                                            0.1s
 ✔ Container mm                 Started                                                                            0.9s
 ✔ Container init               Started                                                                            1.0s
 ✔ Container labwc              Started                                                                            1.0s
</code></pre>
<p dir="auto">Steve</p>
]]></description><link>https://forum.magicmirror.builders/post/125235</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125235</guid><dc:creator><![CDATA[smegbadger]]></dc:creator><pubDate>Tue, 25 Mar 2025 07:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Mon, 24 Mar 2025 21:06:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a> if you stop mmos does the screen still turn off overnight?</p>
]]></description><link>https://forum.magicmirror.builders/post/125230</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125230</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 24 Mar 2025 21:06:48 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Mon, 24 Mar 2025 20:31:34 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 setup is “Raspberry Pi OS Lite” with the normal docker setup and an additional labwc container</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a></p>
<p dir="auto">I have no idea what is happening. Sounds like the monitor totally cuts the connection to the pi after a while.</p>
<p dir="auto">Maybe <a href="https://forum.magicmirror.builders/topic/19116/having-trouble-with-screen-on-and-off-here-are-some-tips-that-could-help?page=1">this post</a> contains something helpful.</p>
<p dir="auto">What is your wlr-randr command for waking up?</p>
]]></description><link>https://forum.magicmirror.builders/post/125229</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125229</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Mon, 24 Mar 2025 20:31:34 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot disable screen blanking with MagicMirrorOS on Mon, 24 Mar 2025 13:34:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smegbadger" aria-label="Profile: smegbadger">@<bdi>smegbadger</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  will have to advise</p>
]]></description><link>https://forum.magicmirror.builders/post/125187</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125187</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 24 Mar 2025 13:34:13 GMT</pubDate></item></channel></rss>