Hello Nvidia team,
I have confirmed the APE sound card works find with pulsaudio.service. However, the pipewire doesn’t.
I do these steps to disable the pulseaudio and then enable the pipewire.
systemctl --user --now disable pulseaudio.service pulseaudio.socket
systemctl --user --now stop pulseaudio.service pulseaudio.socketsystemctl --user --now enable pipewire pipewire-pulse wireplumber
systemctl --user --now start pipewire pipewire-pulse wireplumber
Working:
Video of sound works
Not working:
Video of sound doesn’t work
You can see the sound bar always freeze when using pipewire. However, I can use arecord to capture my voice.
arecord -D hw:APE,0 -c 2 -r 48000 -f S16_LE -d 5 out.wav
I’m using the Jetpack 6.2 and the codec is rt5640 on our custom board. I also got some failure message from debug port.
[ 219.849458] tegra-asoc: sound: ASoC: PRE_PMU: rt5640-playback-playback event failed: -22
[ 219.874519] rt5640 0-001c: ASoC: error at snd_soc_dai_hw_params on rt5640-aif1: -22
[ 219.874535] tegra-asoc: sound: ASoC: PRE_PMU: rt5640-playback-capture event failed: -22
[ 220.554117] rt5640 0-001c: ASoC: error at snd_soc_dai_hw_params on rt5640-aif1: -22
[ 220.554133] tegra-asoc: sound: ASoC: PRE_PMU: rt5640-playback-capture event failed: -22
[ 220.769787] rt5640 0-001c: ASoC: error at snd_soc_dai_hw_params on rt5640-aif1: -22
[ 220.769804] tegra-asoc: sound: ASoC: PRE_PMU: rt5640-playback-playback event failed: -22
[ 220.790248] rt5640 0-001c: ASoC: error at snd_soc_dai_hw_params on rt5640-aif1: -22
[ 220.790258] tegra-asoc: sound: ASoC: PRE_PMU: rt5640-playback-capture event failed: -22
Do you have any idea on this problem?