Hello,
My bug is much like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=443076
I noticed a certain debug message appearing with
# xine --verbose=5
...
audio_out: inserting 7669 0-frames
...
That message appeared every now and then, whenever there was a glitch.
Exactly 2 lines of "inserting ..." per glitch.
My idea: Maybe this is a system realtime problem ?
Starting ntpd -> problem reappearing immediately after ntp considers ntp
servers valid (even if ntpd is started while xine is already playing)
Stopping ntpd, stopping time slewing with 'hwclock --hctosys' -> problem
gone immediately, even while playing.
Hwclock might play a role here because it sets /etc/adjtime to all
zeroes. I have to look into adjtime again, for I am not yet
knowledgeable about it. As long as there is nonzero content in
/etc/adjtime, the problem persists after stopping ntpd
System: Gentoo, using xine-ui 0.99.5 and xine-lib 1.1.11.1
Problem: Sound playing for 2-5 seconds, then 2-5 seconds pause, then
sound playing again for 2-5 seconds. Verry regular pattern.
Affected applications: xine-ui, amarok.
Unaffected application: mpg123 (plays fine)
Related systems: openntpd 3.9_p1 , started with 'ntpd -d -s'
My resolution: Turning off ntpd
My real problem: My system clock is going at the wrong pace, ntpd is
compensating this by slewing my system forward every 2 seconds by a tiny
amount. This seems to confuse xine-lib when playing back.
Real solution: stop ntpd and look for proper adjtime usage, then try
ntpd again, maybe.
Some more info on my config:
Hardware NVidia NForce4-4x chipset, NVidia CK804 onboard sound
(driver-wise an Intel8x0 AC97 system)
XEN 3.1.3, the affected system running as Dom0
Kernel(Dom0): Gentoo 2.6.21-xen
Kernel config:
Character Devices->
CONFIG_RTC=m
CONFIG_GEN_RTC=m
Realtime Clock->RTC Class->
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE=rtc0
CONFIG_RTC_DRV_CMOS=y
Loaded module for RTC:
genrtc
If anyone needs further info, feel free to contact me by mail:
[email protected] is working as of now ;)
HTH, MadMartin
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.