Sound sometimes shudders
#1
everything runs fine with xbmc and linux on my atv. sometime i get a short sound break and the video stops for 1/4 sec. whenever this happens i get those strange GetSpace - get space failed from alsadirecsound.

this happens with my last 2x compiled versions. no idea if it comes form svn or somewhere else.

anyone has an idea or had the same issue?

here is a part of my debug log:

current svn: 31233S

Code:
10:03:18 T:2869767056 M:110510080   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1440021677.224345, should be:1440011661.152208, error:-10016.072137
10:03:37 T:2869767056 M:110690304   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1459167908.163208, should be:1459157869.484232, error:-10038.678976
10:03:37 T:2869767056 M:110710784 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
10:03:37 T:2869767056 M:110710784   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1459449713.722232, should be:1459272000.000000, error:-177713.722232
10:04:14 T:2869767056 M:109912064   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1496564866.872000, should be:1496554831.007724, error:-10035.864276
10:06:22 T:2869767056 M:109998080   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1624576356.239724, should be:1624566302.864765, error:-10053.374959
10:06:23 T:2869767056 M:110026752 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
10:06:23 T:2869767056 M:110026752   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1625239866.592765, should be:1624680000.000000, error:-559866.592765

-andy
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#2
alsa driver is 1.0.19
nvidia driver is 100.14.19

it makes no difference if sound is played over hdmi or over analog out. it hangs Sad
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#3
Full debug log please.
Reply
#4
http://pastebin.com/F0f40GSE

several movies / recordings watched.
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#5
when looking a bit closer:
if this happens:
Code:
17:31:23 T:2925091728 M:107462656   DEBUG: CDVDPlayerAudio:: Discontinuity - was:343176124.251346, should be:343166119.181085, error:-10005.070260
17:31:23 T:2925091728 M:107462656 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
17:31:23 T:2925091728 M:107462656   DEBUG: CDVDPlayerAudio:: Discontinuity - was:343822120.766085, should be:343272356.055396, error:-549764.710689

sound and picture stops for 1/4 to 1/2 second.

this happens quite random
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#6
btw: i am playing ts files. recordings from vdr. i am not sure right now if that happens on downloaded stuff too.

need testing? need a sample?
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#7
any update bobo?
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#8
That error means there was a buffer underrun in alsa, I don't know why it happens but it's often because something else is using too many resources.
Reply
#9
humm- its an atv box and nothing else is running. only hal and dbus are running as system services. but those should not interfere with alsa. any debugging idea?
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#10
Maybe it's because of http://trac.xbmc.org/ticket/9420
Reply
#11
just compiling a new build. but i dont think it is that 9420 issue. i have that for seeral weeks now. and its not every x minutes. sometimes it is not happening for 20 minutes, then it happens every few minutes.

ill try some more stuff, and report back when i know more.
CrystalHD Installer XBMC Community Forum Thread -
Apple TV CrystalHD Installer Announcement - Broadcom CrystalHD Installer
http://www.sartori.at/ - my weblog

Sync your MAC and Google Account (+ Google Apps) - Click here for 5$ Discout

Living Room: HFX Micro black - Zotac IONITX G - Intel X25V - Hama remote
Bedroom: Linux AppleTV - CrystalHD
Reply
#12
I had the same problem since the official 9.11 release. (same errors in log).

I was using the 'stock' ALSA from Jaunty - and upgrading it to the latest alsa definitely helped - but didn't completely remove the errors.

I would be very interested in getting this issue nailed down - I have the feeling lots of people are running into this weird issue.
Reply
#13
FYI - two other (old and cold) threads I found that could relate to the same problem>>>


http://forum.xbmc.org/showthread.php?tid=56186


http://forum.xbmc.org/showthread.php?tid=59085
Reply

Logout Mark Read Team Forum Stats Members Help
Sound sometimes shudders0