pulseaudio cannot be removed or disabled without affecting application performance

Bug #369762 reported by Susan Cragin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: pulseaudio

I can work with pulseaudio either removed or suspended, and have tried both.
My preferred method is purge because I use speech recognition software through wine.
For a couple of weeks, pulseaudio has not removed itself properly, making all my audio applications -- not just those that run in wine -- misbehave.

Example:
I turn on Audacity (the Linux version) and select one of my alsa soundcards, either onboard or USB.
I hit the record key.
Recording is faint and one-channel, but there is recording.
I stop recording.
I start it again.
The program freezes.

This is a severe problem for me right now because I rely on Dragon NaturallySpeaking running through wine. It also affects every gamer whose game requires sound input.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 369762] [NEW] pulseaudio cannot be removed or disabled

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  status invalid
  done

On Thu, 30 Apr 2009, Susan Cragin wrote:

> I can work with pulseaudio either removed or suspended, and have tried both.
> My preferred method is purge because I use speech recognition software through wine.
> For a couple of weeks, pulseaudio has not removed itself properly, making all my audio applications -- not just those that run in wine -- misbehave.

There's actually no need to purge any of the pulseaudio packages. Here's
how to disable it from a fresh Jaunty install:

1) Edit /etc/pulse/client.conf, and change "autospawn = yes" to "autospawn
= no"
2) `touch $HOME/.pulse_a11y_nostart'
3) `asoundconf list'
4) choose the desired card from the previous command's output, and use
`asoundconf set-default-card CARD', replacing CARD as appropriate
5) `killall pulseaudio'

I agree that the process is unintuitive.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJ+bade9GwFciKvaMRAl7IAKCw/vgDWQHDAMRibK9CpDhxtNymWgCfZvwB
+osbpHrD1G8evjNS68irlR8=
=AX6W
-----END PGP SIGNATURE-----

Changed in pulseaudio (Ubuntu):
status: New → Invalid
Revision history for this message
Susan Cragin (susancragin) wrote : Re: pulseaudio cannot be removed or disabled

Your suggested directions are not only entirely unintuitive, step 2 didn't work.

(2) The touch command did not work. "No such file." And a visual search of my home/susan hidden files disclosed no ".pulse_ally_nostart file or similar.

(1) (3) (4) (5) worked.

Just to test, I did try running my programs in wine.
There was no change in their non-functionality.

Revision history for this message
Susan Cragin (susancragin) wrote :

The title for this bug should be "pulseaudio cannot be removed, disabled, suspended, killed, etc. without impairing functionality in programs that cannot work with pulseaudio, such as wine.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 369762] Re: pulseaudio cannot be removed or disabled

On 4/30/09, Susan Cragin <email address hidden> wrote:
> Your suggested directions are not only entirely unintuitive, step 2
> didn't work.
>
> (2) The touch command did not work. "No such file." And a visual search
> of my home/susan hidden files disclosed no ".pulse_ally_nostart file or
> similar.

Unless you're passing -c to touch, touch should *not* fail upon
invocation. What is the precise command you used?

You could also use:
echo something > $HOME/.pulse_a11y_nostart
as your normal, unprivileged user.

Please note that's a-one-one-why (for accessibility), not a-el-el-why.

The file does not exist by default, hence why you would want to create it.

Revision history for this message
Daniel T Chen (crimsun) wrote :

On 4/30/09, Susan Cragin <email address hidden> wrote:
> The title for this bug should be "pulseaudio cannot be removed,
> disabled, suspended, killed, etc. without impairing functionality in
> programs that cannot work with pulseaudio, such as wine.

You are free to modify the title of the bug report.

summary: - pulseaudio cannot be removed or disabled
+ pulseaudio cannot be removed or disabled without affecting application
+ performance
Revision history for this message
Susan Cragin (susancragin) wrote : Re: pulseaudio cannot be removed or disabled

OK, with 11 and not LL I did get it installed. And I had changed HOME to the actual name of my home file, which I should not have.
I followed all instructions, and then I re-booted.
And then I tried to run Audacity (in Linux, not in wine).
I opened the program and hit "Record." And I recorded.
I stopped the recording.
I hit "record" again, and the application stopped, and did not record.
The error message is as follows.

Latency Correction setting has caused the recorded audio to be hidden before zero.
Audacity has brought it back to start at zero.
You may have to use the Time Shift Tool (<---> or F5) to drag the track to the right place.

Basically, I think that when pulseaudio is not used -- no matter how you stop it -- something goes bad when you do exactly that sequence of events: sound input / stop / sound input.
It's the same for audacity in Linux as it is for dragon naturally speaking in wine. In DNS, during training, you dictate a short sentence to test volume, then stop it, then dictate a short sentence to test sound quality. And that second test cannot complete.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.