My LG HDTV does not detect a signal from the RPi3 (HDMI) running Kodi if the TV is not switched on before the RPi3 is switched on. The error I get on the TV is “no signal detected” when trying the HDMI2 where the RPi3 is connected. From googling, it seems that some TVs need the following added to /boot/config.txt:
hdmi_force_hotplug=1
Adding this does seem to correct the issue of no signal but it makes the Kodi UI looks like all distorted if I boot the RPi3 with the TV off and then turn on the TV at a later point in time; it looks fine if the TV is on first.
Debug logs:
Condition 1:
*hdmi_force_hotplug=1 in /boot/config.txt
*TV off
*Reboot RPi3 and let kodi start
*Turn TV on
condition1.log. Kodi UI is distorted and looks really bad.
Condition 2:
*hdmi_force_hotplug=1 in /boot/config.txt
*TV on
*Reboot RPi3 and let kodi start
condition2.log. Kodi UI looks great.
Condition 3:
*hdmi_force_hotplug=1 is commented out in /boot/config.txt
*TV off
*Reboot RPi3 and let kodi start
condition3.log. No signal detected/black screen.