I've found a fix. Details follow:
1. I purged my system of pulseaudio and alsa
sudo apt-get remove --purge alsabase
sudo apt-get remove --purge pulseaudio
(There may be a hyphen in alsabase i.e. alsa-base I don't remember)
2. Next I did a fresh install of alsa FROM SOURCE NOT THE REPOSITORY.
I used the latest version (1.0.22 at the time of this writing). You'll need to download the compressed files into /usr/src/alsa. To do this open up a terminal:
cd /usr/src/alsa
if the folder doesn't exist:
cd /usr/src
sudo mkdir alsa
cd alsa
You can always find the latest version of alsa here:
http://www.alsa-project.org/main/index.php/Download
Assuming the latest version is 1.0.22 then use the following commands to download drivers, libs, utils, and tools.
sudo wget ftp://ftp.alsa-project.org/pub/drive...0.22.1.tar.bz2
sudo wget ftp://ftp.alsa-project.org/pub/lib/a...1.0.22.tar.bz2
sudo wget ftp://ftp.alsa-project.org/pub/utils...1.0.22.tar.bz2
sudo wget ftp://ftp.alsa-project.org/pub/tools...1.0.22.tar.bz2
3. Next unpackage the files. This is how I prefer to do it:
gksudo nautilus /usr/src/alsa
When the new window opens right click on each file and click on 'Extract here'
4. Now install everything:
cd alsa-driver-1.0.22.1
sudo ./configure
sudo make
sudo make install
Now cd into each of the other folders and do the same thing:
sudo ./configure
sudo make
sudo make install
5. Then run alsaconf to configure your sound card:
sudo alsaconf
It will detect your sound card. Follow the on screen instructions.
6. Now we need to adjust /etc/modules.conf:
gksudo gedit /etc/modules.conf
Edit the file to remove the 'snd_' prefix from all module names (theres a script in the alsa-driver source package under 'utils' called 'module-options' which does this for you I just couldn't get it to work)
7. Reboot
8. Finally, initialize your sound card:
sudo alsactl init
Everything should be working at this point. You should be able to run sound on Firefox, rhythmbox, and any other program simultaneously. Make sure to change the sound settings on your other apps (virtualbox, skype, etc) to use 'Default Device' or 'ALSA Driver'
9. So that your sound card is initialized upon boot-up you can go to:
System->Preferences->Startup Applications
Click on Add, give any name or comment you want, but the command should read:
alsactl init
10. Enjoy!
Notice pulseaudio is no longer on your system. I haven't tried to reinstall it because ALSA comes with its own mixer which works perfectly fine. You can add alsamixergui to your panels to have quick access to volume control.
wow.. that seems like somewhat of a long process..
i know i'm definitely going to need some time to do all that..
anyway, i'm scared of taking out pulse audio though.. i wish there was a way to just make flash use pulseaudio or just not hog the sound for itself. there's got to be a way... i hope..
You're right it does look like quite a bit of work, but in essence its quite simple:
you uninstall your old version of alsa and replace it with the latest version available and then you configure your sound card.
But if you've found a work around I wouldn't bother.
Also, I think there's a common misconception that pulseaudio is an integral part of the system but it's really not.
I have flash10 now and had the same problem.
I uninstalled libflashsupport and it all works now. Wine also works and i can now play several things at the same time. Not sure what else i've broken as a result.
hey all, i found out how to fix this.. at least this worked for me.
check out my thread
http://ubuntuforums.org/showthread.php?t=1412153
it basically forces Flash use PA.. Flash was basically hogging all the sound for itsellf, bypassing PulseAudio..and if another program was already using PA for sound, Flash would be stubborn and not play any sound at all... it was like all or nothing for flash
but instead of taking out PA altogether, or using OSS, i made Flash play nice with PulseAudio and now everything works fine..
Bookmarks