[Bug 456802] New: pulseaudio logging out of control.
https://bugzilla.novell.com/show_bug.cgi?id=456802 Summary: pulseaudio logging out of control. Product: openSUSE 11.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: bwhiteley@novell.com QAContact: qa@suse.de Found By: Development I observed my disk grinding nonstop, and eventually tracked it down to this: The following lines are logged to /var/log/messages and /var/log/warn at a rate of about 40 lines per second: Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: Got POLLERR from ALSA Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: PCM state is RUNNING Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: Got POLLERR from ALSA Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: PCM state is RUNNING Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: Got POLLERR from ALSA Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: PCM state is RUNNING Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: Got POLLERR from ALSA Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: PCM state is RUNNING Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: Got POLLERR from ALSA Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: PCM state is RUNNING Dec 5 09:01:06 lap pulseaudio[3626]: alsa-util.c: Got POLLERR from ALSA .. I killed and restarted pulseaudio, and the problem stopped. -- 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=456802 Takashi Iwai <tiwai@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@novell.com AssignedTo|tiwai@novell.com |rodrigo@novell.com -- 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=456802 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER- -- 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=456802 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c1 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |bwhiteley@novell.com --- Comment #1 from Rodrigo Moya <rodrigo@novell.com> 2008-12-08 07:53:04 MST --- Can you replicate this? If so, please get a strace of pulseaudio: $ strace -f -ttt -o /tmp/strace-log -s 4096 -p <pid_of_pulseaudio_daemon> and attach /tmp/strace-log to this bug please -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c2 --- Comment #2 from Bart Whiteley <bwhiteley@novell.com> 2008-12-19 18:58:22 MST --- Created an attachment (id=261532) --> (https://bugzilla.novell.com/attachment.cgi?id=261532) strace output I can't reproduce it at will, but it did happen again with 11.1 GM. I attached the strace log. This time it stopped on its own after a while. -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c3 Bart Whiteley <bwhiteley@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|bwhiteley@novell.com | --- Comment #3 from Bart Whiteley <bwhiteley@novell.com> 2008-12-19 19:03:30 MST --- Both times that I've experienced this it was right after resuming from s2ram. Syslog indicates that the problem started immediately after resuming, and occurred for just under 5 minutes before stopping on its own. -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c4 --- Comment #4 from Bart Whiteley <bwhiteley@novell.com> 2008-12-22 23:13:09 MST --- Created an attachment (id=262172) --> (https://bugzilla.novell.com/attachment.cgi?id=262172) more strace output It's happening again. I had to kill it this time to get it to stop. -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c5 --- Comment #5 from Bart Whiteley <bwhiteley@novell.com> 2008-12-24 16:39:05 MST --- Created an attachment (id=262416) --> (https://bugzilla.novell.com/attachment.cgi?id=262416) another strace log Still happening. Please fix it. -- 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=456802 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c6 --- Comment #6 from Bart Whiteley <bwhiteley@novell.com> 2009-01-15 12:45:15 MST --- This happens nearly every time I resume from s2ram. Any workarounds? -- 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=456802 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c7 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #7 from Rodrigo Moya <rodrigo@novell.com> 2009-01-16 05:04:46 MST --- I'm building a package with some upstream fixes in http://download.opensuse.org/repositories/home:/rodrigomoya:/branches:/GNOME... As soon as it's built, I'll poke you to test it -- 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=456802 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c8 --- Comment #8 from Rodrigo Moya <rodrigo@novell.com> 2009-01-16 17:15:18 MST --- Packages ready at http://download.opensuse.org/repositories/home:/rodrigomoya:/branches:/GNOME... please test -- 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=456802 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c9 Oliver Neukum <oneukum@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oneukum@novell.com --- Comment #9 from Oliver Neukum <oneukum@novell.com> 2009-01-17 13:58:01 MST --- Which of these packages are necessary for testing? -- 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=456802 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c10 --- Comment #10 from Rodrigo Moya <rodrigo@novell.com> 2009-01-19 02:49:53 MST --- the *pulse* ones, that is pulseaudio-* and libpulse* -- 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=456802 User tiwai@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c11 --- Comment #11 from Takashi Iwai <tiwai@novell.com> 2009-01-19 06:34:22 MST --- *** Bug 466923 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=466923 -- 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=456802 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c12 --- Comment #12 from Oliver Neukum <oneukum@novell.com> 2009-01-19 06:59:23 MST --- They do not solve the problem: Jan 19 13:56:21 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLERR from ALSA Jan 19 13:56:21 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLOUT from ALSA Jan 19 13:56:21 vanamonde pulseaudio[4414]: alsa-util.c: PCM state is RUNNING Jan 19 13:56:21 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLERR from ALSA Jan 19 13:56:21 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLOUT from ALSA Jan 19 13:56:21 vanamonde pulseaudio[4414]: alsa-util.c: PCM state is RUNNING Jan 19 13:56:21 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLERR from ALSA Jan 19 13:56:22 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLOUT from ALSA Jan 19 13:56:22 vanamonde pulseaudio[4414]: alsa-util.c: PCM state is RUNNING Jan 19 13:56:22 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLERR from ALSA Jan 19 13:56:22 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLOUT from ALSA Jan 19 13:56:22 vanamonde pulseaudio[4414]: alsa-util.c: PCM state is RUNNING Jan 19 13:56:22 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLERR from ALSA Jan 19 13:56:23 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLOUT from ALSA Jan 19 13:56:23 vanamonde pulseaudio[4414]: alsa-util.c: PCM state is RUNNING Jan 19 13:56:23 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLERR from ALSA Jan 19 13:56:23 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLOUT from ALSA Jan 19 13:56:23 vanamonde pulseaudio[4414]: alsa-util.c: PCM state is RUNNING Jan 19 13:56:23 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLERR from ALSA Jan 19 13:56:24 vanamonde pulseaudio[4414]: alsa-util.c: Got POLLOUT from ALSA Jan 19 13:56:24 vanamonde pulseaudio[4414]: alsa-util.c: PCM state is RUNNING -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c13 --- Comment #13 from Bart Whiteley <bwhiteley@novell.com> 2009-01-21 09:15:48 MST --- I also can confirm that the packages from comment #8 do not fix the problem. -- 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=456802 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c14 --- Comment #14 from Oliver Neukum <oneukum@novell.com> 2009-01-22 01:49:57 MST --- A closer look reveals that the problem starts during suspension. It merely continues after resumption. Jan 22 09:40:14 vanamonde kernel: PM: Syncing filesystems ... done. Jan 22 09:40:24 vanamonde pulseaudio[4406]: alsa-util.c: Got POLLERR from ALSA Jan 22 09:40:24 vanamonde pulseaudio[4406]: alsa-util.c: Got POLLOUT from ALSA Jan 22 09:40:24 vanamonde pulseaudio[4406]: alsa-util.c: PCM state is SUSPENDED Jan 22 09:40:24 vanamonde kernel: Freezing user space processes ... (elapsed 0.03 seconds) done. Jan 22 09:40:24 vanamonde kernel: Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. -- 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=456802 Stefan Behlert <behlert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |pulseaudio -- 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=456802 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c15 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |tiwai@novell.com AssignedTo|rodrigo@novell.com |sreeves@novell.com --- Comment #15 from JP Rosevear <jpr@novell.com> 2009-02-12 11:21:57 MST --- It looks like this may happen if you are playing something via alsa when you suspend. This is: http://pulseaudio.org/ticket/265 Takeshi, maybe you can decipher Lennart for us? -- 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=456802 User tiwai@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c16 Takashi Iwai <tiwai@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|tiwai@novell.com | --- Comment #16 from Takashi Iwai <tiwai@novell.com> 2009-02-20 01:05:33 MST --- The messages in comment #14 is pretty normal and it's no error. The poll returns with an error because it's suspended. PA spews simply too many chats. The problem is rather the endless messages even in the "RUNNING" state like in comment #12. Any reliable way to reproduce this? Of course, it might be tied with the hardware... -- 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=456802 User sreeves@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c17 Scott Reeves <sreeves@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |bwhiteley@novell.com --- Comment #17 from Scott Reeves <sreeves@novell.com> 2009-03-04 18:22:53 MST --- Looking at the git commit history for that file there have been multiple improvements in handling errors or better logging if not handled. I have an upgraded pulseaudio 0.9.14 (plus some selective patches). Could you try updating to this version and then testing to see if the problem still occurs. There are 2 different 0.9.14 options available, the stock mode and a glitch_free_disabled mode (glitch_free is a pulseaudio feature we are currently shipping but that causes problems with some sound drivers). Could you try the stock mode first and if you still see the problem then try the glitch_free_disabled mode. The rpms are at stock mode - http://www.gnome.org/~sreeves/openSUSE_11.1/pulse/ GF_disabled - http://www.gnome.org/~sreeves/openSUSE_11.1/pulse_GF_disabled/ You can easily upgrade from 0.9.12 to 0.9.14 with the following steps 1. sudo zypper addrepo http://www.gnome.org/~sreeves/openSUSE_11.1/pulse/ pulse_repo 2. sudo zypper refresh -f pulse_repo 3. sudo zypper up --force-resolution -r pulse_repo pulseaudio libpulse0 You can switch between the stock and GF_disabled mode by installing the respective rpms or the only difference between the stock and GF_disabled rpms is the change of the line load-module module-hal-detect to load-module module-hal-detect tsched=0 in the /etc/pulse/default.pa and /etc/pulse/system.pa files Make sure after any changes you stop any playing sound to free the devices, and kill the pulseaudio daemon (pulseaudio –kill) so it will reload with the new settings. When you report any results make sure and specify what version and mode you were running. Thanks. -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c18 Bart Whiteley <bwhiteley@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|bwhiteley@novell.com | --- Comment #18 from Bart Whiteley <bwhiteley@novell.com> 2009-03-05 10:19:39 MST --- I can't get sound to work with the new packages. Everything seems like it should work. For example, in the volume control, I see the various apps that should be emitting sound. However, no sound comes from the speakers. -- 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=456802 User kcbi@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c19 Kecheng Bi <kcbi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kcbi@novell.com --- Comment #19 from Kecheng Bi <kcbi@novell.com> 2009-03-20 03:06:12 MST --- I try the new packages in both the stock and GF_disabled mode, nothing can be heard when play a mp3 file with banshee. -- 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=456802 User bwhiteley@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456802#c20 --- Comment #20 from Bart Whiteley <bwhiteley@novell.com> 2009-03-20 10:06:10 MST --- I was able to get the test packages to work with Scott's help. Try killing pulseaudio, and then moving or removing ~/.pulse. Then restart pulseaudio. Alternatively, run 'pavucontrol' (or double-click the volume applet in the panel). Go to Output Devices. If two are listed, try switching which one is set to default. I haven't seen the logging problem since switching to the new packages. -- 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.
participants (1)
-
bugzilla_noreply@novell.com