@sdetweil The 3 error entries in the log file only appear at the point in time that the xrandr off is issued. They don’t appear again until the screen has been turned on again and another xrandr -off gets issued.
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
T
Posts made by tinkertailorgeek
-
RE: Error log full of this error - gdk_monitor_get_scale_factor
-
RE: Error log full of this error - gdk_monitor_get_scale_factor
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.
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.
I can reproduce the error by issuing the command:
DISPLAY=:0.0 xrandr --output HDMI-1 --off
while the screen is on. No errors occur if I use the same command and the screen is already off.
Hope this helps.