03-12-2021, 02:01 AM
(03-10-2021, 09:41 AM)CoppolaVH Wrote:Regarding 24 bit output:(03-08-2021, 11:21 PM)popej Wrote: Hi!
You have to disable screen blanking to have audio on HDMI. Or you can set option in config.txt:
hdmi_blanking=0
Option "wake display on play" didn't work for me.
Hardware volume on HDMI is initially at 0, which can be a reason for no audio. Hardware volume doesn't use CEC commands, so it is probably no different than software volume. I set it to none.
Default HDMI audio is 16-bit. You can switch to vc4-kms-3d driver, but I haven't been able to configure it correctly. Maybe there is a guide for it?
Regarding your comment on vc4-kms-3d driver and default HDMI audio being 16-bit, you are correct that my 24 bit music is playing at an output rate of 16 bits, so I will dig into that next.
Encoded at 24 bit, 192 kHz, Stereo FLAC
Decoded to 24 bit, 192 kHz, Stereo, 4.846 Mbps
DestinationLocal
Output rate 16 bit, 192 kHz, Stereo, 6.144 Mbps
I too have added dtoverlay=vc4-fkms-v3d to config.txt (below), but still the pi downsamples to 16 bit as you can see above.
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=0
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=1
hdmi_mode=4
dtoverlay=vc4-fkms-v3d
#config_hdmi_boost=5
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
enable_uart=1
hdmi_enable_4kp60=1
[all]