Ubuntu's switch to pulseaudio broke accessibility for the blind.

7 messages Options
Embed this post
Permalink
igorche

Ubuntu's switch to pulseaudio broke accessibility for the blind.

Reply Threaded More More options
Print post
Permalink
Ubuntu's switch to pulseaudio broke accessibility for the blind.
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/416101

Bug Description

Binary package hint: pulseaudio

The switch to pulseaudio has made screen readers, on which the blind
depend, unintelligible.

The recommended workarounds are, in this order:
* aptitude remove pulseaudio
* touch ~/.pulse_a11y_nostart
* Use orca with pulseaudio via speech-dispatcher:
http://live.gnome.org/Orca/UbuntuJaunty

The problem appears to revolve around pulseaudio's lack of support for
mmap, and libportaudio's dependancy on it:

$ LIBASOUND_DEBUG=1 espeak "This is a test."
ALSA ERROR hw_params: set (ACCESS)
           value = MMAP_INTERLEAVED : Invalid argument
...

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy pulseaudio
pulseaudio:
  Installed: 1:0.9.14-0ubuntu20.2
Tags:
Ok Cancel
Add tags
Dave Lentz wrote on 2009-08-20: #1

Removing pulseaudio will break important stuff (like your sound
preferences) in Ubuntu 9.10. See:
https://bugs.launchpad.net/ubuntu/+source/gnome-media/+bug/400973
Luke Yelavich wrote on 2009-10-01: #2

This should no longer be a problem from jaunty onwards, at least in
terms of portaudio working with pulseaudio. However due to other
changes, the sound that gets played in unintelligable. There is a
work-around in place to not use pulseaudio when installing from the
live CD when accessibility for blind people is enabled.
Luke Yelavich on 2009-10-01
Changed in pulseaudio (Ubuntu):
status: New → Triaged
Darxus wrote on 2009-10-03: #3

Why did you start that with "This should no longer be a problem" when
you went on to say "the sound that gets played back is
unintelligible"?

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist
edgar-rft

Re: Ubuntu's switch to pulseaudio broke accessibility for the blind.

Reply Threaded More More options
Print post
Permalink
Hi Igor,

note: this topic has not much to do with Nyquist...

The problem with orca is that Ubuntu 9.04 ships with a pulseaudio-
incompatible "espeak" package (espeak is the orca speech engine).

Nearly half a year ago I had sent detailed instructions how to compile
espeak in a pulseaudio-compatible way to make the orca screen reader
work with pulseaudio to the ubuntu launchpad:

https://bugs.launchpad.net/ubuntu/+source/portaudio19/+bug/354522

but it seemed as if the ubuntu developers were not interested in this.

If you are in contact to any of the ubuntu developers please tell them
about this. It's no good idea to disable pulseaudio in ubuntu because
many other ubuntu audio packages NEED pulseaudio.

- edgar


> Ubuntu's switch to pulseaudio broke accessibility for the blind.
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/416101
>
> Bug Description
>
> Binary package hint: pulseaudio
>
> The switch to pulseaudio has made screen readers, on which the blind
> depend, unintelligible.
>
> The recommended workarounds are, in this order:
> * aptitude remove pulseaudio
> * touch ~/.pulse_a11y_nostart
> * Use orca with pulseaudio via speech-dispatcher:
> http://live.gnome.org/Orca/UbuntuJaunty
>
> The problem appears to revolve around pulseaudio's lack of support for
> mmap, and libportaudio's dependancy on it:
>
> $ LIBASOUND_DEBUG=1 espeak "This is a test."
> ALSA ERROR hw_params: set (ACCESS)
>            value = MMAP_INTERLEAVED : Invalid argument
> ...
>
> $ lsb_release -rd
> Description: Ubuntu 9.04
> Release: 9.04
>
> $ apt-cache policy pulseaudio
> pulseaudio:
>   Installed: 1:0.9.14-0ubuntu20.2
> Tags:
> Ok Cancel
> Add tags
> Dave Lentz wrote on 2009-08-20: #1
>
> Removing pulseaudio will break important stuff (like your sound
> preferences) in Ubuntu 9.10. See:
> https://bugs.launchpad.net/ubuntu/+source/gnome-media/+bug/400973
> Luke Yelavich wrote on 2009-10-01: #2
>
> This should no longer be a problem from jaunty onwards, at least in
> terms of portaudio working with pulseaudio. However due to other
> changes, the sound that gets played in unintelligable. There is a
> work-around in place to not use pulseaudio when installing from the
> live CD when accessibility for blind people is enabled.
> Luke Yelavich on 2009-10-01
> Changed in pulseaudio (Ubuntu):
> status: New → Triaged
> Darxus wrote on 2009-10-03: #3
>
> Why did you start that with "This should no longer be a problem" when
> you went on to say "the sound that gets played back is
> unintelligible"?
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Audacity-nyquist mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-nyquist


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist
igorche

Re: Ubuntu's switch to pulseaudio broke accessibility for the blind.

Reply Threaded More More options
Print post
Permalink
In reply to this post by igorche
Hi Edgar!

I believe you know exactly why and for whom, I posted this message to
Nyquist forum.
And, what is more, Audacity is actually unusable with PulseAudio.
It is true for old boxes, and for dual cores. I tested this. The same
overtones of 50Hz in recordings.

Could you imagine how a blind person deals with trojans on his Windows
box today?
You know, trojans tend to become a real disaster.
http://www.theregister.co.uk/2009/07/24/botnet_economics/

Could you imagine a blind person who should change from Ubuntu to
Windows because of the evil PulseAudio?
This is what the so-called "Ubuntu humanism" means in reality.

Linux Haters are now laughing at us:
Pulse my audio
http://linuxhaters.blogspot.com/2008/10/pulse-my-audio.html

It is perfectly possible and even necessary to remove PulseAudio from Ubuntu.
I did remove PulseAudio from my boxes and installed OSS4.
All audio applications work perfectly with OSS4.

You stated: "many other ubuntu audio packages NEED pulseaudio."
I am really amused.
I have a friend who knows about Linux not less than you, or even more,
or, at least, he knows enough to comprehend that PulseAudio is evil in
pure form.
He ask me: "Why do you recommend to use skype-static-oss with OSS4?
This package depends on pulseaudio, you can check this with apt-get".

That package, skype-static-oss, works perfectly with OSS4 on my boxes
(PulseAudio is removed and purged away).
Fantastic sound quality with ancient soundcards. Unbelievable!

Ubuntu developers are not going to take care about the blind, they are
very busy now.
"They are seriously building a kind of Berlin Wall to prevent a
massive escape from PulseAudio."
http://www.ubuntumini.com/2009/09/fix-most-audio-problems-remove.html

They have a reason to worry. The Russian hackers have already invented
an effective method to purge PulseAudio from Ubuntu 9.10.

PulseAudio was created by Germans, and "Berlin Walls" is a normal
German way to deal with problems.
This is true for Germans and for Russians too, as far as I know, and
perhaps, it is in the very nature of human beings in general.
If they have a problem, they build a wall, or "Iron Curtain", or else.
Think why borders exist.

QUOTE: "Nearly half a year ago I had sent detailed instructions how to compile
espeak in a pulseaudio-compatible way to make the orca screen reader
work with pulseaudio to the ubuntu launchpad".

Are you kidding, or you are serious?
It does not really matter whether espeak is compatible with PulseAudio or not.
PulseAudio is the "master bug", it is fundamentally wrong by design,
and, therefore, it invariably fails to work.
http://forums.linuxmint.com/viewtopic.php?f=48&t=32637

Ubuntu forums are flooded with "no sound problems" and PulseAudio
related problems,
and nobody is going to help the unlucky users, because the only way to
help them is to explain how to remove PulseAudio.

In fact, the only way to make Skype working with Ubuntu is to remove PulseAudio.
You may try it, if you want. We made already agreement with one Audacity dev
to test how his Skype works with PulseAudio. I am still waiting for
the test call.
He is not ready, perhaps.

Some explanations - Skype for Linux
http://share.skype.com/sites/linux/2009/09/some_explanations.html

Bug #362203 in pulseaudio (Ubuntu): “Skype high CPU use on 9.04 ...
Yes, using pulseaudio with skype in 9.04 gives a leak of memory, but
fortunately it is possible to avoid using pulseaudio with skype. ...
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/362203

Bug #362203:
Skype high CPU use on 9.04 using pulse (and audio recording/sending delay >5sec)

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist
Stevethefiddle

Re: Ubuntu's switch to pulseaudio broke accessibility for the blind.

Reply Threaded More More options
Print post
Permalink
On Sat, 2009-10-10 at 02:08 +0200, Igor Chernenko wrote:

> Hi Edgar!
>
> I believe you know exactly why and for whom, I posted this message to
> Nyquist forum.
> And, what is more, Audacity is actually unusable with PulseAudio.
> It is true for old boxes, and for dual cores. I tested this. The same
> overtones of 50Hz in recordings.
>
> Could you imagine how a blind person deals with trojans on his Windows
> box today?
> You know, trojans tend to become a real disaster.
> http://www.theregister.co.uk/2009/07/24/botnet_economics/
>
> Could you imagine a blind person who should change from Ubuntu to
> Windows because of the evil PulseAudio?
> This is what the so-called "Ubuntu humanism" means in reality.
>
> Linux Haters are now laughing at us:
> Pulse my audio
> http://linuxhaters.blogspot.com/2008/10/pulse-my-audio.html
>
> It is perfectly possible and even necessary to remove PulseAudio from Ubuntu.
> I did remove PulseAudio from my boxes and installed OSS4.
> All audio applications work perfectly with OSS4.
>
> You stated: "many other ubuntu audio packages NEED pulseaudio."
> I am really amused.
> I have a friend who knows about Linux not less than you, or even more,
> or, at least, he knows enough to comprehend that PulseAudio is evil in
> pure form.
> He ask me: "Why do you recommend to use skype-static-oss with OSS4?
> This package depends on pulseaudio, you can check this with apt-get".
>
> That package, skype-static-oss, works perfectly with OSS4 on my boxes
> (PulseAudio is removed and purged away).
> Fantastic sound quality with ancient soundcards. Unbelievable!
>
> Ubuntu developers are not going to take care about the blind, they are
> very busy now.
> "They are seriously building a kind of Berlin Wall to prevent a
> massive escape from PulseAudio."
> http://www.ubuntumini.com/2009/09/fix-most-audio-problems-remove.html
>
> They have a reason to worry. The Russian hackers have already invented
> an effective method to purge PulseAudio from Ubuntu 9.10.
>
> PulseAudio was created by Germans, and "Berlin Walls" is a normal
> German way to deal with problems.
> This is true for Germans and for Russians too, as far as I know, and
> perhaps, it is in the very nature of human beings in general.
> If they have a problem, they build a wall, or "Iron Curtain", or else.
> Think why borders exist.
>
> QUOTE: "Nearly half a year ago I had sent detailed instructions how to compile
> espeak in a pulseaudio-compatible way to make the orca screen reader
> work with pulseaudio to the ubuntu launchpad".
>
> Are you kidding, or you are serious?
> It does not really matter whether espeak is compatible with PulseAudio or not.
> PulseAudio is the "master bug", it is fundamentally wrong by design,
> and, therefore, it invariably fails to work.
> http://forums.linuxmint.com/viewtopic.php?f=48&t=32637
>
> Ubuntu forums are flooded with "no sound problems" and PulseAudio
> related problems,
> and nobody is going to help the unlucky users, because the only way to
> help them is to explain how to remove PulseAudio.
>
> In fact, the only way to make Skype working with Ubuntu is to remove PulseAudio.
> You may try it, if you want. We made already agreement with one Audacity dev
> to test how his Skype works with PulseAudio. I am still waiting for
> the test call.
> He is not ready, perhaps.

I'm not an Audacity dev, but we did have an agreement to try Skype, and
I have attempted to do so a few times but you are still shown in my
contacts as "awaiting authorisation". I have sent a Skype request for
authorisation but it still shows the same.

I am not usually a Skype user, but I have tested it with the test call
and that works fine. When I connect a decent microphone and headphones
the sound quality is pretty good, though I don't know how good one
should expect from an internet call.

Yes, I use PulseAudio and it works very well for me.

I think that the main reason that so many Ubuntu users have problems
with PulseAudio is because Ubuntu does not include the PulseAudio Device
Chooser (padevchooser) or the PulseAudio Volume Control by default.

The PulseAudio website states:
"Distributors: if you ship PulseAudio, please make sure to follow these
instruction as much as possible, to provide optimal PulseAudio
experience to your users! Thank you!"

It then goes on to list both of these packages as 2 of the tools to give
users a good experience with Pulse. I've no idea why Ubuntu disregarded
this advice, but to my mind it was a big mistake.

> Some explanations - Skype for Linux
> http://share.skype.com/sites/linux/2009/09/some_explanations.html

Again the recommendation to use padevchooser.

> Bug #362203 in pulseaudio (Ubuntu): “Skype high CPU use on 9.04 ...
> Yes, using pulseaudio with skype in 9.04 gives a leak of memory, but
> fortunately it is possible to avoid using pulseaudio with skype. ...
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/362203
>
> Bug #362203:
> Skype high CPU use on 9.04 using pulse (and audio recording/sending delay >5sec)

It appears that bug is now closed.

I am currently building a new Linux box to see if I can get OSS4 to run
alongside Jackd. As a musician, Jackd is essential for my work and
unless I can get Jackd and OSS4 to play nicely together, OSS4 is a
non-starter.

I'm particularly interested to see if there is any truth in the claims
that OSS4 gives better sound quality than ALSA. I have seen a great deal
of anecdotal evidence for this, but I'm rather surprised to not be able
to find any test measurements to support this.

Steve D


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist
igorche

Re: Ubuntu's switch to pulseaudio broke accessibility for the blind.

Reply Threaded More More options
Print post
Permalink
In reply to this post by igorche
Hi Steve!

"I have attempted to do so a few times but you are still shown in my
contacts as "awaiting authorisation". I have sent a Skype request for
authorisation but it still shows the same. "

No messages, really nothing arrived.

I just sent you such request for authorisation too.
Before, I was not even able to find you in Skype.

Could you please send me an e-mail, before you call?

I am not always online with Skype. I am now busy with experiments.
Just removed PulseAudio from Ubuntu 9.10 Beta, using the Russian method.
Very interesting. You can really see how the Berlin Wall was built.

Best,
Igor




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist
igorche

Re: Ubuntu's switch to pulseaudio broke accessibility for the blind.

Reply Threaded More More options
Print post
Permalink
In reply to this post by igorche
"I am not usually a Skype user, but I have tested it with the test call
and that works fine. When I connect a decent microphone and headphones
the sound quality is pretty good, though I don't know how good one
should expect from an internet call."

I am using a cheap table mic (for 10 EURO).
Ancient computer (of 2001) and ancient onboard soundcard.
Ubuntu 9.04 + OSS4
Quality is very good when I call from Germany to Ukraine,
much better than when I call by Deutsche Telekom inside the town.

I expect very good quality.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist
igorche

Re: Ubuntu's switch to pulseaudio broke accessibility for the blind.

Reply Threaded More More options
Print post
Permalink
In reply to this post by igorche
Skype is already working on Ubuntu 9.10 Beta on my ancient box (of 2001).
The evil PulseAudio was eradicated.
ALSA is blacklisted.
OSS4 is installed.

Steve!

I am trying to call you, but the result is always: "User Not Found".

It should be: "User Not Online", if everything O.K.

I have sent an "authorization request" once more.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist