Public bug reported: It's hard to say whether this is a bug in the kernel or Xine...
I found this bug by running Amarok and occasionally the song would speed up until the buffer ran out and would stutter briefly, then fix itself. It only happened with Amarok and would happen with any input source. Then I tried using a Xine frontend directly, since Amarok uses that as it's audio engine. This had the some problem... and with verbose mode on it'd occasionally output lines like this when the stutter happens: audio_out: inserting 7445 0-frames to fill a gap of 15218 pts I managed to find some old posts about the hw clock giving errors like this, but from ~2007. However, it did lead me to investigating the hwclock command and it's man page. Eventually I read about auto adjusting from the kernel, and tried to disable it by issuing: sudo hwclock --hctosys --utc Viola! The problem seems to have stopped. Thus, either Xine isn't handling the adjustments gracefully, or the kernel behaviour has changed somehow that breaks things. This only became a problem in the last few weeks, so I suspect one of the kernel upgrades did it (I'm afraid I'm not sure of the exact one and have already spent masses of time trying to figure out what the cause of the erratic playback was - hopefully someone with more clue about either Xine or the kernel hwclock adjustment code can enlighten me!) Xine versions: xine (X11 gui) - a free video player v0.99.6cvs. Built with xine library 1.1.16 (1.1.16.1) Found xine library version: 1.1.16 (1.1.16.3). ProblemType: Bug Architecture: amd64 DistroRelease: Ubuntu 9.04 HibernationDevice: RESUME=UUID=fc912eaf-9e22-4f67-abca-297df75de5b4 MachineType: Gigabyte Technology Co., Ltd. GA-MA78GM-S2H NonfreeKernelModules: nvidia Package: linux-image-2.6.28-15-generic 2.6.28-15.52 ProcCmdLine: root=UUID=6c71dc50-69a5-4c53-bb1b-9021d1751026 ro quiet splash ProcEnviron: PATH=(custom, user) LANG=en_NZ.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.28-15.52-generic SourcePackage: linux ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- Adjustment of hwclock breaks Xine https://bugs.launchpad.net/bugs/439738 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs