ToggleDPMS does not de-activate
waynethomas69 opened this issue · 6 comments
With the latest version of libreelec (10.0.3) the vcgencmd command is no longer supported so I have instead switched to the DPMS built-in option. The screensaver seems to activate correctly, but it never deactivates. To recover I have to either reboot, or issue kodi-send --action=ToggleDPMS
twice - the fact it requires it twice makes me curious.
I also modified the plugin to the below to see if that changed the behaviour - but it was completely the same
dict(name='dpms-builtin', title='DPMS (built-in)',
function='run_command',
args_off=['kodi-send', '--action=ToggleDPMS'],
args_on=['kodi-send', '--action=ToggleDPMS']),
I've turned on debugging on libreelec, and there was nothing relevant when trying to deactivate the screensaver. There was perhaps a hint when the screensaver was activated though:
https://gist.github.com/waynethomas69/5fdc33803039c7dfb47fec036db134ee
May not be the answer you want, but if vcgencmd is still preferable, you could change your /boot/config.txt
[all]
dtoverlay=vc4-fkms-v3d,cma-512
dtparam=audio=on
This will go back to the older fake DKMS which does support vcgencmd.
The reason ToggleDPMS
fails is because the screensaver resume
is never run once DPMS has been toggled off.
May not be the answer you want, but if vcgencmd is still preferable, you could change your
/boot/config.txt
[all] dtoverlay=vc4-fkms-v3d,cma-512 dtparam=audio=on
This will go back to the older fake DKMS which does support vcgencmd.
The reason
ToggleDPMS
fails is because the screensaverresume
is never run once DPMS has been toggled off.
Thanks @trigg,
it looks like that overlay isn't compatible with Libreelec; I tried it and it wouldn't boot anymore. Couldn't even ssh in to confirm what the issue was. Pulled the SD and removed that line from config.txt and everything returned to normal.
With the latest version of libreelec (10.0.3) the vcgencmd command is no longer supported so I have instead switched to the DPMS built-in option. The screensaver seems to activate correctly, but it never deactivates. To recover I have to either reboot, or issue
kodi-send --action=ToggleDPMS
twice - the fact it requires it twice makes me curious.I also modified the plugin to the below to see if that changed the behaviour - but it was completely the same
dict(name='dpms-builtin', title='DPMS (built-in)', function='run_command', args_off=['kodi-send', '--action=ToggleDPMS'], args_on=['kodi-send', '--action=ToggleDPMS']),
I've turned on debugging on libreelec, and there was nothing relevant when trying to deactivate the screensaver. There was perhaps a hint when the screensaver was activated though: https://gist.github.com/waynethomas69/5fdc33803039c7dfb47fec036db134ee
Having absolutely the same behavior on Orange Pi 3 LTS
So is there no solution right now to Turn the HDMI Port off and on ?
So is there no solution right now to Turn the HDMI Port off and on ?
None that I've found yet.
I've the same problem.
With DPMS off HDMI CEC is still active, i.e. the TV sees kodi.
However, neither a CEC event nor a USB keyboard keypress make Kodi activate the display again.
The reason
ToggleDPMS
fails is because the screensaverresume
is never run once DPMS has been toggled off.
Isn't this the root bug then?