Moode Forum
[PROBLEM] Getting 24 bit audio to HDMI - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: Audiophile (https://moodeaudio.org/forum/forumdisplay.php?fid=32)
+--- Forum: Sound quality (https://moodeaudio.org/forum/forumdisplay.php?fid=34)
+--- Thread: [PROBLEM] Getting 24 bit audio to HDMI (/showthread.php?tid=6105)



Getting 24 bit audio to HDMI - oomzay - 01-05-2024

My Onkyo TX-SR875 receiver is capable of 24 bit audio however "aplay" is reporting, and playing only U8 and S16_LE to it.
Code:
$ aplay -D hw:b1,0 /dev/zero --dump-hw-params
HW Params of device "hw:b1,0":
--------------------
...
FORMAT:  U8 S16_LE
...

How do I get 24 bit to the HDMI interface?

I see this in /boot/config.txt:

Code:
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1



RE: Getting 24 bit audio to HDMI - Nutul - 01-05-2024

(01-05-2024, 05:19 PM)oomzay Wrote: My Onkyo TX-SR875 receiver is capable of 24 bit audio however "aplay" is reporting, and playing only U8 and S16_LE to it.
Code:
$ aplay -D hw:b1,0 /dev/zero --dump-hw-params
HW Params of device "hw:b1,0":
--------------------
...
FORMAT:  U8 S16_LE
...

How do I get 24 bit to the HDMI interface?

I see this in /boot/config.txt:

Code:
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1

Searching the web lead me here. You may want to read from the marked post downwards; it seems to be resolved applying what writes there... (I didn't follow the links with the possible solution, though)

https://github.com/raspberrypi/linux/issues/4204#issuecomment-1065892284


RE: Getting 24 bit audio to HDMI - oomzay - 01-05-2024

@Nutul, Thanks. I found that article too, but was secretly, really, really hoping there was a simpler answer because much of it is maamajumbo to me at this point! I will go back there if no simpler/more contemporary solution shows up before long.


RE: Getting 24 bit audio to HDMI - Nutul - 01-05-2024

(01-05-2024, 08:08 PM)oomzay Wrote: @Nutul, Thanks. I found that article too, but was secretly, really, really hoping there was a simpler answer because much of it is maamajumbo to me at this point! I will go back there if no simpler/more contemporary solution shows up before long.

Since that solution comes from people messing around with Raspi OS I doubt there is a "simpler" solution...


RE: Getting 24 bit audio to HDMI - Tim Curtis - 01-05-2024

AFAIK the HDMI implementation on RaspiOS Bullseye only supports 16/48.

On Pi5/Bookworm using an HDMI connection to my Yammy AVR and running the ALSA speaker-test utility it looks like up to 8 channels at 24/192K is supported although the exact bit depth is not reported in ALSA hw_params, instead it lists:


Code:
format: IEC958_SUBFRAME_LE
subformat: STD



RE: Getting 24 bit audio to HDMI - oomzay - 01-11-2024

Thanks for the tips. I am now playing with bookworm to see if that solves 24bit audio/HDMI.

I don't know if REW (electrical-level) testing would measure the difference objectively but I will report back once I receive second-hand Onkyo TX-NR905 AVR which has an audio format display that I can hopefully trust. (as well as an extra 10W/per channel, which the various Linn speakers I have just eat for breakfast Wink