[Bug 555689] New: PulseAudio introduces long lags when recording sound or using voip applications
http://bugzilla.novell.com/show_bug.cgi?id=555689 Summary: PulseAudio introduces long lags when recording sound or using voip applications Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: albert.passalacqua@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- --- Comment #0 from Alberto Passalacqua <albert.passalacqua@gmail.com> 2009-11-16 01:18:30 UTC --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 When I try to record sounds or use voip applications (ekiga, skype) through PulseAudio in GNOME I have a long lag in the recording / audio transmission process, which can become bigger than 20 seconds, making it very uncomfortable to use especially voip applications. The bug is systematic, and can be reproduced at every recording / voip call operation, independently from the application I use. I tried the sound recorder in GNOME, ekiga and skype 2.1 beta (it includes PA support without tricks). The system is an Intel Core Duo 2.2 GHz with 4GB of RAM with Intel HDA sound card. I do not have any issue with recording / using voip (I only tried the kde krecord and skype, which does not use PA there) applications on KDE. Thanks for any help. Alberto Reproducible: Always -- 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=555689 Takashi Iwai <tiwai@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@novell.com AssignedTo|tiwai@novell.com |sreeves@novell.com --- Comment #1 from Takashi Iwai <tiwai@novell.com> 2009-11-16 15:08:44 UTC --- Sounds like a generic problem with PA. Scott, any chance to take a look at this bug? -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c2 --- Comment #2 from Scott Reeves <sreeves@novell.com> 2009-12-19 18:54:03 UTC --- hmm, we don't customize any of the latency / recording configuration - we ship default upstream config files - do you have any altered config settings in /etc/pulse/*. If so could you try the upstream default ones we ship. I will look around in the upstream pulse bugs and see if anything looks helpful. Could you try running "pulseaudio -k;pulseaudio -vv" and then run skype. Do you see any useful looking debug messages when you get the lag. Just for testing purposes what happens if you run straight alsa 1. edit /etc/pulse/client.conf and set autospawn=no 2. pulseaudio -k 3. "ALSA_CONFIG_PATH= pasuspender skype" Make sure and revert this back when done testing. -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c3 --- Comment #3 from Alberto Passalacqua <albert.passalacqua@gmail.com> 2009-12-27 08:42:01 UTC --- Hi, sorry for the delay in the reply. 1) I use the standard configuration provided with OpenSUSE 11.2. I just did a fresh install to have everything clean. 2) Running Skype with pulseaudio -vv returns pulseaudio -vv I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) non riuscita: Operation not permitted I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) non riuscita: Operation not permitted D: core-rtclock.c: Timer slack is set to 50 us. I: core-util.c: Failed to acquire high-priority scheduling: Permission denied I: main.c: Questo è PulseAudio 0.9.19 D: main.c: Host di compilazione: x86_64-unknown-linux-gnu D: main.c: CFLAGS di compilazione: -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option D: main.c: In esecuzione sull'host: Linux x86_64 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 D: main.c: Trovate 2 CPU. I: main.c: La dimensione di pagina è 4096 byte D: main.c: Compilato con supporto a Valgrind: no D: main.c: In esecuzione in modalità valgrind: no D: main.c: Build ottimizzata: sì D: main.c: Tutte le dichiarazioni sono abilitate. I: main.c: L'ID della macchina è ca4e39e03ee20eec2acb78f44aef6282 I: main.c: L'ID della sessione è ca4e39e03ee20eec2acb78f44aef6282-1261861232.448946-1103016730 I: main.c: In uso directory di runtime /home/alberto/.pulse/ca4e39e03ee20eec2acb78f44aef6282-runtime. I: main.c: In uso directory di stato /home/alberto/.pulse. I: main.c: In uso directory dei moduli /usr/lib64/pulse-0.9.19/modules. I: main.c: In esecuzione in modalità sistema: no E: pid.c: Daemon already running. E: main.c: pa_pid_file_create() non riuscita. While running Skype, no messages were shown. 3) I tried to run Skype through ALSA, but with the instructions you provided I could not hear any sound. However the problem is not limited to Skype. I have the same problem with GNOME sound recorder and ekiga. Thanks, Alberto -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c4 --- Comment #4 from Scott Reeves <sreeves@novell.com> 2010-01-13 21:39:52 UTC --- (In reply to comment #3)
2) Running Skype with pulseaudio -vv returns
pulseaudio -vv E: pid.c: Daemon already running.
pulse autospawns so this just means it already restarted before you ran it manually.
While running Skype, no messages were shown.
yeah - see above comment - this instance exited because there was already one running. lets get the latency information. when you are having the delay could you run "pacmd list-sink-inputs" and paste the current and requested latency information. Also it would probably be helpful to update to the latest 0.9.21 version as it fixes several known bugs. You can grab it from multimedia:libs. -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c5 Scott Reeves <sreeves@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |albert.passalacqua@gmail.co | |m --- Comment #5 from Scott Reeves <sreeves@novell.com> 2010-03-02 00:33:19 UTC --- Pulse was not properly setting up the latency on corked streams. This is fixed and test packages are available in obs multimedia:libs. Could you try these? You need the March 1 2010 entry in the changelog - "rpm -q --changelog pulseaudio" Make sure you restart the pulse daemon after install. -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c6 Alberto Passalacqua <albert.passalacqua@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|albert.passalacqua@gmail.co | |m | --- Comment #6 from Alberto Passalacqua <albert.passalacqua@gmail.com> 2010-03-03 17:36:00 UTC --- Hi, thanks! It seems to work much better now. :-) Best, Alberto -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c7 Scott Reeves <sreeves@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |maintenance@opensuse.org --- Comment #7 from Scott Reeves <sreeves@novell.com> 2010-03-08 22:44:39 UTC --- Can I submit the pulseaudio package from multimedia:libs for an 11.2 update. The update contains a set of patches recommended by upstream and fixes among others this issue, a cpu utilization issue, and a freeze in paplay -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c8 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@novell.com --- Comment #8 from Christian Dengler <cdengler@novell.com> 2010-03-09 14:09:02 UTC --- A lot of fixes: 0033-core-Fix-macro-typo-PA_SINK_IS_LINKED-PA_SINK_.patch 0034-alsa-cover-Desktop-Speaker-mixer-elements.patch 0035-alsa-cover-Shared-Mic-Line-in-Analog-Source.patch 0036-alsa-cover-Internal-Mic-elements.patch 0037-alsa-use-default-output-port-names.patch 0038-build-sys-add-gobject-to-build-dependencies.patch 0039-padsp-emulate-dev-audio-too.patch 0040-dbus-first-restart-timer-then-dispatch-it.patch 0041-fdsem-be-more-verbose-when-reading-from-eventfd-fai.patch 0042-pacat-always-fully-fulfill-write-requests.patch 0043-pacmd-store-away-fd-type.patch 0044-pacmd-don-t-enter-busy-loop-when-reading-from-stdin.patch 0045-shm-don-t-complain-about-missing-SHM-segments.patch 0046-vala-fix-definition-of-INVALID_INDEX.patch 0047-vala-fix-definition-of-the-GLib-mainloop-adapter.patch 0048-Add-missing-profile-and-alsa-mixer-paths-to-src-Make.patch 0049-channelmap-Use-Subwoofer-as-pretty-name-for-LFE.patch 0050-vala-fix-wrapping-of-port-setting-calls.patch 0051-proplist-explicitly-mention-a-role-test.patch 0052-stream-restore-be-a-little-bit-more-verbose-why-we.patch 0053-sample-cache-use-the-sample-name-as-unmodified-fall.patch 0054-scache-when-playing-a-sample-from-the-cache-make-su.patch 0055-pacat-pass-buffer_attr-to-recording-streams-too.patch 0056-suspend-on-idle-resume-audio-device-even-for-initia.patch 0057-native-improve-logging-for-buffer_attrs.patch 0058-alsa-util-strip-spaces-from-ALSA-card-pcm-names.patch 0059-alsa-reset-max_rewind-max_request-while-suspending.patch 0060-core-util-introduce-generic-function-pa_strip.patch 0061-esd-simple-use-pa_memblockq_pop_missing.patch 0062-core-rework-how-stream-volumes-affect-sink-volumes.patch But for an upate +1 -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c9 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #9 from Marcus Meissner <meissner@novell.com> 2010-03-09 15:04:32 UTC --- as the previous was working well, i would say we can take this... +1 -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c10 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|maintenance@opensuse.org | --- Comment #10 from Ludwig Nussel <lnussel@novell.com> 2010-03-11 16:30:00 CET --- we have a (minor) security update in the queue so we'll include this in the security update -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c11 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:31878 --- Comment #11 from Swamp Workflow Management <swamp@suse.com> 2010-03-11 15:35:53 UTC --- The SWAMPID for this issue is 31878. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/31878) -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c12 Scott Reeves <sreeves@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #12 from Scott Reeves <sreeves@novell.com> 2010-03-11 18:26:01 UTC --- submitted to 11.2 update. Request #34633 -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c13 --- Comment #13 from Marcus Meissner <meissner@novell.com> 2010-03-18 12:26:35 UTC --- just released -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:31878 |. -- 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=555689 http://bugzilla.novell.com/show_bug.cgi?id=555689#c14 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|. |maint:running:31878 | |maint:released:11.2:31879 --- Comment #14 from Swamp Workflow Management <swamp@suse.com> 2010-03-18 18:10:28 UTC --- Update released for: libpulse-browse0, libpulse-browse0-debuginfo, libpulse-devel, libpulse-mainloop-glib0, libpulse-mainloop-glib0-debuginfo, libpulse0, libpulse0-debuginfo, pulseaudio, pulseaudio-debuginfo, pulseaudio-debugsource, pulseaudio-esound-compat, pulseaudio-gdm-hooks, pulseaudio-lang, pulseaudio-module-bluetooth, pulseaudio-module-bluetooth-debuginfo, pulseaudio-module-gconf, pulseaudio-module-gconf-debuginfo, pulseaudio-module-jack, pulseaudio-module-jack-debuginfo, pulseaudio-module-lirc, pulseaudio-module-lirc-debuginfo, pulseaudio-module-x11, pulseaudio-module-x11-debuginfo, pulseaudio-module-zeroconf, pulseaudio-module-zeroconf-debuginfo, pulseaudio-utils, pulseaudio-utils-debuginfo Products: openSUSE 11.2 (debug, i586, x86_64) -- 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.
participants (1)
-
bugzilla_noreply@novell.com