"(snd_pcm_recover) underrun occured" errrors
#1
I'm trying to diagnose lockups that frequently occur while playing HD content. I'm at wits end trying to trace the problem down. Logs aren't helpful. You can see more of the problem here http://forum.xbmc.org/showthread.php?tid...ght=lockup

Perhaps an audio problem? .xsession-errors has the same error in it.

Code:
Xsession: X session started for xbmc at Sun Dec 19 12:55:08 EST 2010
ALSA lib pcm.c:7245:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7245:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7245:(snd_pcm_recover) underrun occured

My .asoundrc is here http://pastebin.com/iyRs1ZzH

Any clue if this could be the culprit?

A snippet of the .xbmc log http://pastebin.com/cwdTSYBA while opening a file that usually locks up the system. Like I said this lockup is extremely difficult to diagnose, it's sporadic in nature and locks the system which results in a reboot. System & xbmc logs are empty concerning the crash. It could be a hardware problem but it never occurs while playing SD content, only HD - so I don't really know.

Hardware:
ZBOX HD-ND02 - ZOTAC
2Gb RAM (Preformed a memtest and was ok)
32Gb SSD
HP USB MCE IR Receiver
External USB drive (formatted with ext2)

OS:
XBMCbuntu 10.04
Dharma 10 (happened with betas & rcs as well)

Thanks for any help you guys can provide.
Reply
#2
I'm experiencing the same issues here. The systems instantly crashes out of the xwindows session with the "(snd_pcm_recover) underrun occured" on the console.

I'm running on a Ubuntu Lucid machine, with a self compiled versino of XBMC versoin 10.00 (stable). But if I recall correctly the problem occurred on other version combinations as wel. My hardware is a a Asrock Ion330 box, with VDPAU enabled.

I'm (only) experiencing above issues with running streams from the "Uitzending gemist" (dutch for: missed episode) plugin "XOT-Uzg"

Codecs used in the stream:
WMAV2 2chn 44k1 16bit @128Kbps
Vc1 video 25fps 640x360 @900Kbps
VDPAU enabled

Unconfirmed/untested "solutions": (Things that might help, but might just as well be a product of my imagination..Smile)
Try playing with the audio sync settings in the settings/video/playback config menu. (ie. sync with audio/video clock etc.) And you can try to pause the video for a short while to let the audio buffers fill up completely. (AQ in the info screen)
Reply

Logout Mark Read Team Forum Stats Members Help
"(snd_pcm_recover) underrun occured" errrors0