[Bug 631319] New: intel_hda: sound stutters, aplay buffer underruns, alsa wakes for no reason
http://bugzilla.novell.com/show_bug.cgi?id=631319 http://bugzilla.novell.com/show_bug.cgi?id=631319#c0 Summary: intel_hda: sound stutters, aplay buffer underruns, alsa wakes for no reason Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: jslaby@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=383026) --> (http://bugzilla.novell.com/attachment.cgi?id=383026) pulseaudio -v output I have the three issues in summary, but I don't know if they are relative to each other. When I run wine, the sound played in games stutter and effects are played with delays. If I try to play with aplay, sometimes I get underruns like: underrun!!! (at least 494,491 ms long) Status: state : XRUN trigger_time: 1281894363.393273000 tstamp : 0.000000 delay : 0 avail : 5482 avail_max : 22050 underrun!!! (at least 495,794 ms long) Status: state : XRUN trigger_time: 1281894363.896136000 tstamp : 0.000000 delay : 0 avail : 5482 avail_max : 22050 underrun!!! (at least 493,886 ms long) Status: state : XRUN trigger_time: 1281894364.401600000 tstamp : 0.000000 delay : 0 avail : 5482 avail_max : 22050 Dmesgs says: [60023.911007] CE: hpet increased min_delta_ns to 128142 nsec [60026.921175] CE: hpet increased min_delta_ns to 192213 nsec [60076.712008] pulseaudio[13943]: segfault at 7f8e06c3f110 ip 00007f8e06c3f110 sp 00007fffc1e07c18 error 4 in pulse-shm-492800760[7f8e07265000+4001000] [61486.633938] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj. [61656.184323] hrtimer: interrupt took 3104637 ns pulseaudio sometimes says: ALSA woke us up to write new data to the device, but there was actually nothing to write! I have it only in Czech from logs: alsa-sink.c: ALSA nás probudila z důvodu zápisu nových dat na zařízení, ale ve skutečnosti nebylo co zapisovat. alsa-sink.c: S největší pravděpodobností se jedná o chybu v ovladači ALSA "snd_hda_intel". Nahlaste prosím tento problém vývojářům ALSA. alsa-sink.c: Probudilo nás nastavení POLLOUT - nicméně následné snd_pcm_avail() vrátilo 0 či jinou hodnotu < min_avail. ratelimit.c: 60 events suppressed ratelimit.c: 30 events suppressed This was 3 seconds after "IRQ timing workaround" was activated above. Then there are hundreds of "events suppressed" All the other information are hopefully in alsa-info: http://www.alsa-project.org/db/?f=2b8f40d47bc5a0ba3499ab5fdf2d8aa8ebe980f8 Note that there is PA: Running - No, but the info was probably taken while the PA process was not alive. -- 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=631319 http://bugzilla.novell.com/show_bug.cgi?id=631319#c1 --- Comment #1 from Jiri Slaby <jslaby@novell.com> 2010-08-15 18:22:41 UTC --- (In reply to comment #0)
When I run wine, the sound played in games stutter and effects are played with delays.
Note that this happens with $ unset ALSA_CONFIG_PATH $ wine game.exe too. I.e. when wine uses ALSA (/dev/snd/*) directly. -- 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=631319 http://bugzilla.novell.com/show_bug.cgi?id=631319#c2 Takashi Iwai <tiwai@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jslaby@novell.com --- Comment #2 from Takashi Iwai <tiwai@novell.com> 2010-08-16 06:33:40 UTC --- Possibly due to the recent change of PCM core to check the buffer updating in a more strict manner. I don't know which messages are suppressed. The BDL workaround warning is shown only once, and the others are from PulseAudio. Any change if you set 4 to xrun_debug proc file? # echo 4 > /proc/asound/card0/pcm0p/xrun_debug -- 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=631319 http://bugzilla.novell.com/show_bug.cgi?id=631319#c3 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jslaby@novell.com | --- Comment #3 from Jiri Slaby <jslaby@novell.com> 2010-08-16 07:30:01 UTC --- (In reply to comment #2)
Possibly due to the recent change of PCM core to check the buffer updating in a more strict manner.
I can't say whether this is a regression. It might be possible. I'm encountering the problems for several months already (post-11.2 vanillas and then factory to 11.3 kernels).
I don't know which messages are suppressed. The BDL workaround warning is shown only once, and the others are from PulseAudio.
Sorry for the confusion, the ratelimit messages are from PA. And follows the POLLOUT error.
# echo 4 > /proc/asound/card0/pcm0p/xrun_debug
If I do this, the sound is OK. The background music is played well. There is a problem when music is mixed with an audio effect. Then I hear a scramble rather than the effect while the music is still playing. But this is a separate issue, I guess. -- 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=631319 https://bugzilla.novell.com/show_bug.cgi?id=631319#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 11:50:43 UTC --- OK, I set now xrun_debug default to 4 for openSUSE-11.3. This shouldn't be needed ideally, but ALSA driver in 2.6.34 kernel seems too strict for some environment. -- 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=631319 https://bugzilla.novell.com/show_bug.cgi?id=631319#c5 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:35398:moderat | |e --- Comment #5 from Swamp Workflow Management <swamp@suse.com> 2010-08-24 15:23:47 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=631319 https://bugzilla.novell.com/show_bug.cgi?id=631319#c6 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 #6 from Swamp Workflow Management <swamp@suse.com> 2010-09-08 13:09:22 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=631319 https://bugzilla.novell.com/show_bug.cgi?id=631319#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=631319 http://bugzilla.novell.com/show_bug.cgi?id=631319#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (631319) 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