Kodi Community Forum
Solved Waking up from screensaver - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Solved Waking up from screensaver (/showthread.php?tid=367455)



Waking up from screensaver - Segfault - 2022-03-14

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.


RE: Waking up from screensaver - Atreyu - 2022-03-14

There are some CEC settings that are sort of hidden in system-input-peripherals worth playing with. Did you find those?


RE: Waking up from screensaver - Segfault - 2022-03-14

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.


RE: Waking up from screensaver - PatK - 2022-03-14

(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.


RE: Waking up from screensaver - DarrenHill - 2022-03-14

Thread moved to OS independent support


RE: Waking up from screensaver - Segfault - 2022-03-15

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.


RE: Waking up from screensaver - Segfault - 2022-03-15

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).


RE: Waking up from screensaver - Segfault - 2022-03-15

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.


RE: Waking up from screensaver - ontap - 2023-03-05

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.