Author Topic: Loss of Sound output (In Browsers mostly, but generally also)  (Read 1950 times)

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10657
  • MLUs Forever!
Loss of Sound output (In Browsers mostly, but generally also)
« on: September 06, 2012, 12:33:25 PM »
Recently there have been a number of reports about no sound output in various browsers when - for instance - playing youtube videos.

This has affected systems with and without PulseAudio enabled.

The following might help fix the problem.
Different solutions provided by two members of the community for both situations.

****

Create a file (or use an existing one if present) at

/home/<your user name>/.asoundrc   ## Note this is a 'hidden' file.

Into that file copy and paste the following lines ......  one set if you are using PulseAudio and the other if not using PulseAudio, and are experiencing the Browser sound problem.  Log out and back in again ...  or do a reboot if that does not work.

With PA enabled and working

Code: [Select]
pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}


Without PA enabled

Code: [Select]
pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}

Depending on the hardware in the PC, the card number *might* need to be edited.
Use the following command to determine your card's number
aplay -l   (lower case L)


A big 'thank you' to those who provided the solutions I found   ;) .......

sir_herrbatka
bnc75ohm

Apologies if someone posted the solutions previously ...  I did not see them  ;)

« Last Edit: May 03, 2013, 04:19:05 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline rastiazul

  • Sr. Member
  • ****
  • Posts: 267
  • el gobierno no es algo natural ni necesario
    • Rastiazul Photography
Re: Loss of Sound output In Browsers
« Reply #1 on: September 23, 2012, 01:46:06 PM »
thanx that solved my problem

i didnt have audio on browsers or local music files, the only audio i had was when logging in and out

Offline oracle2b

  • Full Member
  • ***
  • Posts: 66
  • 'Impossible is for the unwilling' - John Keats
Re: Loss of Sound output In Browsers
« Reply #2 on: January 13, 2013, 02:54:55 AM »
Thanks!

Offline Time7man

  • Full Member
  • ***
  • Posts: 158
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #3 on: April 18, 2013, 02:08:27 PM »
Thanks a million!  :D :D :D :D
Why look at the world through a window when you can experience it?

Offline terrygv

  • New Friend
  • *
  • Posts: 9
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #4 on: May 02, 2013, 12:55:15 PM »
It didn't work for me but here is the list of hardware when I enter in console "aplay -l" :
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Revolution51 [M Audio Revolution-5.1], device 0: ICE1724 [ICE1724]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Revolution51 [M Audio Revolution-5.1], device 1: ICE1724 IEC958 [ICE1724 IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Revolution51 [M Audio Revolution-5.1], device 2: ICE1724 Surrounds [ICE1724 Surround PCM]
  Subdevices: 3/3
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
I created the file and pasted in the in lines but log in and reboot no sound still in Firefox.
By the way just upgraded to pclos 64 from 32!
Please help,
terrygv

Offline jaydot

  • Administrator
  • Super Villain
  • *****
  • Posts: 15569
  • there is no limitation on imagination
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #5 on: May 02, 2013, 06:33:39 PM »
thanks just17.  what i've noticed is intermittent loss of sound.  a video will play in opera and then chrome will go silent and vice versa. sometimes closing and reopening will do the trick; sometimes setting up audio. i usually pick up the url and take it to the browser that's currently got sound.

more intriguing is not having sound and then all of a sudden it returns.  weird.
PCLinuxOS  Get it?  Got it?  Good!!   8)

We don't have any millionare angels or corporate backers paying the bills here, PLEASE DONATE.
http://pclinuxos.com/?page_id=7

Offline ruel24

  • Hero Member
  • *****
  • Posts: 2760
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #6 on: May 02, 2013, 07:41:57 PM »
I had the same problem, but just disabled PulseAudio and it fixed the problem. I don't have my other 2 speakers hooked up anyway.

Offline terrygv

  • New Friend
  • *
  • Posts: 9
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #7 on: May 02, 2013, 09:06:36 PM »
My problem is with Firefox.
I enable PulseAudio and YouTube video has sound but Biblegateway.com their audio bible has no sound!

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10657
  • MLUs Forever!
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #8 on: May 03, 2013, 06:51:16 AM »
@jaydot
Reads as if you are using OSS and not Alsa ......  IIRC OSS only allows one sound stream at a time .....

@ terrygv
Try a different browser ......  does it work correctly?
Try a different account .....  log in and try .....  if it works then it is a problem in the user account settings.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline terrygv

  • New Friend
  • *
  • Posts: 9
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #9 on: May 03, 2013, 10:26:02 AM »
Well...as usual after some updates today, unchecking the pulseaudio, and deleting the .asoundrc file the sound is working fine!
Thanks for the tips and input!
I guess I am PCLOSing another day even after swearing that I am going to change distros!
Not!
Peace, terrygv

Offline david1958

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 212
  • Lovin Linux
    • Ed's Cuckoo Uhren
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #10 on: May 08, 2013, 11:19:09 PM »
You worked with me for 2 days on this issue. Thanks for posting for being ready to give up on 64 thinking it was not compatable for me and this made it work with the sound! Tks again
David
To all Windows Users, Quit being Lazy and learn Linux. You'll Love it after you get the hang of it!
FullMonty Release:            2013.04
Kernel-version:    3.2.18-pclos2.pae.bfs
KDE4-version:                        4.10.1
Biostar mother Board A55MH,  CPU chip A8-3807K

8 gig ram

Offline herve49

  • Full Member
  • ***
  • Posts: 173
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #11 on: May 09, 2013, 11:32:43 AM »
Hello Terrygv

I had the same problEm with generic audio device Intel by mothercard AND an audio card XONAR D2.

The list of your hardware seems to say you have 2 audio devices
- sound with the CPU
- sound with an audio card Revolution 5.1

To resolve the problem, you must blacklist the generic audio card (by mothercard) and reboot.
Textar had write a post for this problem but i can't recover it.

To backlist a audio device, you must open /etc/modprobe.d/blacklist.

Here my blacklist file to disable generic audio device :
blacklist ssb
blacklist ssb
blacklist vt1828s
blacklist snd_hda_intel
blacklist snd hda intel



If Pulse Audio is enabled, you do have sound in browsers.
To be sure, verify in PCC if Pulse audio is enabled

Hope this will help

Herve49
Hervé

Kernel 2.6.33.7-pclos6.pae - KDE 4
Processor  Intel I5 750 @ 2.67 Mhz - 8 Go RAM - 2 HDD 1To each - video card TWINTECH GTX 460 1Go - sound card : XONAR X2 - 2 internal devices DVD-RW - monitor : iiyama prolite E2710 HDS flat screen - motherboard : ASUS P7P55D - USB : 3 USB 3.0 + 5 USB 2.0

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10657
  • MLUs Forever!
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #12 on: May 14, 2013, 06:22:05 AM »
64 bit install ......  updates today stopped audio output from Chrome browser.
Rather strange really as Firefox still worked ......   and sometimes Chrome did but the sound was severely chopped.

Using PulseAudio, I applied the  .asoundrc   file (copied from 32 bit install) rebooted and all is well.

Hopefully it stays that way now  :D

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline duns

  • Full Member
  • ***
  • Posts: 243
    • MondoPc
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #13 on: May 17, 2013, 12:51:13 PM »
Thank you, now I heard audio in Youtube. Thenk you very much  :D

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 360
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #14 on: May 18, 2013, 02:48:53 AM »
32 bit install.  Updates today stopped audio output (only through my M-Audio Fast Track sound card) from Firefox browser.

Using PulseAudio, I applied the  .asoundrc  file rebooted and all is well.

Thanks!!!

Only a question:

- Why happened this problem?
« Last Edit: May 18, 2013, 02:51:45 AM by Aleph »