@hunksurvivorx Agree it's something to do with the newest update. It was perfect before because I played it briefly back in july. Playing it with the latest build and the sounds is terrible and even screeching at times.
No one else? This problem persists for me regardless of what device I hook it up to. Originally it was hdmi audio but I now have it hooked up via the audio jack into an amplifier in my bartop and the same thing still happens.
@john_carter No, it's is when I enable the VMS video driver and then the audio fails to work under HDMI. I haven't seen any other reports of this.
It's a common issue, since the HDMI audio is handled by the KMS driver automatically. It's been widely reported - in fact when the KMS driver for Pi4 was announced, it was one of the changes included (see this forum post). Here in the foruns - see this topic.
After trying Bluetooth w/o success --- Does Retropie Support USB Headphones and Headsets? How does it work? I am new to Linux as well --- I am not afraid of using the command line --- I just need my handheld if needed. Thank you in advance.
There is some configuration that can be done by modifying the ALSA configuration file ($HOME/.asoundrc), but looks complicated and there's no 'one-size-fits-all' solution (depends on the devices present on the system).
You could try installing PulseAudio and configure the module-combine for simultaneous output.
// Run the omxplayer binary
execve("/usr/bin/omxplayer.bin", (char**)argv, (char**)env);
Now if you fire up ES, launch the screensaver, and take a look in the process list while its running (in ssh session, ps -ef) you'll actually see all those args, something like this in the process list:
What I noticed is the volume is set to -3885. Now if I run that on the command line to simulate the screensaver I can play with the volume. For omxplayer, volume 0 should be 100% as it's measured in millibels according to the omxplayer help.
ok great I can hear it now! I researched %vol to db and the formula is db = 20*log(%vol) and that checks out because I had es at roughly 65% volume which equates to about -3742 millibels.
So I went back into es and set the volume to 100%, and now I can finally hear it on a default RetroPie install. The issue is the drop off is really steep (must be some bug in omxplayer on pi, that their millibels to volume curve is off) because if you set the volume level at say, 60% you won't hear much of anything from the speakers. I think this is also compounded by the fact that when you're playing around with the audio settings in es, many times it resets the volume back to zero because it's trying to sync up the level with alsa.
Anyway, hope this helps someone get their head around the screensaver audio.
p.s. also, in es audio settings, make sure you set the "omx player audio device" to alsa (or whatever works on your pi, or in your command line experiments), as that drives the argument sent into omxplayer above.