Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Alright, this is kind of an odd problem -
I have sound setup in KDE. When I go to the Sound System Module and click the Test Sound button, I hear sound. If I open tvtime, or xmms, or xine or anything else for that matter, I get sound.
When I open firefox and check out some flash animations - no sound.
What do I need to (re?)configure to get sound?
I''m on Slackware 10, KDE 3.2.x
PC has a TvTuner card based on bttv and a SoundBlaster Audigy
do you have two sources of sound open at the same time? When i have XMMS open and a flash document on a webpage loads, it never has sound. I have to close XMMS and restart firefox for it to work. But this is a driver problem, and the one i'm using right now is basic - haven't gotten around to modifying it.
Originally posted by student04 do you have two sources of sound open at the same time? When i have XMMS open and a flash document on a webpage loads, it never has sound. I have to close XMMS and restart firefox for it to work. But this is a driver problem, and the one i'm using right now is basic - haven't gotten around to modifying it.
No, I've tried just running firefox alone w/ no xmms. I can play the flash movies, get no sound, then start xmms and voila, there's sound.
Originally posted by student04 do you have two sources of sound open at the same time? When i have XMMS open and a flash document on a webpage loads, it never has sound. I have to close XMMS and restart firefox for it to work. But this is a driver problem, and the one i'm using right now is basic - haven't gotten around to modifying it.
Yes you bring up a good point -- are you (original poster) using OSS or ALSA? If you're using OSS, upgrade to ALSA now (it's about time anyway). OSS only allows one source of output to be piped to your card at once, so if a sound server---such as aRts---is running, it is probably occupying the one source of output that can be piped to.
A good way to tell is by running
Code:
lsmod | grep snd
and see if there are any snd-whatever modules. Mine, for example, lists snd-via82xx among others. If you do not see that, you are probably not running ALSA but OSS.
A short-term solution if you don't want to switch to ALSA, would be to enable the option in Konqueror (forget where it is, I don't have KDE installed) that allows you to pipe any plugin sounds through aRts. That would only work for Konqueror, of course.
Curious note, when I attempt to turn on full-duplex in the KDE Sound System module, I get an error saying :
Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for capture (Permission denied)
The sound server will continue, using the null output device.
And then no sounds plays. If I uncheck the option I can hear the test music.
What permissions do I have to change to enable full duplex?
Originally posted by Poprocks how sure are you that you are running ALSA and that you have ALSA drivers, and not OSS drivers, loaded?
It is of course possible to have ALSA installed but be completely unused.
well
when I use alsactl to restore settings it works
I use alsamixer to adjust the volumes
The KDE sound system declares it's using ALSA
XMMS also claims to be using ALSA as it's output. And when I adjust the volume in that, it changes the same volume in alsamixer
Try running firefox from the command line but put artsdsp in front of it. In other words, if your firefox binary is called firefox then you would type artsdsp firefox. Then see if you get sound in flash.
As for the "permission denied" error, make sure you have read and write access to /dev/dsp. On my gentoo system, this is a link to /dev/sound/dsp, which is owned by root and group 'audio.'. I just added myself to the audio group to get the permissions I needed. Good luck.
How do you normally launch firefox? The Debian menu? If so, then copy /usr/lib/menu/mozilla-firefox to /etc/menu/mozilla-firefox. Then (as root) edit this new file (/etc/menu/mozilla-firefox) and change the command to read artsdsp firefox. Then run update-menus as the user (not root).
Amazingly that still doesn't do the trick.
I'm forever stuck.
I have sound virtually everywhere else. In konsole I have the little annoying beeps if you back up too much.
I can play music through xmms and amp.
I've setup xine to play music through the arts server
But stupid friggin flash stuff ain't working. Maybe I should try reinstalling flash?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.