Hi,
I have been using F8t3 with the rawhide updates for a while now, and it has mostly been a positive experience. However, pulseaudio is a source of irritation, so here are some comments.
1. I have configured seamonkey to play a sound (/usr/share/sounds/info.wav to specific) when I receive mail. Unfortunately, this makes pulseaudio loop using 99% cpu (see strace output below), and soon run out of cpu time and die.
2. pulseaudio appears to make mplayer video playback jerky. (I am using mplayer -ao oss as a workaround.)
3. ls -l /usr/bin/pulseaudio shows
-rwsr-xr-x 1 root root 49776 Oct 18 01:16 /usr/bin/pulseaudio
Why does pulseaudio run with root priviliges?! It makes me nervous...
4. Why does pulseaudio show up as "exe" in the output from top and ps?
Is this old news, or should I file a bug report somewhere?
-- Thomas H
-------------------------------------------------------------- strace output from looping pulseaudio process:
read(9, "", 2205) = 0 gettimeofday({1193352613, 627371}, NULL) = 0 poll([{fd=3, events=POLLIN}, {fd=9, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=15, events=POLLIN}, {fd=21, events=POLLIN}, {fd=26, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, events=POLLIN}, {fd=23, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=10, events=0}, {fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 14, 1765) = 1 gettimeofday({1193352613, 627487}, NULL) = 0 read(9, "", 2205) = 0 gettimeofday({1193352613, 627555}, NULL) = 0 poll([{fd=3, events=POLLIN}, {fd=9, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=15, events=POLLIN}, {fd=21, events=POLLIN}, {fd=26, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, events=POLLIN}, {fd=23, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=10, events=0}, {fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 14, 1764) = 1 gettimeofday({1193352613, 627690}, NULL) = 0 read(9, "", 2205) = 0 gettimeofday({1193352613, 627755}, NULL) = 0 poll([{fd=3, events=POLLIN}, {fd=9, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=15, events=POLLIN}, {fd=21, events=POLLIN}, {fd=26, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, events=POLLIN}, {fd=23, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=10, events=0}, {fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 14, 1764) = 1 gettimeofday({1193352613, 627866}, NULL) = 0 read(9, "", 2205) = 0 gettimeofday({1193352613, 627966}, NULL) = 0 poll({1193352613, 628523}, NULL) = 0
On Friday 2007-10-26 02:09:38 Thomas Hallgren wrote:
Hi,
I have been using F8t3 with the rawhide updates for a while now, and it has mostly been a positive experience. However, pulseaudio is a source of irritation, so here are some comments.
- I have configured seamonkey to play a sound (/usr/share/sounds/info.wav to
specific) when I receive mail. Unfortunately, this makes pulseaudio loop using 99% cpu (see strace output below), and soon run out of cpu time and die.
I saw similar behaviour a couple of times.
- pulseaudio appears to make mplayer video playback jerky. (I am using mplayer
-ao oss as a workaround.)
xine lags a lot too. Whan I hit pause the sound continues for about 0.5…1 seconds.
I removed pulseaudio*alsa* and all is back to normal.
...
Doncho N. Gunchev <gunchev <at> gmail.com> writes:
xine lags a lot too. Whan I hit pause the sound continues for about 0.5…1 seconds.
What output did you select in Xine? If it was ALSA, try again with Xine's native pulseaudio output plugin (which is in xine-lib-extras). If that works better, then please say so, because in that case we should really push for getting that moved to the main xine-lib package and used by default.
Kevin Kofler
On 10/27/07, Kevin Kofler kevin.kofler@chello.at wrote:
Doncho N. Gunchev <gunchev <at> gmail.com> writes:
xine lags a lot too. Whan I hit pause the sound continues for about 0.5…1 seconds.
What output did you select in Xine? If it was ALSA, try again with Xine's native pulseaudio output plugin (which is in xine-lib-extras). If that works better, then please say so, because in that case we should really push for getting that moved to the main xine-lib package and used by default.
there is no reason not do it.
dragoran <drago01 <at> gmail.com> writes:
What output did you select in Xine? If it was ALSA, try again with Xine's native pulseaudio output plugin (which is in xine-lib-extras). If that works better, then please say so, because in that case we should really push for getting that moved to the main xine-lib package and used by default.
there is no reason not do it.
Actually, the xine-lib maintainer said Lennart Poettering (the PulseAudio author) recommended against it because he thinks the code is not good enough quality. But if it turns out to actually work better than using the ALSA plugin, then it should be the default no matter what.
Kevin Kofler
Kevin Kofler wrote:
dragoran <drago01 <at> gmail.com> writes:
What output did you select in Xine? If it was ALSA, try again with Xine's native pulseaudio output plugin (which is in xine-lib-extras). If that works better, then please say so, because in that case we should really push for getting that moved to the main xine-lib package and used by default.
there is no reason not do it.
Actually, the xine-lib maintainer said Lennart Poettering (the PulseAudio author) recommended against it because he thinks the code is not good enough quality. But if it turns out to actually work better than using the ALSA plugin, then it should be the default no matter what.
When I use the Pulseaudio plugin in Xine it tends to become quite crash-happy. Using alsa works best for me right now but that seems to have problems with some videos too.
Regards, Dennis