2018-03-31, 18:37
I have a problem with a fresh LibreELEC installation on Raspberry Pi 3, which is connected to a Sony Bravia KDL-50W828B TV via HDMI.
In a nutshell, when Kodi boots, everything is OK, the TV switches to the correct input (which is HDMI 2) automatically. However, when it goes to sleep after a period of inactivity, trying to wake Kodi up by remote control buttons doesn't turn on the screen anymore. Furthermore, it also happens immediately after powering on, while the device hasn't yet had a chance to go to sleep - changing the TV input from HDMI2 to something else and then immediately back again renders a black screen.
I have been able to reproduce the behaviour by controlling Kodi through a ssh shell. First, with the Kodi GUI displayed normally on the TV screen, I type "tvservice -o", and the screen goes blank. After that, typing "tvservice -p" changes the HDMI status (obtained by "tvservice -s") from "HDMI off" to "HDMI in HDMI mode" but the screen remains blank nevertheless. The only way to get the image back is restarting the Kodi service by "systemctl stop kodi" followed by "systemctl start kodi", or power cycling the RPI, which is not exactly the user friendliest way.
I fiddled with /flash/config.txt settings dealing with HDMI, but to no amount - whatever I change, the result remains the same. I also tried changing the CEC service configuration HDMI parameters with the same results.
Could there be anything else I could try?
In a nutshell, when Kodi boots, everything is OK, the TV switches to the correct input (which is HDMI 2) automatically. However, when it goes to sleep after a period of inactivity, trying to wake Kodi up by remote control buttons doesn't turn on the screen anymore. Furthermore, it also happens immediately after powering on, while the device hasn't yet had a chance to go to sleep - changing the TV input from HDMI2 to something else and then immediately back again renders a black screen.
I have been able to reproduce the behaviour by controlling Kodi through a ssh shell. First, with the Kodi GUI displayed normally on the TV screen, I type "tvservice -o", and the screen goes blank. After that, typing "tvservice -p" changes the HDMI status (obtained by "tvservice -s") from "HDMI off" to "HDMI in HDMI mode" but the screen remains blank nevertheless. The only way to get the image back is restarting the Kodi service by "systemctl stop kodi" followed by "systemctl start kodi", or power cycling the RPI, which is not exactly the user friendliest way.
I fiddled with /flash/config.txt settings dealing with HDMI, but to no amount - whatever I change, the result remains the same. I also tried changing the CEC service configuration HDMI parameters with the same results.
Could there be anything else I could try?