Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Solved Waking up from screensaver
#1
It has changed with some version upgrade. I never turn off my frontends, they take so little power in standby mode turning them off would be only useless PITA. I use Xorg built-in screensaver to put display into sleep and TV sets have their own power saving which turns them off when there is no signal. Meaning when I stop watching I just walk away and frontend goes to standby and TV turns off all by itself.
It used to be any button press woke up the frontend without performing any action. For instance, I could press PLAY and it would wake it up, next press of PLAY would start playing. Now it starts playing right away. I almost never remember in what state I left the frontend, therefore any button press has the potential to do something undesired. I have tried to get used to this new behavior, but no go.
Is there any way to restore the old behavior? I've looked around in the settings without finding it.
Reply
#2
There are some CEC settings that are sort of hidden in system-input-peripherals worth playing with. Did you find those?
Reply
#3
Thanks for reply. I do not use CEC, so I guess those settings won't help.
I don't know why this change was necessary. Means certainly much worse user experience for me. I'm not a programmer, but if I could somehow find out in which file this function is I'd try and make a patch to fix this fix of something that wasn't broken. Is there a full detailed changelog somewhere? Finding this file is the main difficulty at the moment.
Reply
#4
(2022-03-14, 02:20)Segfault Wrote: Now it starts playing right away.
I don't see that as a problem, likely the screen is not asleep and you're utilizing a black page.
(2022-03-14, 02:20)Segfault Wrote: Is there any way to restore the old behavior?
Reverting to the org software configuration perhaps?
(2022-03-14, 02:20)Segfault Wrote: I use Xorg built-in screensaver; which file this function
In essence this, recommend that you utilize the built in default blanker and turn off all external screen savers.
Reply
#5
Thread moved to OS independent support
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#6
PatK, thanks for reply. My frontend was working the way I liked for ages, I did not change anything in configuration. Just after some Kodi version upgrade the behavior changed. So you suggest I disable DPMS and screen saver in Xorg and use Kodi screen saver functionality instead? Will try.
Reply
#7
Quote:I don't see that as a problem, likely the screen is not asleep and you're utilizing a black page.
Yes, I realized this is exactly what is happening. Also I finally recalled why I set it up this way. Kodi screensaver stopped working after some upgrade. I tried it now again, Settings/Interface/Screensaver. Set to turn display off in 3 minutes. Nothing happens after 3 minutes, 30 minutes, ever. This is why I used Xorg server DPMS options. Kodi is not aware of this and this is why every button press acts immediately. As a workaround I use relatively neutral buttons to wake it up, like Vol Up.
Why Kodi screensaver stopped working remains unknown. It dims the screen when set to dim mode, turns screen black in black mode, but won't turn it off in off mode (used to work in older Kodi versions).
Reply
#8
OK, it must be Kodi is interacting with Xorg in a way which is not supported in my box. Dimming and blanking is obviously what Kodi does by itself, to turn the display off it needs to send a command to Xorg. Quite clearly this command is not working. I installed xset, thinking perhaps this is a missing dependency, but no.
Can  anybody tell me what dependency I need to install to make it work?

Edit: I tried to set up the built-in screensaver one more time and this time it worked. I have no clue why. Can't say the problem is solved, but it is gone.
Reply
#9
Am using LibreELEC on a windows PC . I have an issue where , IF I turn my TV off ( using TV remote ) , when I turn it back on , the power icon on the PC is still enabled but I get a black screen as if kodi has turned off ?
My question firstly is, what happened to the options in  "settings-input-peripherals " ? when I select periherals I the info box is blank ? So I can't do anything with CEC ?
Just for curiosity , I had a look at a fresh kodi an a mac and the same peripheral box is blank ? 
have wake on lan enabled ,tried turning CEC on off on TV , to get kodi back after turning TV on , I have to pull the power lead from the PC and reboot.
Reply

Logout Mark Read Team Forum Stats Members Help
Waking up from screensaver0