[Bug 627310] New: MPlayer pause/unpause causes skipping with ALSA
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.
http://bugzilla.novell.com/show_bug.cgi?id=627310 http://bugzilla.novell.com/show_bug.cgi?id=627310#c1 ivan leonov <aristides@inbox.lv> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aristides@inbox.lv --- Comment #1 from ivan leonov <aristides@inbox.lv> 2010-08-10 22:30:23 UTC --- I would like to confirm that i have exactly the same problem on 64 bit platform with kernel from 11.3, sound card SB Audigy2 (emu10k1). So i am using the kernel from 11.2-update, with which this problem does not occur. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=627310 http://bugzilla.novell.com/show_bug.cgi?id=627310#c Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Kernel |Sound AssignedTo|kernel-maintainers@forge.pr |tiwai@novell.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c2 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kristjan.ugrin@gmail.com --- Comment #2 from Jiri Slaby <jslaby@novell.com> 2010-08-17 17:53:36 UTC --- *** Bug 631426 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=631426 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@novell.com See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=498858 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c3 --- Comment #3 from Takashi Iwai <tiwai@novell.com> 2010-08-18 11:55:04 UTC --- It's a known issue of emu10k1 https://bugzilla.kernel.org/show_bug.cgi?id=16300 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c4 Takashi Iwai <tiwai@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Takashi Iwai <tiwai@novell.com> 2010-08-18 13:44:11 UTC --- I backported the fix patch now to openSUSE-11.3 kernel branch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c5 --- Comment #5 from Henryk Hecht <nvbugs@hhecht.e4ward.com> 2010-08-19 00:41:26 UTC --- Will this show up in the OBS Kernel:/openSUSE-11.3/ kernel, or is there somewhere else I should look for it? And the alsa-lib patch mentioned in comment #84 of the kernel.org bug is not necessary except for applications that don't set period_size/period_time, like audacious, correct? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c6 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:35398:moderat | |e --- Comment #6 from Swamp Workflow Management <swamp@suse.com> 2010-08-24 15:23:41 UTC --- The SWAMPID for this issue is 35398. This issue was rated as moderate. Please submit fixed packages until 2010-09-07. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c7 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:35398:moderat |maint:running:35398:moderat |e |e maint:released:11.3:35403 --- Comment #7 from Swamp Workflow Management <swamp@suse.com> 2010-09-08 13:09:11 UTC --- Update released for: kernel-debug, kernel-debug-base, kernel-debug-base-debuginfo, kernel-debug-debuginfo, kernel-debug-debugsource, kernel-debug-devel, kernel-debug-devel-debuginfo, kernel-default, kernel-default-base, kernel-default-base-debuginfo, kernel-default-debuginfo, kernel-default-debugsource, kernel-default-devel, kernel-default-devel-debuginfo, kernel-desktop, kernel-desktop-base, kernel-desktop-base-debuginfo, kernel-desktop-debuginfo, kernel-desktop-debugsource, kernel-desktop-devel, kernel-desktop-devel-debuginfo, kernel-devel, kernel-ec2-devel, kernel-pae, kernel-pae-base, kernel-pae-base-debuginfo, kernel-pae-debuginfo, kernel-pae-debugsource, kernel-pae-devel, kernel-pae-devel-debuginfo, kernel-source, kernel-source-vanilla, kernel-syms, kernel-trace, kernel-trace-base, kernel-trace-base-debuginfo, kernel-trace-debuginfo, kernel-trace-debugsource, kernel-trace-devel, kernel-trace-devel-debuginfo, kernel-vanilla, kernel-vanilla-base, kernel-vanilla-base-debuginfo, kernel-vanilla-debuginfo, kernel-vanilla-debugsource, kernel-vanilla-devel, kernel-vanilla-devel-debuginfo, kernel-vmi-devel, kernel-xen, kernel-xen-base, kernel-xen-base-debuginfo, kernel-xen-debuginfo, kernel-xen-debugsource, kernel-xen-devel, kernel-xen-devel-debuginfo, preload-kmp-default, preload-kmp-desktop Products: openSUSE 11.3 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=627310 https://bugzilla.novell.com/show_bug.cgi?id=627310#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:35398:moderat |maint:released:11.3:35403 |e maint:released:11.3:35403 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627310 http://bugzilla.novell.com/show_bug.cgi?id=627310#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (627310) was mentioned in https://build.opensuse.org/request/show/46115 11.3:Test / kernel-source -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com