Ubuntu Forums Archive Viewer

HOW TO: Get rid of ESD on Hoary. Multiple sounds at once support aswell.

Archived thread 10537 from Outdated Tutorials & Tips. Markdown source: Outdated_Tutorials_&_Tips/thread_10537_HOW_TO_Get_rid_of_ESD_on_Hoary._Multiple_sounds_at.md

Original URL About this archive
#1

This process will remove ESD and install polypaudio, a better and esd-compatible sound server. This process will work only on Hoary. From polyaudio site:> polypaudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). It is my ultimate ambition to get Polypaudio into Gnome as a replacement for ESOUND. First you need to enable the universe repositories. (check Ubuntu Starter Guide, if you're reading this you should have them enabled tho :D ) Now for the real deal:


sudo apt-get update && sudo apt-get install polypaudio polypaudio-alsa libesd-alsa0
sudo shutdown -r now

PS: If you used another process before to hear multiple sounds at once make sure you don't have /etc/asound.conf, your esd.conf is not configured with "-d default" and such. PS1: I'm not sure if this doesn't disable i.e.: gaim sounds. I need you to test :D

#2

hmm... well, I did this, and the gnome, totem, and gmplayer-sounds didn't work anymore (I couln't get them working) but sounds in games (tuxracer, Scorched 3D) and gaim, work fine now

but still, I can't hear multiple sounds at once...I still can't listen to music with xmms and hear gaim sounds/watch videos with xine at the same time

#3

Hi,

I installed libpolyp0, libpolyp0-glib2.0, libsamplerate0, polypaudio, polypaudio-alsa, polypaudio-clients and polypaudio-x11. But it doesn't quite work. I had libesd-alsa0 from my ESD install. No sound servers are started ( esd or polyp ).

$ polypaudio -nC main.c: read() failed: No such file or directory

Which looks pretty terminal. Running "polypaudio -nC" is suggested by the polypaudio website to test the install. Like YorHel I get some audio. totem, rhythmbox and the test button in GStreamer properties work. Gaim and system sounds do not. I would guess anything which uses ESD is dead.

To me it looks like the polypaudio package is broken taking anything that uses ESD with it.

EDIT:

I probably should state that I'm using Hoary.

#4

i got it working for multiple sounds at once. like: Totem and rythmbox but gaim sounds wouldnt work if you had any of those open. I reverted back to ESD because i cant use polypaudio sink in gstreamer-properties, i compiled something called polypsink but couldnt select it at the dialog. I guess polypaudio is just not ready to be used with gnome/gstreamer right now.

BTW, polypaudio is supposed to emulate a esd server :-?

#5

This process will remove ESD and install polypaudio, a better and esd-compatible sound server. This process will work only on Hoary. From polyaudio site: First you need to enable the universe repositories. (check Ubuntu Starter Guide, if you're reading this you should have them enabled tho :D ) Now for the real deal:


sudo apt-get update && sudo apt-get install polypaudio polypaudio-alsa libesd-alsa0
sudo shutdown -r now

PS: If you used another process before to hear multiple sounds at once make sure you don't have /etc/asound.conf, your esd.conf is not configured with "-d default" and such. PS1: I'm not sure if this doesn't disable i.e.: gaim sounds. I need you to test :D

thanks for the how-to, I have indeed followed once the other how-to for multiple sounds. Now what should I do with the asound.conf and how do I check if esd.conf is configured with -d default?

thanks

#6

You can check for *-d default* in */etc/esound/esd.conf*. Look on the spawn options line.

#7

You can check for *-d default* in */etc/esound/esd.conf*. Look on the spawn options line.

thanks, I removed it. What about asound.confi? Should I just remove ?

#8

thanks, I removed it. What about asound.confi? Should I just remove ? I don't know. I use an ~/.asoundrc file instead. I tried removing it but polypaudio still will not start ( same error ).

It would appear that polypaudio uses OSS by default. I tried installing *polypaudio-alsa* and changing the config file /*etc/polypaudio/default.pa* to load the alsa-sink module but it's still broken. All I can suggest is reinstall ESD or have a good look at the polypaudio webpage http://0pointer.de/lennart/projects/polypaudio/. Sorry.

#9

What a howto :)

Man, just try it before writing down how-to install. [-X I followed your instructions, and the only thing you didn't try to enable (uncomment) esound-tcp option in the /etc/polypaudio/default.pa :) it works now for me. \\:D/

Szundi

#10

What a howto :)

Man, just try it before writing down how-to install. [-X I followed your instructions, and the only thing you didn't try to enable (uncomment) esound-tcp option in the /etc/polypaudio/default.pa :) it works now for me. \\:D/

Szundi what is that one for?

#11

Heh. What's this doing in Warty Section? :???:

#12

Heh. What's this doing in Warty Section? :???: Not the original author's mistake. The old generic HOWTO forum turned into the Warty howto forum. This change happened just a week before Hoary's release, so understandably some Hoary docs made it in.