(03-12-2021, 01:10 PM)popej Wrote: I don't think vc4-fkms-v3d supports audio. You still have the same drivers for HDMI, which are activated by option:
dtparam=audio=on
You should install dtoverlay=vc4-kms-v3d (or vc4-kms-v3d-pi4 in case of RPi4) and remove dtparam=audio=on. When you run alsacap or look at audio info in Moode, you should see, that HDMI audio is different.
After switching to vc4-kms-3d:
Code:pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 [MAI PCM vc4-hdmi-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@moode:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
btaplay_dmix
alsaequal
plug_alsaequal
btstream
camilladsp
crossfeed
plug_bs2b
eqfa12p
plug_eqfa12p
invpolarity
default:CARD=vc4hdmi
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Default Audio Device
sysdefault:CARD=vc4hdmi
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Default Audio Device
front:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Front speakers
iec958:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Direct sample mixing device
dsnoop:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Direct sample snooping device
hw:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Direct hardware device without any conversions
plughw:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Hardware device with all software conversions
pi@moode:~ $ alsacap
*** Scanning for playback devices ***
Card 0, ID `vc4hdmi', name `vc4-hdmi'
Device 0, ID `MAI PCM vc4-hdmi-hifi-0', name `MAI PCM vc4-hdmi-hifi-0', 1 subdevices (1 available)
Error opening sound device for card 0, device 0: Hotplug device has been removed. Skipping.
It looks a bit better if you upgrade system, at least alsacap shows devices, but mpd still can't open audio.
Yeah, I get the MPD failing to open ALSA default as well with the new treatment to config.txt:
So, I REM out those lines in config.txt and back to running same in 16 bit output.
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-kms-v3d
#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]
I am starting to consider a hardware solution that supports 24-196 multichannel. JustBoom Digi HAT for the Raspberry Pi (https://shop.justboom.co/products/justboom-digi-hat) seems like a potential.