Solved Screen does not go to sleep
-
Hello! First I would like to say that I appreciate all of the hard work put into these modules.
I was having a problem with my monitor screen not going to sleep.
When I installed EXT-Screen I tested the module. My screen would blank, but the monitor would not turn off.
So I checked “xset -q” command and I received the following error message:
“server does not have extension for -dpms option”
I tried for several days to figure out why. Because DPMS normally working fine with a fresh install of Raspbian.
So today I narrowed the problem to the “postinstall.sh” script of EXT-Screen.
In this script it will enable the line in the file /etc/lightdm/lightdm.conf :
“#xserver-command=X -s 0 -dpms”When the postinstall.sh script removes the “#”, it will disable DPMS after a reboot.
So I disable this line again and everything is working normally now.
I use mode:2 in EXT-Screen and my monitor screen will go to sleep after the set amount of time and wake up.I do not know why this line is enables as part of the installation process, maybe there is a reason.
I hope this helps someone out there and I would also like to know if there is a better solution.
Thank you!
-
-
Thank you, I came across that post already when trying to troubleshoot the problem. It had no effect that I could tell. I searched the forum for solutions as well as the internet for why the monitor would not go to sleep before making my post.
Without DPMS my monitor will not sleep.
The EXT-Screen postinstall.sh script will disable my DPMS.
My only solution was to revert lightdm.conf to its original configuration.
My problem is now solved.
-
OK, I will inspect thx
-
Thank you.
I would like to note, that I have to set:
“xset dpms 00 00 00”So that the screensaver does not interfere with EXT-screen.
once I set the timeout for EXT-Screen back to 120000, the dpms was set to “60 60 60” and when the screen would go to sleep it would require keyboard/mouse input to wake up.
xset dpms 00 00 00 solved that issue. -
-
bugsounet