Revisiting this topic.
I have spent many hours over many days trying to get a Pi, any Pi, to properly output 5.1 audio via HDMI using headless plexamp. I have never gotten this to work.
I have gotten 5.1 audio out of plexamp with use of a hat, and I thank the community for their attention and help to getting that far. But I do wish to also make use of my plex library on HDMI devices as well, and this problem has been a brick wall to unleashing the true possibilities of plexamp.
I do not understand why this topic has gone ignored for so long - has no one ever made use of HDMI around here? It’s quite baffling.
I’ve played around with Pi3 and Pi4, I’ve gone around in circles with many configurations and tweakings. But the bottom line is, the only thing that I’ve gotten is that, plexamp will playback 5.1 audio content out the default audio output, which the Pi OS is configured to use the HDMI as the default, my receiver sees a 5.1 digital signal coming from the Pi, but my receiver plays back the audio with no center channel information.
I know my files are properly formatted, several other devices can play them back properly.
I know my receiver/speakers are configured properly, I can playback HDMI 5.1 audio from many other devices without issue.
I suspect plexamp is handing off proper 5.1 signal to the OS given that my Pi5 with hat is able to playback 5.1 properly, although the configuration on that device is rather specific to the hardware, so I can’t confirm that plexamp’s handling of the audio to the OS isn’t the problem.
I pushed very hard on the problem lying with Raspberry Pi’s handling of HDMI in their OS, but their people have been completely useless in troubleshooting, and are only interested in showing useless screenshots that suggest HDMI works fine, without actually addressing the details and data I’ve provided. It’s impossible to get anywhere from them because they refuse to acknowledge there’s an issue. There clearly is an issue - I playback audio, no center, that’s an issue.
So I beg of you, for the love of almighty, please someone spin up a Pi3 or Pi4 to playback 5.1 audio from plexamp out the HDMI of the Pi, and confirm there is a problem, and perhaps figure out what the next steps are to come up with a way to make this work as it should.