No sound with Flash Player in Firefox after adding NVIDIA GT 220 graphics card
Hi folks
Am running Slackware64 current with no problems, except I get no sound with Flash Player in Firefox. I can play CDs and DVDs and also can hear KDE system notifications. Have had this problem since adding my new Nvidia GT220 graphics card. Also if I use the "play" command I get no sound with error message below Code:
$ play /usr/share/sounds/pop.wav Here are the outputs from various commands:- Code:
# lspci | grep Audio Phil |
Maybe some other program has locked the audio device. Is anything running in background?
|
Quote:
Code:
$ ps ax Phil |
I'm guessing that your new nVidia card has support for HDMI or some other standard and thus contains an internal sound card as well, and this is getting priority. Are you planning on using the nVidia sound or do you want to stick with the old card (which I would guess is integrated on your motherboard, but that doesn't matter)? I could also be misreading this...it would also be possible for an nVidia HDA intel card to be integrated on your motherboard with an additional VIA sound card...but since this problem started when adding the graphics card I would guess not.
The easy way is to try to run alsaconf as root followed by alsamixer as your regular user (and then `alsactl store` as root if you wish). This may setup the cards properly, and I believe you can select the card to setup in alsaconf (assuming you will only be using one...if not then you may have to play around with /etc/modprobe.d/sound[.conf] manually). You can try to see if something else is using the audio device as ~sHyLoCk~ suggested but based on your error I don't think that would be it. However the following commands would tell you and certainly couldn't hurt: Code:
$ fuser /dev/snd/ |
I can't offer much help other than the fact that I've got a P55-based motherboard with a GT220. The sound capabilities of the video card are detected, but the on-board Intel audio works fine. It works fine with the stock Slackware64 kernel and 2.6.32.7 which I compiled using the .config that was a part of -current at the time.
|
As far as I know Flash only outputs sound to the default ALSA device, which is usually the first detected by ALSA. One way (and the only that worked reliably for me when i used 2 sound cards) of setting another device as default is in a ~/.asoundrc file. You will probably have to create the file as it is not normally used.
Code:
pcm.!default { aplay -l will list all configured ALSA sound devices on your machine, which I see you have done. |
you are a member of the audio group? type groups as a normal user to see if you are or not.
if not, gpasswd -a $USER audio and reboot your machine. :) |
Quote:
If you don't use HDMI audio (i.e. you don't connect an HDTV TV set to PC), I think that you should disable the audio support on your video driver (kernel module) and everything will be fine. |
Quote:
PS more about setting default alsa device here: http://alsa.opensrc.org/index.php/FAQ026 |
Quote:
|
Thanks everybody for the replies, but my eternal thanks goes to Eternal_Newbie for the correct solution. Creating a ~/.asoundrc file without any modifications did the trick. Yup T3slider you guessed correctly that my graphics card has HDMI capabilities which currently I don't wish to use. Once again THANKS to all.
Regards Phil |
Quote:
|
Hi!
I'm in the exact same situation! Except the solution don't work...=( I do have sound from one application at the time(except Flash, I don't get anything, anytime). Before I added the GT 220 card, I had sound from different application, no problem. Now, I one get sound from one at the time. This aplay -l Code:
aplay -l Code:
cat /proc/asound/cards Code:
cat .asoundrc |
Well, the modern video-cards have an little audio support built-in, for HDMI. In some cases, ALSA misunderstand where is the 'main' sound hardware. Try to disable the audio support of your video-card if you do not use HDMI or try to properly configure ALSA for these two 'sound-cards'...
|
Quote:
Code:
pcm.!default { Regards Phil |
All times are GMT -5. The time now is 12:57 AM. |