You are not logged in.

#1 2012-07-22 01:50:23

legolas558
Member
Registered: 2009-09-08
Posts: 97

ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred

When running a game in dosbox v0.74 I get many of these lines:

ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred

and NO sound mad

result of `lsmod | grep snd`:

snd_hrtimer             1700  1 
snd_seq                50881  1 
snd_seq_device          5300  1 snd_seq
snd_hda_codec_hdmi     23672  1 
snd_hda_codec_idt      55476  1 
snd_hda_intel          24053  4 
snd_hda_codec          94305  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                74958  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              18966  4 snd_hrtimer,snd_pcm,snd_seq
snd                    58997  16 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore               5410  1 snd

`lspci|grep Audio`:

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)

I have ALSA and pulse installed, but I guess here it's only about ALSA.
My .asoundrc contains only the pcm.* stanzas for skype.

Does anybody have insight in this issue?


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#2 2012-08-12 23:07:00

Lyle
Member
Registered: 2012-08-11
Posts: 14

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred

I have the same problem...

Offline

#3 2012-08-13 00:06:46

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred

legolas558 wrote:

Does anybody have insight in this issue?

It's a buffer underrun, so check your buffer, while dosbox is playing sound:

cat /proc/asound/card0/pcm0p/sub0/hw_params

As an example of explicitly specifying the ALSA buffer size, here's my ~/.asoundrc

Maybe the ALSA code within dosbox should be tweaked.

Offline

Board footer

Powered by FluxBB