LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-06-2011, 03:16 AM   #1
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Rep: Reputation: 0
Firefox with No Sound


Hi!

I am having problem with sound in Firefox when I try to watch videos.
The video start but without sound
Can you help me?

Thanks

Mirco
 
Old 02-06-2011, 03:58 AM   #2
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Please give more information, like your version of Slackware, the videos you want to watch (are they flash?) and and whether there is any other audio application running when this happens. If it is flash videos, something else must be blocking your sound card.

Edit:

With some sound cards, ALSA's sound mixing is problematic, that is, you may have trouble playing several sounds simultaneously. Below is the file .asoundrc (note the dot at the beginning) in my home directory. I use it to set up proper sound mixing for my HDA Intel card, you may need something of this sort. With this .asoundrc file, you should configure all software to use the default alsa device (which is the default action, anyway). But before editing .asoundrc check the other things I mentioned above.

Code:
pcm.my_mic {
	type route
	slave {
		pcm "plughw:0"
	}
}

pcm.swmixer {   
  type dmix 
  ipc_key 1234
  slave {
  pcm "hw:0,0"
  period_time 0
  period_size 1024
  buffer_size 4096
  rate 44100
  }
}

pcm.!default {
	type asym
	playback {
		pcm "swmixer"
	}
	capture {
		pcm "my_mic"
	}
}

Last edited by Ilgar; 02-06-2011 at 04:10 AM.
 
Old 02-06-2011, 04:03 AM   #3
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
Here you are info !

- Slackware 13.1
- Yes, I would like to see Flash videos (youtube)
- I do not know if there is another audio application running when it happens, how can I see that?
 
Old 02-06-2011, 04:12 AM   #4
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
I have just seen I do not have .asoundrc file !!!
Where should it be ?

Last edited by finaccio; 02-06-2011 at 04:14 AM.
 
Old 02-06-2011, 04:17 AM   #5
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
There is no .asoundrc by default, you can create it in your home directoy.

Can you post here what output

Code:
fuser -v /dev/snd/* /dev/dsp*
gives when you play the video?
 
Old 02-06-2011, 04:23 AM   #6
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
Cannot stat /dev/dsp*:No such file or directory
 
Old 02-06-2011, 04:35 AM   #7
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Then you could run the command without the /dev/dsp* part.

Are you using the stock kernel? It seems you have no OSS emulation (I\m using a custom kernel and don't know what the stock one does). By the way, how did you install the flash plugin?
 
Old 02-06-2011, 04:46 AM   #8
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
Yes I am using stock kernel and I installed flashplayer from Slackbuilds
 
Old 02-06-2011, 04:51 AM   #9
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
You didn't give the output of the command. If it gives empty output then it's really weird. Does your sound really work?

Also, to make sure there is no mistake arising from the slackbuild: Go to Adobe's website and download the .tar.gz file for Linux. Unzip it, there will be just one file, libflashpayer.so extracted. Copy it to /usr/lib/mozilla/plugins, then restart Firefox.
 
Old 02-06-2011, 05:56 AM   #10
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
Done, I saw video but I heard anything

Last edited by finaccio; 02-06-2011 at 06:02 AM.
 
Old 02-06-2011, 06:56 AM   #11
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
You mean heard "nothing"?

Finaccio you are not giving enough details. What output did

fuser -v /dev/snd/*

give? Does your audio work in other applications? When did this problem begin, is this a newly installed system or what? What is your sound card? Try to give as many details as possible.
 
Old 02-06-2011, 07:46 AM   #12
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
Sorry Ilgar,

Below my soundcards:

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: ATI Technologies Inc RV710/730

I installed Slackware 13.1 4 month ago and I went always perfect (also the sound)

Then, suddenly, this morning, when I was watching yotube video, I noticed the sound was gone.

However, the command fuser -v /dev/snd*, executed on shell when I am watching videos on Firefox, do not give any output

THanks

Finaccio
 
Old 02-06-2011, 09:35 AM   #13
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Now that's strange. Because anything using ALSA should appear in the output of fuser -v /dev/snd*. Somehow Flashplayer doesn't do it. Did you make any software installations recently?

Another strange thing is that, the config file of the stock kernel has OSS emulation enabled, then you should have the /dev/dsp device. Are you sure you don't have it?

Finally, when you run alsamixer, HDA Intel (and not the other one) is the one you see, right?

If you have libflashplayer.so lying around from another installation (maybe in /usr/lib/firefox/plugins) make sure they are removed.

Also, tell me if you have the file

/usr/lib/oss/lib/libflashsupport_32.so
 
Old 02-06-2011, 11:16 AM   #14
finaccio
LQ Newbie
 
Registered: Mar 2010
Location: Italy
Distribution: kubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
Ilgar,

I have finally solved the problem. I have just re-installed either Firefox or Flash plugin

Thanks a lot for your help and patience!!1

Have a nice evening

Finaccio
 
Old 02-06-2011, 11:38 AM   #15
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Glad to hear that. A reinstall of Firefox and alsa would be my next suggestion, since something looked really broken.
 
  


Reply



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 .. no sound? But sound from amarok/banshee/etc pgreptom Linux - Desktop 1 04-13-2009 12:23 PM
Firefox and no sound... phoniclynx Linux - Desktop 2 01-04-2009 07:13 AM
Sound with Firefox diamond281 Ubuntu 1 02-18-2008 06:15 PM
No Sound in Firefox DaBlade Linux - Software 9 12-07-2005 09:57 AM
No sound in Firefox - but sound in KDE icpsvt Linux - General 19 03-06-2005 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration