LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-02-2005, 04:15 AM   #1
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Rep: Reputation: 63
Flash Player, Firefox: sound in blackbox but not KDE


Hello, everybody.

I'm setting up a Slackware 10.1 box for a friend, using old components (233MHz P2, Dell OptiPlex GXa). Everything is working pretty well now, except that I don't get any sound when watching flash animations (such as www.homestarrunner.com) from firefox in KDE. In BlackBox everything works fine.

Things I've tried:

Code:
$ aoss firefox
Code:
# ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
Clues:

When I try to do:

Code:
# cat /dev/urandom > /dev/audio
while in KDE, it tells me that the resource is busy and won't let me do it. It works fine in BlackBox (spits static out of the speakers). This suggests that something is hogging the sound card; the problem is that I don't know what!

Any help you can give me would be well-appreciated.

Thanks!

--Dane
 
Old 07-02-2005, 04:27 AM   #2
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
Try going to the KDE Control Center (kcontrol) and check out the "Sound & Multimedia" section. It may have a few options that you may need to adjust.
 
Old 07-02-2005, 05:32 AM   #3
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Original Poster
Rep: Reputation: 63
Thank-you for your post!

I messed around with a lot of stuff in the KDE Control Center, but to no avail. Do you have any other suggestions?

Thanks.

--Dane
 
Old 07-04-2005, 02:39 AM   #4
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
Have a look at the processes running by doing ps -A. If you notice anything that may be hogging /dev/audio, kill it.

Also try fuser /dev/audio

Edit: Here is a better idea. Do:
Code:
 fuser -v /dev/snd/*
and
Code:
 fuser -v /dev/dsp*
and
Code:
 fuser -v /dev/mixer*
and
Code:
 fuser -v /dev/audio*
I'm sure you'll find the process blocking sound.
For some reason I think its going to be "artsd" (Just a dumb guess)

Last edited by akudewan; 07-04-2005 at 02:59 AM.
 
Old 07-04-2005, 04:25 AM   #5
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 440

Rep: Reputation: 51
If you run KDE, it starts artsd sound daemon by default and it open sound devices in exclusive mode. If some application can't use arts for audio and requires direct access to sound devices, starting it with artsdsp wrapper may do the job.
 
Old 07-07-2005, 12:41 AM   #6
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Original Poster
Rep: Reputation: 63
artsdsp fixed it! The command to use on firefox is:

Code:
artsdsp firefox
Thanks a bunch to everybody who posted!

--Dane
 
Old 04-25-2006, 09:30 AM   #7
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Rep: Reputation: 15
Hi,

Sorry to resurrect an old thread, but I've been scratching my head in regards to flash sound using KDE and Firefox.

I am running current, KDE 3.5 and the latest Firefox, flash 7.

I can get sound when I run from wmaker, but not KDE, at least not reliably. I tried the suggestion here, and have seen it other places. But, when I run
Code:
artsdsp firefox
I get an error that says artsdsp only works with binaries.

Thx in advance for any advice or support. Silly to be so frustrated over such a simple thing.
 
Old 04-25-2006, 10:50 AM   #8
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
I'm going to guess that your firefox command is not actually named firefox but something else like mozilla-firefox. from a terminal if you try to launch firefox manually using firefox, what happens?

Another thing to check is to righ click and view the properties for your launcher icon and see what command is actually being executed.
 
Old 04-25-2006, 11:16 AM   #9
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Rep: Reputation: 15
Thx for the reply!

The command is executing from
Code:
/usr/sbin/firefox
(could be /bin), but I didn't check to see if it was a script or binary file. I'll have a look at that when I get home.
 
Old 11-18-2006, 12:33 PM   #10
jlamothe
LQ Newbie
 
Registered: Nov 2006
Location: Ontario, Canada
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by desertViking
Hi,

Sorry to resurrect an old thread, but I've been scratching my head in regards to flash sound using KDE and Firefox.

I am running current, KDE 3.5 and the latest Firefox, flash 7.

I can get sound when I run from wmaker, but not KDE, at least not reliably. I tried the suggestion here, and have seen it other places. But, when I run
Code:
artsdsp firefox
I get an error that says artsdsp only works with binaries.

Thx in advance for any advice or support. Silly to be so frustrated over such a simple thing.
I ran into the same error message, however my firefox is run from /usr/bin/firefox (which is a symlink that points to /usr/lib/firefox-1.5.0.7/firefox... and yes, the symlink works)

I've tried:
Code:
$ artsdsp firefox
and
Code:
$ artsdsp /usr/bin/firefox
and
Code:
$ artsdsp /usr/lib/firefox-1.5.0.7/firefox
All three produce the same error.
 
Old 11-20-2006, 02:11 AM   #11
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 719
Blog Entries: 3

Rep: Reputation: 76
Have a look at my solution here:

http://www.linuxquestions.org/questi...d.php?t=502891

I added my user to group "audio" with Slackware 11.0
 
Old 11-21-2006, 01:41 PM   #12
amueller
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
This line works on Ubuntu:

$ export FIREFOX_DSP=artsdsp
$ firefox

If not, you could edit /usr/bin/firefox. Near the end of the file, you'll find something like "exec ${MOZ_PROGRAM}". Inserting artsdsp after exec should work.

Last edited by amueller; 11-21-2006 at 01:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox/flash player javb Linux - Newbie 27 10-16-2007 11:56 PM
Please help (can't get sound working with flash player and firefox in Mandriva 2006!) LaptopLinux Mandriva 1 12-07-2005 12:58 AM
Problem Flash Player in Firefox filipuce Linux - Software 13 08-02-2005 08:59 PM
flash player problems in firefox PeaceTank Linux - Software 3 12-18-2004 11:57 PM
firefox and flash player macleodjd Linux - Software 4 02-17-2004 05:03 PM


All times are GMT -5. The time now is 03:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration