Upgraded OSMC to Kodi V19.3 TV Screen Black

I upgraded my Raspberry Pi 3 Model B Rev 1.2 from Release 20-11-1 Kodi version 18.9 to the latest Kodi version 19.3 Release 2021-11-2. The upgrade displays on my LG Plasma TV as normal however when Kodi reboots after completing the upgrade, the blue Kodi logo splash screen appears on the TV screen, but then the TV goes black and complains there is no (HDMI) signal being received. I have tried different HDMI ports and different HDMI cables to no positive effect. The upgrade seems to have worked OK as I can ssh into the Raspberry Pi without any issues.

If I reinstall Kodi V18.9 the downgrade works as normal and displays on my LG Plasma TV without any issues.

I left the Kodi V19.3 Config.txt untouched as:

[pi4]
dtoverlay=rpivid-v4l2
arm_64bit=1
kernel=kernel.img

[all]
dtoverlay=vc4-kms-v3d,cma-512
disable_overscan=1
start_x=1
disable_splash=1
disable_fw_kms_setup=1
hdmi_ignore_cec_init=1
include config-user.txt

My config-user.txt file in Kodi V19.3 is:

gpu_mem_1024=256
disable_overscan=1
ignore_lcd=1
config_hdmi_boost=8
hdmi_group=2
hdmi_mode=35

Typing the; tail -F /home/osmc/.kodi/temp/kodi.log command repeatedly returns the following errors in the Log;

2021-12-05 11:46:54.154 T:470 INFO : CActiveAESink::OpenSink - initialize sink
2021-12-05 11:46:54.155 T:470 ERROR : CActiveAESink::OpenSink - no sink was returned
2021-12-05 11:46:54.155 T:469 ERROR : ActiveAE::InitSink - returned error

I have reinstalled v19 and v19.3 a number of times with the same error, regardless of whether I use a disk image from the OSMC.tv site or use osmc-installer.

Does anyone have any ideas, I’ve tried a number of config commands in the config-user.txt file, but to no avail.

Thanks Mark

hdmi_group should be 1 for a television.
hdmi_mode should be 16 for a 1080p60 television.

I’m not sure where the values in your config file have originated from but this looks like the issue to me.

https://onlinelibrary.wiley.com/doi/pdf/10.1002/9781119415572.app3

1 Like

Hi ColumbusCoat,

Thanks for the response. I tried having just the following two commands in my config-user.txt file, but it still doesn’t display the Kodi menu after displaying the Kodi splash screen.

hdmi_group=1
hdmi_mode=16

Entering the following command in ssh; tail -F /home/osmc/.kodi/temp/kodi.log command repeatedly returns the following errors in the Log;
2021-12-05 11:46:54.154 T:470 INFO : CActiveAESink::OpenSink - initialize sink
2021-12-05 11:46:54.155 T:470 ERROR : CActiveAESink::OpenSink - no sink was returned
2021-12-05 11:46:54.155 T:469 ERROR : ActiveAE::InitSink - returned error

Why would you have any commands in there? Try with an empty one.

Hi fzinken,

Thank you for your message. I’ve tried with an empty config-user.txt file as when the upgrade completes, the config-user.txt file is empty with no commands in it. The TV still still returns a no signal error and the following errors are still in the log when I reboot the Raspberry Pi;
2021-12-05 11:46:54.154 T:470 INFO : CActiveAESink::OpenSink - initialize sink
2021-12-05 11:46:54.155 T:470 ERROR : CActiveAESink::OpenSink - no sink was returned
2021-12-05 11:46:54.155 T:469 ERROR : ActiveAE::InitSink - returned error

That is the same error as here reported on the Pi4

Would be interesting to see if adding one of these options to config-user.txt makes a difference
dtparam=audio=on
dtoverlay=pisound

Also the output of edid-decode /sys/class/drm/card?-HDMI-A-1/edid edid-decode /sys/class/drm/card?-HDMI-A-1/edid could be of interest.

I had a similar issue on a Pi 3B: init screen is shown, but then all black; same error messages in the log; working ssh access.

My guess is that when the problem arises, HDMI is broken until next reboot. Currently, the problem is fixed for me (fingers crossed). What I did and reverted:

  • Connect the Pi with a different HDMI cable directly to the TV (bypassing the AVR).

What I did and is still in effect:

  • Remove an unused USB device
  • Add config_hdmi_boost=4 to /boot/config-user.txt

Hi osmc_user, Thanks for your suggestion. I tried a different HDMI cable and a different HDMI port connected directly to the TV, but I still get the black screen and the CActiveAESink::OpenSink - no sink was returned errors. My /boot/config-user.txt is as follows,

dtparam=audio=on
dtoverlay=pisound
hdmi_group=1
hdmi_mode=16
config_hdmi_boost=4

Thanks fzinken,

I tried adding, dtparam=audio=on and dtoverlay=pisound to the config-user.txt but I got the same result.

In terms of getting the output of edid-decode /sys/class/drm/card?-HDMI-A-1/edid can you please let me know the ssh commands to get the edid decode info as I wasn’t able to work it out.
Thanks Mark

So what was the error message? Is edid-decode not installed? If that is the case sudo apt-get install edid-decode

In another similar thread, a swap of the power supply unit is suggested. Sounds like a possible cause for me, maybe you can try.

Hi fzinken, edid-decode wasn’t installed. I installed it and tried the edid-decode /sys/class/drm/card?-HDMI-A-1/edid command and it returned ‘No header found’.

The log output is:
osmc@osmc:~$ sudo apt-get install edid-decode
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
edid-decode
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 28.4 kB of archives.
After this operation, 72.7 kB of additional disk space will be used.
Get:1 Index of /debian buster/main armhf edid-decode armhf 0.1~git20 180813.b2da1516-1 [28.4 kB]
Fetched 28.4 kB in 1s (34.2 kB/s)
Selecting previously unselected package edid-decode.
(Reading database … 28930 files and directories currently installed.)
Preparing to unpack …/edid-decode_0.1~git20180813.b2da1516-1_armhf.deb …
Unpacking edid-decode (0.1~git20180813.b2da1516-1) …
Setting up edid-decode (0.1~git20180813.b2da1516-1) …
osmc@osmc:~$ edid-decode /sys/class/drm/card?-HDMI-A-1/edid
No header found
osmc@osmc:~$ edid-decode /sys/class/drm/card?-HDMI-A-1/edid
No header found
osmc@osmc:~$

Thanks Mark

Ok might be connected to 2 port?
edid-decode /sys/class/drm/card?-HDMI-A-2/edid

I tried the 2 port option and got a ‘No such file or directory’ response:

osmc@osmc:~$ edid-decode /sys/class/drm/card?-HDMI-A-2/edid
/sys/class/drm/card?-HDMI-A-2/edid: No such file or directory
osmc@osmc:~$

What is the output of ls -lah /sys/class/drm/

Hi fzinken,

The output of ls -lah /sys/class/drm/ is:

osmc@osmc:~$ ls -lah /sys/class/drm/
total 0
drwxr-xr-x 2 root root 0 Dec 5 08:21 .
drwxr-xr-x 57 root root 0 Jan 1 1970 …
lrwxrwxrwx 1 root root 0 Dec 5 08:21 card0 → …/…/devices/platform/soc/so c:gpu/drm/card0
lrwxrwxrwx 1 root root 0 Dec 5 08:21 card0-Composite-1 → …/…/devices/pla tform/soc/soc:gpu/drm/card0/card0-Composite-1
lrwxrwxrwx 1 root root 0 Dec 5 08:21 card0-HDMI-A-1 → …/…/devices/platfo rm/soc/soc:gpu/drm/card0/card0-HDMI-A-1
lrwxrwxrwx 1 root root 0 Dec 5 08:21 card0-Writeback-1 → …/…/devices/pla tform/soc/soc:gpu/drm/card0/card0-Writeback-1
lrwxrwxrwx 1 root root 0 Dec 5 08:21 renderD128 → …/…/devices/platform/s oc/soc:gpu/drm/renderD128
-r–r–r-- 1 root root 4.0K Dec 5 08:21 version
osmc@osmc:~$

And ls -lah /sys/class/drm/card0-HDMI-A-1/

ls -lah /sys/class/drm/card0-HDMI-A-1/ returned the following;

osmc@osmc:~$ ls -lah /sys/class/drm/card0-HDMI-A-1/
total 0
drwxr-xr-x 3 root root 0 Dec 5 08:21 .
drwxr-xr-x 6 root root 0 Dec 5 08:21 …
lrwxrwxrwx 1 root root 0 Dec 6 05:19 ddc → …/…/…/…/3f805000.i2c/i2c-2
lrwxrwxrwx 1 root root 0 Dec 6 05:19 device → …/…/card0
-r–r–r-- 1 root root 4.0K Dec 6 05:19 dpms
-r–r–r-- 1 root root 0 Dec 6 05:19 edid
-r–r–r-- 1 root root 4.0K Dec 6 05:19 enabled
-r–r–r-- 1 root root 4.0K Dec 6 05:19 modes
drwxr-xr-x 2 root root 0 Dec 6 05:19 power
-rw-r–r-- 1 root root 4.0K Dec 6 05:19 status
lrwxrwxrwx 1 root root 0 Dec 6 05:18 subsystem → …/…/…/…/…/…/…/class /drm
-rw-r–r-- 1 root root 4.0K Dec 5 08:21 uevent
osmc@osmc:~$

So does edid-decode /sys/class/drm/card0-HDMI-A-1/edid work?

edid-decode /sys/class/drm/card0-HDMI-A-1/edid returned ‘No header found’

osmc@osmc:~$ edid-decode /sys/class/drm/card?-HDMI-A-1/edid
No header found
osmc@osmc:~$