http://bugzilla.novell.com/show_bug.cgi?id=627310 http://bugzilla.novell.com/show_bug.cgi?id=627310#c0 Summary: MPlayer pause/unpause causes skipping with ALSA Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: nvbugs@hhecht.e4ward.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-0.1.1 Firefox/3.6.8 kernel-desktop-2.6.34-12.3.i586, MPlayer-1.0rc2_r30099-4.pm.10.1.i586 The card is an SBLive Value, obviously using snd_emu10k1. Sometimes, pausing and unpausing a video with MPlayer will cause the video to start skipping. Not all videos will cause this, and not every pause/unpause on a given video will exhibit the problem; it is neverthelss overall quite frequent. The audio codec doesn't seem to matter, but the audio output must be ALSA. Xine and VLC seem to work fine under all circumstances. This only seems to occur with the 11.3 kernel; the 11.2 update kernel (kernel-desktop-2.6.31.12-0.2.1.i586), even under 11.3, works fine. Pausing/unpausing gives: AUDIOOUT: alsa-pause: pause supported by hardware from MPlayer when a pause/unpause cycle will cause skipping, it produces this: [ 133.380227] ALSA pcm_lib.c:431: PCM: Lost interrupts? [Q] (stream=0, delta=17107, new_hw_ptr=661503, old_hw_ptr=644396) [ 133.380236] Pid: 1930, comm: Xorg Not tainted 2.6.34-12-desktop #1 [ 133.380239] Call Trace: [ 133.380257] [<c02065c3>] try_stack_unwind+0x173/0x190 [ 133.380264] [<c02051cf>] dump_trace+0x3f/0xe0 [ 133.380270] [<c020662b>] show_trace_log_lvl+0x4b/0x60 [ 133.380275] [<c0206658>] show_trace+0x18/0x20 [ 133.380283] [<c064d690>] dump_stack+0x6d/0x72 [ 133.380307] [<f82f00d5>] snd_pcm_update_hw_ptr0+0x445/0x5f0 [snd_pcm] [ 133.380337] [<f82f0343>] snd_pcm_period_elapsed+0xc3/0x120 [snd_pcm] [ 133.380362] [<f89c52e6>] snd_emu10k1_interrupt+0x276/0x5a0 [snd_emu10k1] [ 133.380372] [<c0294255>] handle_IRQ_event+0x45/0x180 [ 133.380378] [<c0296406>] handle_fasteoi_irq+0x66/0xe0 [ 133.380383] [<c0205185>] handle_irq+0x15/0x20 [ 133.380388] [<c0204e77>] do_IRQ+0x47/0xc0 [ 133.380393] [<c02037a9>] common_interrupt+0x29/0x30 [ 133.380419] [<b70905c2>] 0xb70905c2 after setting xrun_debug to 3, of course. It is somewhat interesting that the 11.2 kernel will also sometimes print: [ 400.819482] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/sound/core/pcm_lib.c:266: PCM: Unexpected hw_pointer value (stream=0, pos=15359, intr_ptr=113664) [ 400.819493] Pid: 3116, comm: Xorg Not tainted 2.6.31.12-0.2-desktop #1 [ 400.819497] Call Trace: [ 400.819521] [<c020845a>] try_stack_unwind+0x17a/0x1a0 [ 400.819529] [<c020708c>] dump_trace+0x6c/0x130 [ 400.819536] [<c0208008>] show_trace_log_lvl+0x58/0x80 [ 400.819542] [<c0208056>] show_trace+0x26/0x40 [ 400.819551] [<c06932eb>] dump_stack+0x79/0x91 [ 400.819581] [<f83c2e25>] snd_pcm_update_hw_ptr_interrupt+0x305/0x490 [snd_pcm] [ 400.819612] [<f83c3076>] snd_pcm_period_elapsed+0xc6/0x120 [snd_pcm] [ 400.819643] [<f84616b4>] snd_emu10k1_pcm_interrupt+0x24/0x40 [snd_emu10k1] [ 400.819661] [<f845e4c2>] snd_emu10k1_interrupt+0x272/0x5a0 [snd_emu10k1] [ 400.819672] [<c02a6814>] handle_IRQ_event+0x64/0x1e0 [ 400.819679] [<c02a8beb>] handle_fasteoi_irq+0x6b/0xe0 [ 400.819686] [<c0206c48>] handle_irq+0x28/0x50 [ 400.819692] [<c0206063>] do_IRQ+0x53/0xe0 [ 400.819699] [<c0204750>] common_interrupt+0x30/0x38 [ 400.819727] [<b708c34c>] 0xb708c34c but never skip. The code path does look a little different between .31 to .34, though I admit I don't know what it means. The only seemingly similar bugs I found were this: http://kerneltrap.org/mailarchive/linux-kernel/2009/7/18/4468690 which seems to have very similar symptoms, but should have been fixed in mainline before either of .31 or .34, if I'm reading it correctly, and: https://bugzilla.redhat.com/show_bug.cgi?id=498858 an old redhat bug. At the moment, that's all I've figured out. I don't yet know what should be happening on hardware pauses, or why the hw_pointer seems to like to skip around, or even what the consequence of that should be. Reproducible: Sometimes -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.