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

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11057
  • MLUs Forever!
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #30 on: June 09, 2013, 03:53:53 PM »
You have not said if you have PulseAudio packages installed .....  ?

You could try renaming the .asoundrc file and reboot to see how it behaves without it.

Maybe some update has affected things .....

MLUs rule the roost!

Linux XPS 3.4.48-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

  • Sr. Member
  • ****
  • Posts: 264
    • MondoPc
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #31 on: June 09, 2013, 09:14:04 PM »
I have found a workaround: use the .asoundrc right for youtube in another user account and recall the browser with the account of that user (from a "my" session with the .asoundrc version that works with skype).
I don't have pulse audio at all...
Thank you
« Last Edit: June 10, 2013, 12:30:53 AM by duns »

Offline duns

  • Sr. Member
  • ****
  • Posts: 264
    • MondoPc
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #32 on: June 10, 2013, 02:34:29 AM »
The problem is my TWO sound cards (nvidia, motherboard integrated, and yamaha, added).
Today better solution: I have plugged in the Yamaha sound card also the speakers. And so work, I hope definitively, both Skype and Youtube. So, I hope, this problem is resolved.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11057
  • MLUs Forever!
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #33 on: June 10, 2013, 02:40:54 AM »
The problem is my TWO sound cards (nvidia, motherboard integrated, and yamaha, added).
Today better solution: I have plugged in the Yamaha sound card also the speakers. And so work, I hope definitively, both Skype and Youtube. So, I hope, this problem is resolved.

Ah, you have in effect three sound cards

1. on board integrated
2. HDMI
3. Yamaha PCI (?) card

In your case I would be inclined to use PulseAudio to manage the sound streams going to each .....  or even to send it to all of them simultaneously!

Where a user has multiple sound sources and sound sinks PulseAudio is fantastic for managing them .....  all through a GUI ....  no need for config file editing etc.

MLUs rule the roost!

Linux XPS 3.4.48-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

  • Sr. Member
  • ****
  • Posts: 264
    • MondoPc
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #34 on: June 10, 2013, 04:37:18 AM »
Why three? I don't see HDMI...
Use Pulse audio, you said: but the jack of the microphone and the jack of the speakers can be only in one card. However I will try, thank you very much.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11057
  • MLUs Forever!
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #35 on: June 10, 2013, 04:45:16 AM »
Why three? I don't see HDMI...

Sorry, I must have misunderstood
Quote
(nvidia, motherboard integrated, and yamaha, added)
I took that to mean
1. an nvidia HDMI output from a video card  :(
2. integrated audio
3. Yamaha plugged in sound card

Quote
Use Pulse audio, you said: but the jack of the microphone and the jack of the speakers can be only in one card. However I will try, thank you very much.

When using PulseAudio ....  open the PulseAudio Volume Control .... (you might need to install 'pavucontrol' package through Synaptic) .....  and in there you can manage to what devices the sound is sent from each app ......  and also determine which sound source apps use.
Usually those selections are remembered for the next time each app is launched.

EDIT:
          You can also disable a 'spare' sound card if it is not in use .....  on the configuration tab of PA Vol Ctrl.

« Last Edit: June 10, 2013, 04:54:52 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.48-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 stealth

  • Hero Member
  • *****
  • Posts: 655
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #36 on: June 16, 2013, 01:00:20 AM »
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  ;)

EDIT:
            As you upgrade your install - particularly the kernel you use - it might be necessary to re-visit the use of the .asoundrc  file.
If you lose sound in the future you should probably rename the file and reboot to see if all is OK without it.



I just installed the 3.4.49-pclos1.pae kernel and now I have lost sound to my speakers regardless what app I am using but at the same time sound works from my head set only on all the same apps.

Should I try this solution above or might I have another problem?

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11057
  • MLUs Forever!
Re: Loss of Sound output (In Browsers mostly, but generally also)
« Reply #37 on: June 16, 2013, 01:22:13 AM »
You lose nothing by trying .....  it is easy to delete the file again if it does not work.

In that case start a separate thread and provide your hardware details; details of the problem; and information about what you have tried and the results of those 'tries', including any error messages and changes in the appearance of the problem.

MLUs rule the roost!

Linux XPS 3.4.48-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