!!! WARNING: DO NOT USE THIS TUTORIAL ON Mint 8 and Ubuntu 9.10 !!!
How to remove PulseAudio and fix sound with ALSA and ESound
TESTED APPS (work out of the box):
Adobe Flash (Youtube)
VLC
MPlayer
Rhythmbox
RealPlayer
Totem
Audacity (playback and recording)
Skype
Advanced Linux Sound Architecture (ALSA) vs. Open Sound System version 4
OSS4 is for audiophiles and for Linux hackers.
https://help.ubuntu.com/community/OpenSoundhttp://insanecoding.blogspot.com/2009/0 ... sorry.htmlWhen OSS4 is already installed, it is easy to use, and it is supperb. Excellent sound quality.
You can play all your audio apps simultaneously and mix sound in the virtual mixer (vmix).
If your soundcard is not supported by OSS4, you are out of luck.
The hardware lists are here:
http://mercurial.opensound.com/?file/6b ... ists/Linuxhttp://www.opensound.com/osshw.htmlQOUTE: "This list is not 100% complete. There are dozens of sound cards that are based
on some standard sound chips (or motherboard chipset) made by vendors like
Intel, VIA, Cirrus/Crystal, Analog Devices, Realtek, Yamaha, C'Media,
Trident, Sigmatel and many others. Such cards may not be listed in the
following list but they are still supported. Just look at the list of
"Generic ..." devices below."
ALSA is "advanced". In Linux speak, it may mean "ill-designed" and/or "difficult to use".
Whether you like ALSA or not, it is certainly better than nothing at all.
For Linux, there are ALSA drivers and OSS4 drivers, and nothing more (as far as I know).
The Standard Sound Solution: ALSA with ESound
This solution was implemented in Ubuntu 7.10 and it worked well.
It was not perfect, of course. But what is perfect in our day?
*****************************************************************************
1. Install Linux Mint7 (Main Edition, 32 bits with codecs and Adobe Flash)
2. Install some applications and codecs you need
3. Purge PulseAudio
4. Install ESound
*****************************************************************************
NOTE: Adobe Flash might be problematic with 64 bits.
For OSS4, an excellent hack was designed by Temüjin.
Now the hack is applied automatically when you install OSS4.
But you should have, perhaps, Adobe Flash installed before you install OSS4.
During installation of OSS4, all the pulse things will be replaced by OSS4 hacks.
When you purge OSS4, it may reverse the changes (or may not).
I have not tried 64 bits with Ubuntus yet.
**********************
Step-by-Step Howto
**********************
Step 1: Install Linux Mint 7 Main Edition
Step 2: Update the system
sudo apt-get update
sudo apt-get upgrade
sudo reboot
Step 3: Install Opera web browser
https://help.ubuntu.com/community/OperaBrowsergksu gedit /etc/apt/sources.list
Add this line at the bootom:
deb
http://deb.opera.com/opera/ stable non-free
Then do this:
sudo apt-get update
wget -O -
http://deb.opera.com/archive.key | sudo apt-key add -
sudo apt-get install debian-archive-keyring
sudo apt-get update
sudo apt-get install opera
You will see Opera Web Browser in Menu after a reboot.
Now:
Press Alt+F2, type: opera
Press ENTER
It should start now.
Step 4: Install codecs and other stuff:
sudo apt-get install non-free-codecs
sudo apt-get install libdvdcss2 libxine1-all-plugins
sudo apt-get install vlc mencoder lame
sudo apt-get install acroread acroread-fonts
sudo apt-get install realplayer
sudo apt-get install skype-static-oss
sudo apt-get install googleearth
Step 5: Install Audacity 1.3.8
Download Audacity 1.3.8 from getdeb
http://www.getdeb.net/search.php?keywords=audacity Download: audacity (2.6 MB) , audacity-data (2.0 MB)
Save these two deb packages to a folder.
Open Terminal in that folder and install Audacity with these commands:
sudo apt-get install libflac++6 libwxbase2.8-0 libwxgtk2.8-0
sudo dpkg -i audacity*i386.deb audacity-data*all.deb
sudo apt-get install swh-plugins sox libsox-fmt-all libsox1
Download and install Audacity Manual
it is here:
http://manual.audacityteam.org/index.ph ... =Main_Pagehttp://manual.audacityteam.org/help.zipUnzip help.zip
This will produce a folder "manual"
which you should copy to the folder /usr/share/audacity/help
sudo mkdir /usr/share/audacity/help
gksu nautilus
This will run Nautiulus with root privileges (it is red like tomato).
File System -> home -> igor -> Desktop ["igor" is my user name]
Copy everything you need and close the Red Nautilus.
Be careful!!! Do not make mistakes.
The result should be: /usr/share/audacity/help/manual
******************************************************
Removal of PulseAudio and Installation of ESound
******************************************************
sudo killall pulseaudio
cp /etc/X11/Xsession.d/70pulseaudio ~/
sudo apt-get purge pulseaudio
sudo apt-get install -y esound esound-clients esound-common libesd-alsa0
sudo reboot
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EDIT:
AFTER REBOOT:
If you have High Definition Audio (HDA), you may need to unmute you speakers (and the like) after reboot.
You can do this with Gnome Volume Control (-> Preferences).
This was reported for nVidia Corporation MCP61 High Definition Audio (rev a2)
viewtopic.php?f=48&t=33894QUOTE: "The tutorial for purging pulseaudio and installing Esound ( Alsa?) has worked.
The one thing to note just in case one lapses inton despair is when its all changed, its muted and turned down to zero! You need to notice that!"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
******************************
Now let us test how it works.
******************************
1. Adobe Flash with Firefox - works out of the box
Run Firefox -> Youtube -> Audacity Tutorial
http://www.youtube.com/watch?v=r5K1ZsoO1sURESULT: Adobe Flash works out of the box (video + sound)
Notice that we have not made any changes in the sound settings yet.
Let us look what is there.
System -> Preferences -> Sound
Defauts:
Sound playback: Autodetect
Sound playback: Autodetect
Sound playback: Autodetect
Sound capture: ALSA - Advanced Linux Sound Architecture
Default Mixer Tracks:
Device: Realtek ALC200,200P rev 0 (OSS Mixer)
2. VLC - works out of the box
You can run several VLC and play several different audio files simultaneously.
This is exactly how it was in Ubuntu 6.10 and even better, because youtube is now opened (and no problem!)
Let us look what is in the settings:
VLC -> Tools -> Preferences (Show settings = All) -> Audio -> Output modules
Default:
Audio output module: Default
Alsa Device Name: Default
OSS DSP Device: /dev/dsp
It works. Do not fix it.
3. MPlayer, Rhythmbox, RealPlayer, Totem - work out of the box
4. Audacity - works out of the box (playback and recording)
If you do not know how to record with Audacity, start a new thread.
Do not highjack this thread.
5. Skype - works out of the box
Default settings:
Sound devices (all): /dev/dsp
******************************************************************************************
TEST was performed on the ancient box (of 2001): Pentium 4, 1.6GHz, 500MB RAM
******************************************************************************************
REFERENCES:
http://shibuvarkala.blogspot.com/2009/0 ... alope.htmlhttp://packages.medibuntu.org/jaunty/index.htmlhttp://en.wikipedia.org/wiki/Open_Sound_Systemhttps://help.ubuntu.com/community/OpenSoundhttp://insanecoding.blogspot.com/2009/0 ... sorry.html