Hi all,
I'm running LE 9.2.8 on a Pi 2 and with this setup I am able to fix an issue with my TV/Soundbar by providing a custom EDID file, which is what I do since I started using LE with my Soundbar in 2017.
I decided to upgrade so I bought a Pi 4 and installed LE 10.0.1 using the LibreELEC USB-SD Creator.
Setup:
Pi -> Teufel Cinebar 11 2.1 Soundbar+Subwoofer -> Sony Bravia KDL 42W655A
Goal:
Use Kodi Audio setting "Optimized" to be able to use passthrough and have Dolby and DTS decoded by the soundbar.
Issue:
My TV/Soundbar is claiming to support 44.1 kHz sample rate but produces white noise if used with 44.1 kHz.
Diagnosed in Kodi itself using Audio setting "Fixed", which gives me clear sound except when setting sample rate fixed to 44.1 kHz.
So with Audio set to "Optimized" I get constant white noise while navigating Kodi UI. White noise is gone during playback of music or video.
Solution working so far on Pi 2 running LE 9.2.8:
Grabbed the EDID file with tvservice -d edid.dat, removed the reported 32 and 44.1 kHz sample rates leaving only 48 kHz in the EDID file, put that file in /flash and set hdmi_edid_file=1 in /flash/config.txt.
I understand the solution can't be carried over to the Pi 4 running LE 10.0.1 by doing the same steps as described above, because that hdmi setting in config.txt is not supported anymore. So I tried to reproduce the steps in a Pi 4 / LE 10.0.1 compatible way.
What I did so far on Pi 4 running LE 10.0.1:
Installed LE 10.0.1 on a fresh SD card, plugged it into a Pi 4 connected to my Soundbar using the Pi's HDMI port labelled HDMI 0 on the board (the one closer to the USB-C power input).
SSHed into LE and executed getedid create.
Replaced edid-HDMI-A-1.bin in /storage/.config/firmware/edid/ with my custom file (keeping the name edid-HDMI-A-1.bin).
Replaced edid-HDMI-A-1.bin contained in the edid.cpio archive with my custom file (again keeping the name edid-HDMI-A-1.bin).
Rebooted.
I assume the edid should have been picked up that way, but the white noise is still there.
Attached you can find my edid-HDMI-A-1.bin.zip which has exactly the same contens as the EDID file on my Pi 2, where things work as expected.
Here is the debug log output: http://ix.io/3FbV
It shows among other edid related things that loading the provided firmware failed with error -2.
I have no idea what that error means and where to find related documentation that could explain the error and how to fix it.
Guessing the edid file itself is fine based on the fact that edid-decode is happy to output what I would expect.
I'm at a loss here with no documentation on how to customize the edid file for a Raspberry Pi.
Wasn't able to find anything similar in this forum either.
Removing the 44.1 kHz sample rate from the EDID file and have that EDID file be picked up by LE is the only approach I know to fix my specific problem.
However, I'm open to other approaches as long as I can get rid of the white noise in the UI while being able to use passthrough.
Any help is greatly appreciated!
Thanks in advance!