Read the statement by Michael Teeuw here.
Error log full of this error - gdk_monitor_get_scale_factor
-
@Dotmatrix812 also, I am the one that approves posts
they may be delayed as I am spending time w grandson
-
Time with the grandson is very important 👍
I will check if I can find out if the errors appear after the monitor gets switched off.
-
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.
-
@tinkertailorgeek thanks… so the code managing the screen doesn’t like having the hdmi channel chopped out from under it…
I assume the errors go away when the hdmi port is turned back on -
@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.