Linux - General This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
01-04-2005, 12:07 AM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 23
Rep:
|
No sound in Firefox - but sound in KDE
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
Any ideas?
|
|
|
01-04-2005, 12:13 AM
|
#2
|
Member
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 524
|
Do sounds work on Flash in Konqueror?
|
|
|
01-04-2005, 12:15 AM
|
#3
|
LQ Newbie
Registered: Oct 2004
Posts: 23
Original Poster
Rep:
|
Quote:
Originally posted by Poprocks
Do sounds work on Flash in Konqueror?
|
you know - it doesn't
-Jason
|
|
|
01-04-2005, 12:17 AM
|
#4
|
Member
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669
Rep:
|
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.
|
|
|
01-04-2005, 12:21 AM
|
#5
|
LQ Newbie
Registered: Oct 2004
Posts: 23
Original Poster
Rep:
|
Quote:
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.
Same with the Sound Test Panel.
-JAson
|
|
|
01-04-2005, 12:25 AM
|
#6
|
Member
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 524
|
Quote:
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 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.
|
|
|
01-04-2005, 12:40 AM
|
#7
|
LQ Newbie
Registered: Oct 2004
Posts: 23
Original Poster
Rep:
|
The system is running alsa 1.7.
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?
|
|
|
01-04-2005, 12:43 AM
|
#8
|
LQ Newbie
Registered: Oct 2004
Posts: 23
Original Poster
Rep:
|
OOOhhhh, even more confusing stuff ...
I was looking at the options for xine, and tried the -A option which allows you to choose what audio system to use.
When I use "-A oss" the sound works, when I use "-A alsa" it doesn/t. When I don't use the "-A" it works.
So does that mean part of my system is using the OSS and par tof it is in ALSA?
I'm thoroughly lost now.
|
|
|
01-04-2005, 12:46 AM
|
#9
|
Member
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 524
|
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.
Last edited by Poprocks; 01-04-2005 at 12:48 AM.
|
|
|
01-04-2005, 01:04 AM
|
#10
|
LQ Newbie
Registered: Oct 2004
Posts: 23
Original Poster
Rep:
|
Quote:
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
So I'm fairly confident I'm using ALSA
-Jason
|
|
|
01-04-2005, 04:58 AM
|
#11
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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.
|
|
|
01-04-2005, 10:57 AM
|
#12
|
Member
Registered: Aug 2003
Distribution: Debian
Posts: 150
Rep:
|
Yeah..
does the trick 
But is there any other way of automating this...?
|
|
|
01-04-2005, 09:05 PM
|
#13
|
LQ Newbie
Registered: Nov 2004
Posts: 1
Rep:
|
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.
|
|
|
01-05-2005, 03:17 AM
|
#14
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
Quote:
But is there any other way of automating this...?
|
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).
You can do similar things for any debian package.
|
|
|
01-09-2005, 03:25 AM
|
#15
|
LQ Newbie
Registered: Oct 2004
Posts: 23
Original Poster
Rep:
|
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?
I'll give that a shot
|
|
|
All times are GMT -5. The time now is 12:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|