Can't get audio over HDMI on rpi #1847
Replies: 6 comments 8 replies
-
Thanks for the post. Would this discussion be relevant at all? Also, just wondering if the device you plug in to the HDMI port has changed at all? |
Beta Was this translation helpful? Give feedback.
-
Apologies, I missed this. Let me come back on this. |
Beta Was this translation helpful? Give feedback.
-
Thanks again for the reminder. (Some time ago, possibly a year or so, it seems as if drivers were changed -- e.g. see a discussion here -- and this may be the cause of the difficulty.) So, just playing about with a Raspberry Pi 3B on the latest version of Raspberry Pi OS.
Now, if a HDMI cable is plugged into the Pi and connected at the other end to the output device (e.g. a TV) with is switched on, then by substituting If the HDMI cable is disconnected, it stops working. When plugged back in, it takes a few seconds for it to be recognised and it works again. Would you be kind enough to try that and see if it works, please? You should set the I'm afraid the In my case, it reports the the HDMI output a suitable mixer called |
Beta Was this translation helpful? Give feedback.
-
So I just pushed an update to |
Beta Was this translation helpful? Give feedback.
-
Thank you! I will test it out and report back. |
Beta Was this translation helpful? Give feedback.
-
Nothing was working to get HDMI Audio Output to work on my raspberry pi 4 with the docker options. So I investigated on system level to see if the HDMI audio output was possible. I made changes to the /boot/config.txt as mentioned here: Enable HDMI Sound
I used this command, my HDMI is connected to the second port: |
Beta Was this translation helpful? Give feedback.
-
I want to run shairport-sync on an rpi 3B and output the audio over HDMI.
I have tried for so long to solve this, but I am at the end of my rope. Can anyone help?
My RPi 3B has been running shairport-sync for many years. At one point something broke in an update and shairport-sync became unstable. It would play audio but crash after a short time whenever I tried to use it. I did a clean install of the OS, switching to a lite version with no desktop, and ALSA as the backend. Shairport-sync works fine over the headphone jack, but when I switch to HDMI it refuses to work. Speakertest and mpv both successfully output over HDMI, so it is not a problem with the hardware or signal chain.
Shairport-sync over HDMI starts and runs, but as soon as I connect from a source device, the process crashes.
Verbose output of the failure:
sps-alsa-explorer tells me:
This seems significant... but in all my searching, I only find dead ends.
shairport-sync -V
Other details:
Raspberry Pi 3B
Raspberry Pi OS (Legacy) Lite - Bullseye
HDMI
ALSA
Beta Was this translation helpful? Give feedback.
All reactions