..:: PCSX2 Forums ::..

Full Version: [solved] Stuttering sound (ALSA underrun occurred)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using PCSX2 1.7.0-0 on Batocera Linux v31-beta.

When playing any game I get stuttering sound seeing the following messages in the emuLog.txt:

Code:
48000 SampleRate:
Opened SDL audio driver: alsa
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred

I also see the following message in the logs:

Code:
SDL audio driver configuration is invalid!
It will be replaced by pulseaudio!
Request SDL audio driver: pulseaudio

AFAIK pulseaudio is not available on Batocera Linux.

Any idea what could be wrong or has to be changed?

Thanks,
igno2k
OK, i think i fixed this.

There was a problem with my Alsa config.
In Batocera Linux I have changed the values of the file /userdata/system/.asoundrc as following:

period_size 2048
buffer_size 8192

Topic marked as solved.