03-12-2021, 01:10 PM
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:
It looks a bit better if you upgrade system, at least alsacap shows devices, but mpd still can't open audio.
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.