OSMC with HDMI switch

I have a media system setup where the screen (Philips TV) is connected to a Marmitek MC621 HDMI switch that switches between a SetTop Box, RPi2 and ChromeCast. OSMC version 18.

Recently I had to install a new OSMC (20.2). I copied the osmc .kodi directory from the old system and all settings were imported/upgraded. Good job!

While most is up and running there is one thing that I can not get functional again. When the media system (i.e., all its constituents) is powered up, the HDMI switch is usually connected to the SetTop Box. On the RPi, I have set hdmi_force_hotplug=1 so I can use the HDMI switch to connect the TV screen to the RPi2 later. While this worked fine under OSMC 18, this doesn’t seem to work with the new version. When I switch to the RPi2 the TV reports ‘no signal’.

Also, maybe related, the kodi log is quickly filled with identical messages, one per second.

type or paste2023-12-10 16:53:09.476 T:438      info <general>: CActiveAESink::OpenSink - initialize sink
2023-12-10 16:53:09.477 T:438      info <general>: CAESinkALSA::Initialize - Attempting to open device "@"
2023-12-10 16:53:09.489 T:438      info <general>: CAESinkALSA - Unable to open device "sysdefault" for playback
2023-12-10 16:53:09.491 T:438      info <general>: CAESinkALSA - Unable to open device "default" for playback
2023-12-10 16:53:09.491 T:438      info <general>: CAESinkALSA - Unable to open device "front" for playback
2023-12-10 16:53:09.492 T:438     error <general>: CAESinkALSA::Initialize - failed to initialize device "@"
2023-12-10 16:53:09.493 T:438     error <general>: CActiveAESink::OpenSink - no sink was returned
2023-12-10 16:53:09.493 T:437     error <general>: ActiveAE::InitSink - returned error
 code here

Apparently OSMC 20 requires some other settings. But which?

FWIW, this is OSMC 18 config.txt:

gpu_mem_1024=256  
hdmi_ignore_cec_init=1  
hdmi_ignore_cec=1  
hdmi_force_hotplug=1
hdmi_group=1
hdmi_mode=5
disable_overscan=1
start_x=1  
disable_splash=1
gpu_mem_256=112  
sdtv_aspect=1  
gpu_mem_512=144  
dtoverlay=lirc-rpi  
dtparam=gpio_in_pin=18  
dtparam=gpio_out_pin=17  

This is OSMC 20 config.txt:

[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

[pi02]
dtoverlay=vc4-kms-v3d,cma-256

[board-type=0x0e]
dtoverlay=vc4-kms-v3d,cma-256

and config-user.txt:

sdtv_aspect=1  
start_x=1  
hdmi_ignore_cec=1  
hdmi_force_hotplug=1  
dtoverlay=gpio-ir,gpio_pin=18

I think you will find this issue covered in the following thread…

Thanks for the pointer! It seems that copying the EDID did the trick.

1 Like