From: Frank E. <fra...@an...> - 2010-03-30 19:40:28
|
i still see a massive drift in the logs though i disabled the tsc completely in the kernel (CONFIG_X86_TSC not set and no trace in dmesg). the system now uses hpet as clocksource. i just had a failure: this is ok: audio_out: (ao_loop:1148) gap current delay is 7807, current time is 306980191 audio_out: (ao_loop:1162) hw_vpts : 306994832 buffer_vpts : 306994795 gap : -37 this also: audio_out: (ao_loop:1148) gap current delay is 8037, current time is 306982108 audio_out: (ao_loop:1162) hw_vpts : 306997181 buffer_vpts : 306997146 gap : -35 here is the jump: audio_out: (ao_loop:1148) gap current delay is 0, current time is 307102569 audio_out: (ao_loop:1162) hw_vpts : 307102569 buffer_vpts : 306999497 gap : -103072 while the cur_time diff is usual around 1000 - 3000 it jumps in the last line by 120000 which screws the soundcard. so it's still a drift in the clocksource sinc cur_time is derived from the montonic clock.. afterwards the audio is gone.. audio_out: (ao_loop:1189) audio package (vpts = 306999497, gap = -103072) dropped audio_out: (ao_loop:1148) gap current delay is 0, current time is 307102755 Am 30.03.2010 21:24, schrieb Frank Enderle: > sorry - this i don't know.. obviously this was only part of the > problem.. i still have the same problems just not that often anymore. i > currently do further research if the problem is really related to the > monotonic clock or if it's a miscalculated delay from alsa. i'm really > running out of ideas here - so if anyone has an idea feel free to share it.. > > Am 30.03.2010 21:18, schrieb VDR User: >> Could the bug you've found be responsible for this error in xine? >> >> pcm_hw.c: snd_pcm_hw_delay() SNDRV_PCM_IOCTL_DELAY failed. >> >> Thanks > > -- Dipl.-Ing. (FH) Frank Enderle anamica UG (haftungsbeschränkt) Beinsteinerstr. 6 71334 Waiblingen Telefon: +49 151 14981091 Telefax: +49 7151 1335770 E-Mail: fra...@an... Internet: www.anamica.de Handelsregister: AG Stuttgart HRB 732357 Geschäftsführer: Yvonne Holzwarth, Frank Enderle |