[Bug 700723] New: pulseaudio is run even though autospawn=no
https://bugzilla.novell.com/show_bug.cgi?id=700723 https://bugzilla.novell.com/show_bug.cgi?id=700723#c0 Summary: pulseaudio is run even though autospawn=no Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: jslaby@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- In /etc/pulse/client.conf I have: autospawn = no This is because I have a system PA daemon. (Because I want mpd and then even others to route sound through that.) But sometimes a pulseaudio process appears under normal user. Then programs using this deaemon doesn't play any sound. Mostly this is firefox (flashplugin). I don't remember such problems when I was on factory around 11.4. -- 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=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c1
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c2
Jiri Slaby
Did you run "setup-pulseaudio --disable"?
What this command will do? $ man setup-pulseaudio No manual entry for setup-pulseaudio I still do want to use PA. I just don't want user clients to start like with 11.4. Is it what it will do? -- 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=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c3
--- Comment #3 from Takashi Iwai
(In reply to comment #1)
Did you run "setup-pulseaudio --disable"?
What this command will do? $ man setup-pulseaudio No manual entry for setup-pulseaudio
Manpage? What an ancient technology :) But a contribution is always welcome.
I still do want to use PA. I just don't want user clients to start like with 11.4. Is it what it will do?
It's a script to change the setup of many applications to use or not to use PA. I guess this is what you need. PA itself still remains, so you can start it manually, and also start apps with options to use PA if possible. The PA autospawn is basically a mode to re-start itself when PA aborts or crashes. So, even with this flag set, apps may start PA automatically when they try to use PA. -- 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=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c4
--- Comment #4 from Jiri Slaby
(In reply to comment #2)
I still do want to use PA. I just don't want user clients to start like with 11.4. Is it what it will do?
It's a script to change the setup of many applications to use or not to use PA. I guess this is what you need. PA itself still remains, so you can start it manually, and also start apps with options to use PA if possible.
Hmm, no it is not what I need. Mplayer (and possibly others) doesn't work anymore: $ mplayer *.mp3 .. [AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy [AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: Device or resource busy Failed to initialize audio driver 'alsa' -- 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=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c5
--- Comment #5 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c6
--- Comment #6 from Jiri Slaby
It implies that some other apps are using the sound device without dmix.
Note again that I do want to use pulseaudio and not the HW directly (or with a help of dmix).
Check "fuser -v /dev/snd/pcmC0D0p" to see it.
# fuser -v /dev/snd/pcmC0D0p USER PID ACCESS COMMAND /dev/snd/pcmC0D0p: pulse 10051 F...m pulseaudio As expected -- the system-wide daemon which every app on my system should use.
BTW, flash itself doesn't use PA directly. It goes through PA only when alsa-plugin-pulse is installed and the setup is overridden to use this plugin. For example, GNOME assumes that the use of PA as default, thus it sets up so.
It all worked and works (I have the alsa pulse plugin). And all was fine until the big update to 12.1 factory. After that update, some process spawns (apart from the system-wide daemon above) another session-wide. -- 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=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c7
--- Comment #7 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c8
--- Comment #8 from Jiri Slaby
Ah, OK. So setup-pulseaudio --disable isn't the best choice in your case.
BTW when I ran that, it complained about missing /etc/profile.d/pulseaudio.*. It looks like after --enable the profile files appeared there. Could that affect this issue somehow? Note that I don't have the files on my 11.4 machine too. So I ran --enable there too and the files are there now. Should "setup --enable" be run automatically during PA update when PA is enabled?
Could you figure out which apps (except for flashplayer) show the problem?
I'll try to investigate. -- 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=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c9
--- Comment #9 from Jiri Slaby
The re-spawning sounds like a problem of permission or such. Otherwise apps should connect to the system-wide PA daemon primarily.
So it is spawned by *both* of scripts from pulseaudio-module-x11: /usr/bin/start-pulseaudio-kde /usr/bin/start-pulseaudio-x11 -- 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=700723
https://bugzilla.novell.com/show_bug.cgi?id=700723#c10
Jiri Slaby
participants (1)
-
bugzilla_noreply@novell.com