Kubuntu 10.04 x64: no sound in flash, while Amarok is able to play sound

Last time I use only 64-bit OSes, and normally I have no problems with Windows, while with Linux usually things don’t go that easy. I’ve noticed one tendency with Linux: if distribution is less popular (for example, Ubuntu with KDE and x64) it is more raw and accordingly, it has more bugs.

I replaced recently my Ubuntu 10.04 x64 with Kubuntu 10.04 x64 and noticed absence of sound in flash applications, although in Amarok everything works. Looked in Internet, and found an universal solution: start in terminal alsaconfig and set PCM level from 0 to maximum. However, I did not help for me.

It seems like flash applications use Pulse Audio sound server. Therefore it is necessary to install the Pulse Audio like this:

sudo apt-get install libasound2-plugins “pulseaudio-*” paman padevchooser paprefs pavucontrol pavumeter

And also create a file /etc/asound.conf with the following content:

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

Next, open the multimedia options and make sure that the Pulse Audio sound server is located in the top of the list, and that it can play sound. Here goest screenshot of my multimedia options:

After you set everything properly you should hear sound in flash.

6 Comments

  1. Hallelujah! This problem has been bugging me for ages, albeit on an i386 distro. It’s even solved my recording problems, with a little extra work. Perhaps I expect too much from Linux/Kubuntu but when it comes to audio I’m surprised it’s not as mature as it should be.

    Muchos gracias.

  2. Well, in fact it is just enough to do

    sudo apt-get install libasound2-plugins “pulseaudio-*” paman padevchooser paprefs pavucontrol pavumeter

    To get sound working in flash in Ubuntu & Kubuntu (both x32 and x64). I also tried to do the same in Fedora and it also worked:

    yum install libasound2-plugins “pulseaudio-*” paman padevchooser paprefs pavucontrol pavumeter

    My configuration is a bit special, as I use Microsoft Life Chat USB headphones, and above commands solves the problem with sound in flash in my headphones …

  3. This pretty much worked for me except the one extra step going to the configuration tab of pavucontrol and setting the profile of my on board sound card to off. I’d suspected for ages that half my sound (including maybe the flash sound) was being pumped through the onboard despite my 5.1 card being selected in the multimedia config screen shown above. Now I could actually turn it off somewhere all sound is playing. VLC is now suddenly also able to play two items at once as well

Leave a Reply

Your email address will not be published. Required fields are marked *


six − 3 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>