mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

Sound issue in Raspberry Pi's #681

Open sergiohf opened 3 years ago

sergiohf commented 3 years ago

I have 2 raspberry pi's. RPi 3 and 4. In both versions i am facing an issue with the sound that only affects attract mode (doesn't affect games or emulationstation). Since the kernel update for the RPi (from june 2020) attract mode loads with no audio and in the console shows:

AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low?

And this keep repeating every second. The installation of the Attract mode is on top a Retropie distribution, compiled from source on both Pi's. When i downgrade the kernel the issue disappear.

sergiohf commented 3 years ago

Found a solution (or workaround i dont know), if interest to anyone:

Here’s the step-by-step solution:

sudo touch ~/.alsoftrc sudo nano ~/.alsoftrc

paste this, save, exit:

[alsa] mmap = false

then:

sudo cp ~/.alsoftrc /etc/openal/alsoft.conf sudo reboot

bencrazy commented 3 years ago

Same issue and have been searching for solution for a long time! RPie 3B+ here. This worked! Thank you!

bencrazy commented 3 years ago

For what it's worth, I had same issue on RPi 4, but I feel confident this very well may have fixed the issue with the 4 as well.

Rodriguez-Marcos commented 2 years ago

gracias, me funciono (rasp 3 b+), alguna explicacion?