LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   any sound in web browsers (http://www.linuxquestions.org/questions/slackware-14/any-sound-in-web-browsers-4175492953/)

Adelardo 01-29-2014 04:20 AM

any sound in web browsers
 
Hello,

On slackware 14.1-64 bits I have any sound in web browsers (firefox, konqueror and so) on sites like youtube or radios on line

Sound is available on kde and i can listen .wav files on Kplayer.

I installed flash plugin and it is listed in firefox when i type about:plugins.

Have you any idea to solve that problem ?

TIA

allend 01-29-2014 05:50 AM

Welcome to LQ!

Two possible issues to consider are:
1- Does your CPU support the latest flashplayer? http://www.linuxquestions.org/questi...4/#post4877910

2. Is your sound device the default sound device? http://www.linuxquestions.org/questi...-a-4175477553/

sdrkyj 02-06-2014 10:23 AM

Quote:

Originally Posted by Adelardo (Post 5107314)
Hello,

On slackware 14.1-64 bits I have any sound in web browsers (firefox, konqueror and so) on sites like youtube or radios on line

Sound is available on kde and i can listen .wav files on Kplayer.

I installed flash plugin and it is listed in firefox when i type about:plugins.

Have you any idea to solve that problem ?

TIA

Using the
Code:

slackpkg
command, to install some newer plugin for sounds, plus some slackbuilds, search through slackware.org.uk .
Under Firefox, there are various plugins(txz or slackbuilds) supporting sound codecs. I used various mplayer-*** and vlc, xvid.
Mine sound card is the realtek HD.
and alsamixer would tune the sound volume.

cellodude 04-08-2014 07:15 AM

Quote:

Originally Posted by sdrkyj (Post 5112750)
Using the
Code:

slackpkg
command, to install some newer plugin for sounds, plus some slackbuilds, search through slackware.org.uk .
Under Firefox, there are various plugins(txz or slackbuilds) supporting sound codecs. I used various mplayer-*** and vlc, xvid.
Mine sound card is the realtek HD.
and alsamixer would tune the sound volume.

Hmmm... This post is marked as [SOLVED] but I don't see how running slackpkg and installing other codes would solve his problem.

I have exactly the same problem as the original poster. I can play audio CDs on Amarok and KDE plays 'startup' and 'error' wav files properly but youtube just doesn't play any sound although the video plays nicely.

I have installed the latest libflashplayer.so (11 which I downloaded from the Adobe website).

My Slackware 14.1 is installed on a DELL Inspiron 14R 5437. I also have a Realtek HDA device.

I am thinking that the codec installation is fine because KDE and Amarok can use it but Firefox needs to be configured to point to the Realtek codec and I have no idea how to do that.

Any thoughts anyone?


DL

dugan 04-08-2014 09:15 AM

I assume that you're not using OSS4 and that if you were, you would have mentioned it.

But if you are using OSS4, then you need to use Opera. Firefox, Chrome and Chromium do not support OSS4.

cellodude 04-08-2014 10:09 AM

Quote:

Originally Posted by dugan (Post 5148722)
I assume that you're not using OSS4 and that if you were, you would have mentioned it.

But if you are using OSS4, then you need to use Opera. Firefox, Chrome and Chromium do not support OSS4.

Hi Dugan,

Thanks for your reply. But no, I am not using OSS4. I am using ALSA. BTW, Konqueror is also having the same problem.

Here is the output of dmesg | grep snd if it is of any help.

root@xxxxxx:~# dmesg | grep snd
[ 6.150019] snd_hda_intel 0000:00:03.0: irq 57 for MSI/MSI-X
[ 6.174966] snd_hda_intel 0000:00:1b.0: irq 58 for MSI/MSI-X
[ 1572.960908] snd_hda_intel 0000:00:03.0: irq 58 for MSI/MSI-X
[ 1572.962973] snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
[ 2179.498017] snd_hda_intel 0000:00:03.0: irq 58 for MSI/MSI-X
[ 2179.498452] snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
[ 2784.725629] snd_hda_intel 0000:00:03.0: irq 58 for MSI/MSI-X
[ 2784.726737] snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
root@xxxxxx:~#

hegobald 04-08-2014 12:46 PM

I gave up on using alsa with hda_intel on my box.
For every slackware release it was big trouble getting it work properly, multiple sounds for instance....

I use oss4 and it works very well here. Even in firefox and other browsers.
output from ossinfo

Version info: OSS 4.2 (b 2008/201403221612) (0x00040100) GPL
Platform: Linux/x86_64 3.10.17 #1 SMP Fri Feb 14 16:39:21 CST 2014 (amd)

dugan 04-08-2014 03:54 PM

Quote:

Originally Posted by hegobald (Post 5148846)
Even in firefox and other browsers.

Even for HTML5 videos?

IIRC, OSS4 works with Flash and other plugins, but not if the browser itself is expected to play the sounds.

hegobald 04-09-2014 02:37 AM

Quote:

Originally Posted by dugan (Post 5148925)
Even for HTML5 videos?

IIRC, OSS4 works with Flash and other plugins, but not if the browser itself is expected to play the sounds.


Sadly you are right, no sound on html5 videos.:mad:

So that means no sound for the *BSDs either?
Who thought that was a good idea?

cellodude 04-09-2014 10:54 PM

Hi Hegobald,

I read up on your suggestion to use OSS4 and found that OSS is the old solution for audio on Linux. Now ALSA is built into the kernel so I think ALSA is the way to go.

Also, since KDE and Amarok are working fine with ALSA, I am working towards configuring the browsers to use ALSA instead.

Will update if I find anything worthwhile to share.

DL

cellodude 05-06-2014 10:21 AM

I have finally solved my sound problem with Youtube on Firefox.

I was right in deciding to continue working with ALSA but was wrong in thinking that each application needs to be tweaked to point to the codec.

Actually some applications depend on the default sound device to be specified in /etc/asound.conf which is the case here, while some requires you to tell them in the application itself.

Here are the links that helped:
http://www.linuxquestions.org/questi...on-4175501707/

http://docs.slackware.com/howtos:har...s_on_slackware

http://docs.slackware.com/howtos:har..._snd-hda-intel

The details on how to create the .conf file are all there.

Regards,

DL


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