First of all hello to everyone I’m new to this forum!
I used retroarch/retropie before but read that the easiest way to get Retroarch running on a RPi4 is using Lakka… so I flashed the following build to my M.2 SSD and everything runs smooth except audio.
used image -> [Lakka-RPi4.aarch64-nightly-v4.x-20220711-d437ad2.img.gz]
The RPi4 is connected to my AV-Receiver and the AV-Receiver is connected to my TV.
I read a lot about setting up audio via /flash/config.txt
but with no luck so far…
What I tried so far:
get my audio devices with aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default Audio Device
sysdefault
Default Audio Device
default:CARD=vc4hdmi0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Default Audio Device
sysdefault:CARD=vc4hdmi0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
HDMI Audio Output
default:CARD=vc4hdmi1
vc4-hdmi-1, MAI PCM i2s-hifi-0
Default Audio Device
sysdefault:CARD=vc4hdmi1
vc4-hdmi-1, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
HDMI Audio Output
default:CARD=Headphones
bcm2835 Headphones, bcm2835 Headphones
Default Audio Device
sysdefault:CARD=Headphones
bcm2835 Headphones, bcm2835 Headphones
Default Audio Device
So I picked this entry
hdmi:CARD=vc4hdmi0,DEV=0
because I read HDMI audio is just available on this port (next to the USB-C power jack)
I stopped the retroarch service via
systemctl stop retroarch
then remounted the flash volume read/write and added this line at the end of config.txt
audio_device = "hdmi:CARD=vc4hdmi0,DEV=0"
and rebooted the system…
nothing changed so I tried to set the audio device via UI Settings/Audio/Output/Device
I typed in hdmi:CARD=vc4hdmi0,DEV=0
without any quotes and rebooted the device.
still no change (tested with games and with enabling menu sounds).
in UI alsathread
is selected as audiodriver, I also tried the other available options (alsa, tinyalsa, oss, null) and rebooted after every changed but I still get no audio.
Is there a known bug with RPi4 audio or am I missing something? Any help appreciated - I don’t know where to start debugging this…
cheers & thanks in advance,
Dan