Hi everyone,
I'm been through some hard times with my libreELEC installation and would like to share it with you - maybe anyone has an idea.
I've been running an older LibreELEC install for years, and finally needed an upgrade before the Superbowl, because the PVR I wanted to install wasn't compatible with my Kodi version. Long story short, in the end I missed most of the Superbowl and spent my head banging against my Raspberry Pi 4, trying to get Audio via HDMI to work, but couldn't - the speakers just remained silent.
24 frustrating hours later, I went back to Libreelec 9 which is the last version that works for me. When I upgrade to 10, I get the message that an incompatible version of config.txt was found and it will be replaced with the default - and that's where I know it's not gonna end well.
The basic symptoms are that HDMI audio just won't be recognized. With libreelec 9 and Kodi 18 I have plenty of audio options, then I need to fix config.txt and I'm good to go. With 10+19 and 11+20 there's no passthrough available, and no audio choices except for Bluetooth via PULSEAUDIO (but I don't use Bluetooth). In the current version, I could at least choose HifiBerry as output option, but there's no HDMI to choose from either.
Boot log shows this:
CAESinkALSA - Unable to open device "default" for playback
CAESinkALSA - Unable to open device "sysdefault" for playback
CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi0" for playback
CAESinkALSA - Unable to open device "hdmi:CARD=vc4hdmi0,DEV=0" for playback
CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi1" for playback
CAESinkALSA - Unable to open device "hdmi:CARD=vc4hdmi1,DEV=0" for playback
Speaker Test:
LibreELEC:~ # speaker-test -D hdmi:CARD=vc4hdmi0,DEV=0
speaker-test 1.2.11
Playback device is hdmi:CARD=vc4hdmi0,DEV=0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -524,Unknown error 524
LibreELEC:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
LibreELEC:~ # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default Audio Device
sysdefault
Default Audio Device
default:CARD=vc4hdmi0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Default Audio Device
sysdefault:CARD=vc4hdmi0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
HDMI Audio Output
default:CARD=vc4hdmi1
vc4-hdmi-1, MAI PCM i2s-hifi-0
Default Audio Device
sysdefault:CARD=vc4hdmi1
vc4-hdmi-1, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
HDMI Audio Output
To get audio to work, I think I've really done the sensible and the irrational, I've scraped the Interwebs for solutions, scraped the bottom of the barrel once again, just nothing worked. This includes:
- Tried different ports
- Got a different HDMI cable
- Libreelec 10, 11 and 12
- Tried countess configuration options.
- Tried resetting to default
...and a ton of other stuff I can't recall right now due to sleep deprivation.
For the moment, Libreelec 9 works fine with me, but for many good reasons, it would be great to run the most recent version. Any ideas what might be going on, and what I could try? Thanks!