Arthur Marsh wrote, on 06/02/11 12:08: > Arthur Marsh wrote, on 05/02/11 17:30: >> Hi, I've had problems lately with recent kernels 2.6.37 and later, but >> haven't been able to pinpoint a specific change with git-bisect. >> >> MIDI playback either through xmms or aplaymidi won't keep regular time, >> sounding weird going faster and slower under any kind of system load >> except when nothing else is running. >> >> My alsa-info.sh results are at >> >> http://www.alsa-project.org >> /db/?f=e6a1108957098461ebbca54cc342f616b03b12df >> >> Has anyone experienced this kind of problem? >> >> Arthur. > > Earlier, Takashi Iwai suggested: > > Well, it implies that hrtimer is broken on your hardware. > > Just add a module option timer_limit=3 to snd-timer, i.e. adding a file > containing below to /etc/modprobe.d/*. > > options snd-timer timer_limit=3 > > > so I modified my /etc/modprobe.d/sound.conf to include: > > "options snd-timer timer_limit=3" as below: > > alias snd-card-0 snd-emu10k1 > options snd-emu10k1 index=0 > options snd-timer timer_limit=3 > > The problem still appears to be persisting, so I might try: > > options snd-timer timer_limit=2 I've since upgraded to ALSA 1.0.24 (no change), then tried setting timer_limit=2 (no change), then tried setting timer_limit=1 (better, but some slow downs like when trying to bring up a window to compose this message, or running aptitude -u). Current alsa-info.sh output is at: http://www.alsa-project.org/db/?f=32eda5c522289fb30ef704fe73efa68314ce91d3 $ cat /proc/asound/timers G0: system timer : 4000.000us (10000000 ticks) Client sequencer queue 0 : running C0-0: EMU10K1 timer : 20.833us (1024 ticks) P0-0-0: PCM playback 0-0-0 : SLAVE P0-0-1: PCM capture 0-0-1 : SLAVE P0-0-2: PCM playback 0-0-2 : SLAVE P0-0-4: PCM playback 0-0-4 : SLAVE P0-0-6: PCM playback 0-0-6 : SLAVE P0-0-8: PCM playback 0-0-8 : SLAVE P0-0-10: PCM playback 0-0-10 : SLAVE P0-0-12: PCM playback 0-0-12 : SLAVE P0-0-14: PCM playback 0-0-14 : SLAVE P0-0-16: PCM playback 0-0-16 : SLAVE P0-0-18: PCM playback 0-0-18 : SLAVE P0-0-20: PCM playback 0-0-20 : SLAVE P0-0-22: PCM playback 0-0-22 : SLAVE P0-0-24: PCM playback 0-0-24 : SLAVE P0-0-26: PCM playback 0-0-26 : SLAVE P0-0-28: PCM playback 0-0-28 : SLAVE P0-0-30: PCM playback 0-0-30 : SLAVE P0-0-32: PCM playback 0-0-32 : SLAVE P0-0-34: PCM playback 0-0-34 : SLAVE P0-0-36: PCM playback 0-0-36 : SLAVE P0-0-38: PCM playback 0-0-38 : SLAVE P0-0-40: PCM playback 0-0-40 : SLAVE P0-0-42: PCM playback 0-0-42 : SLAVE P0-0-44: PCM playback 0-0-44 : SLAVE P0-0-46: PCM playback 0-0-46 : SLAVE P0-0-48: PCM playback 0-0-48 : SLAVE P0-0-50: PCM playback 0-0-50 : SLAVE P0-0-52: PCM playback 0-0-52 : SLAVE P0-0-54: PCM playback 0-0-54 : SLAVE P0-0-56: PCM playback 0-0-56 : SLAVE P0-0-58: PCM playback 0-0-58 : SLAVE P0-0-60: PCM playback 0-0-60 : SLAVE P0-0-62: PCM playback 0-0-62 : SLAVE P0-1-1: PCM capture 0-1-1 : SLAVE P0-2-0: PCM playback 0-2-0 : SLAVE P0-2-1: PCM capture 0-2-1 : SLAVE P0-2-2: PCM playback 0-2-2 : SLAVE P0-2-4: PCM playback 0-2-4 : SLAVE P0-2-6: PCM playback 0-2-6 : SLAVE P0-2-8: PCM playback 0-2-8 : SLAVE P0-2-10: PCM playback 0-2-10 : SLAVE P0-2-12: PCM playback 0-2-12 : SLAVE P0-2-14: PCM playback 0-2-14 : SLAVE P0-3-0: PCM playback 0-3-0 : SLAVE P0-4-0: PCM playback 0-4-0 : SLAVE P0-4-1: PCM capture 0-4-1 : SLAVE $ cat /proc/asound/seq/timer Timer for queue 0 : system timer Period time : 0.004000000 Skew : 65536 / 65536 Any suggestions welcome. Arthur. ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user