• No audio in Firefox

    From Aelius Gallus@21:1/5 to All on Fri Aug 24 00:58:42 2018
    I have Firefox-45.9.0 in NetBSD-7.1. and can watch videos in Youtube, but without audio. Does somebody knows how to enable the missing audio?
    Any suggestion will be appreciated.
    TIA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sehnsucht@21:1/5 to Aelius Gallus on Wed Aug 29 04:06:56 2018
    On Friday, August 24, 2018 at 2:58:45 AM UTC+2, Aelius Gallus wrote:
    I have Firefox-45.9.0 in NetBSD-7.1. and can watch videos in Youtube, but without audio. Does somebody knows how to enable the missing audio?
    Any suggestion will be appreciated.
    TIA

    Hi,
    Is any other program able to send output to speakers? If not, see the audio guide for initial troubleshooting: https://wiki.netbsd.org/guide/audio/. Also, make sure sound is not muted at hardware level, see mixerctl(1)

    Regarding firefox, did you use the binary or compiled it from source? In the latter case which audio backend did you build it against (default is OSS)? If ALSA, what's in your ~/.asoundrc? Does it happen on firefox52 and the firefox61 nightly-build too?
    In 7.x built-in kernel mixer is not available, so remember only a single process can play sound at a time.

    PV

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aelius Gallus@21:1/5 to Sehnsucht on Sat Sep 1 05:33:13 2018
    Sehnsucht <paolovincenzo94@gmail.com> wrote:
    On Friday, August 24, 2018 at 2:58:45 AM UTC+2, Aelius Gallus wrote:
    I have Firefox-45.9.0 in NetBSD-7.1. and can watch videos in Youtube, but
    without audio. Does somebody knows how to enable the missing audio?
    Any suggestion will be appreciated.
    TIA

    Hi,
    Is any other program able to send output to speakers? If not, see the audio guide for initial troubleshooting: https://wiki.netbsd.org/guide/audio/. Also, make sure sound is not muted at hardware level, see mixerctl(1)

    Regarding firefox, did you use the binary or compiled it from source? In the latter case which audio backend did you build it against (default is OSS)?
    If ALSA, what's in your ~/.asoundrc? Does it happen on firefox52 and the firefox61 nightly-build too?
    In 7.x built-in kernel mixer is not available, so remember only a single process can play sound at a time.

    PV

    Yes, Xmms sends output to speakers and sound can be heard from mp3 files. Firefox was installed from binaries (pkgin).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sehnsucht@21:1/5 to Aelius Gallus on Sat Sep 1 08:49:18 2018
    Aelius Gallus <aelius@nospam.mail> Wrote in message:
    Sehnsucht <paolovincenzo94@gmail.com> wrote:
    On Friday, August 24, 2018 at 2:58:45 AM UTC+2, Aelius Gallus wrote:
    I have Firefox-45.9.0 in NetBSD-7.1. and can watch videos in Youtube, but >>> without audio. Does somebody knows how to enable the missing audio?
    Any suggestion will be appreciated.
    TIA

    Hi,
    Is any other program able to send output to speakers? If not, see the audio >> guide for initial troubleshooting: https://wiki.netbsd.org/guide/audio/.
    Also, make sure sound is not muted at hardware level, see mixerctl(1)

    Regarding firefox, did you use the binary or compiled it from source? In the >> latter case which audio backend did you build it against (default is OSS)? >> If ALSA, what's in your ~/.asoundrc? Does it happen on firefox52 and the
    firefox61 nightly-build too?
    In 7.x built-in kernel mixer is not available, so remember only a single
    process can play sound at a time.

    PV

    Yes, Xmms sends output to speakers and sound can be heard from mp3 files. Firefox was installed from binaries (pkgin).


    firefox packages are usually built with puleaudio (should have
    been pulled by pkgin), while XMMS is surely using OSS. In which
    case, please verify pulseaudio server is not muted: `pactl
    set-sink-volume 0 100%`. On the other side it's been a long time
    since I installed firefox45 last and can't say for sure what kind
    of sound support is that package compiled with

    Default audio backend in firefox (should be set to 'pulse') can be
    looked up by opening a browser tab at url 'about:suppport', and
    changed in about:config, by adding a new string named
    'media.cubeb.backend' and setting the property to your midi
    player of choice.

    If it doesn't work would you mind checking this affects firefox52 too?


    ----Android NewsGroup Reader----
    http://usenet.sinaapp.com/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aelius Gallus@21:1/5 to Sehnsucht on Sun Sep 2 06:15:01 2018
    Sehnsucht <sehnsucht@fastmail.com> wrote:
    Aelius Gallus <aelius@nospam.mail> Wrote in message:
    Sehnsucht <paolovincenzo94@gmail.com> wrote:
    On Friday, August 24, 2018 at 2:58:45 AM UTC+2, Aelius Gallus wrote:
    I have Firefox-45.9.0 in NetBSD-7.1. and can watch videos in Youtube, but >>>> without audio. Does somebody knows how to enable the missing audio?
    Any suggestion will be appreciated.
    TIA

    Hi,
    Is any other program able to send output to speakers? If not,
    see the audio
    guide for initial troubleshooting: https://wiki.netbsd.org/guide
    /audio/.
    Also, make sure sound is not muted at hardware level, see mixerctl(1)

    Regarding firefox, did you use the binary or compiled it from source?
    In the latter case which audio backend did you build it against
    (default is OSS)?
    If ALSA, what's in your ~/.asoundrc? Does it happen on firefox52
    and the firefox61 nightly-build too?
    In 7.x built-in kernel mixer is not available, so remember only
    a single process can play sound at a time.

    PV

    Yes, Xmms sends output to speakers and sound can be heard from mp3
    files.
    Firefox was installed from binaries (pkgin).

    firefox packages are usually built with puleaudio (should have
    been pulled by pkgin), while XMMS is surely using OSS. In which
    case, please verify pulseaudio server is not muted: `pactl
    set-sink-volume 0 100%`. On the other side it's been a long time
    since I installed firefox45 last and can't say for sure what kind
    of sound support is that package compiled with

    Default audio backend in firefox (should be set to 'pulse') can be
    looked up by opening a browser tab at url 'about:suppport', and
    changed in about:config, by adding a new string named
    'media.cubeb.backend' and setting the property to your midi
    player of choice.

    If it doesn't work would you mind checking this affects firefox52 too?

    Looks like pulseaudio is the problem. Input commands as user and root:

    $ pactl set-sink-volume 0 100%
    W: [(null)] caps.c: Normally all extra capabilities would be dropped now,
    but that's impossible because PulseAudio was built without capabilities support.
    Connection failure: Connection refused
    pa_context_connect() failed: Connection refused -----------------------------------------------
    # pactl set-sink-volume 0 100%
    Connection failure: Connection refused
    pa_context_connect() failed: Connection refused -----------------------------------------------

    In URL about:config new string is shown as:
    media.cubeb.backend user set string /dev/audio
    Still no audio in Youtube.

    Started to install firefox52 from /usr/pkgsrc/www, and after 9 hours of compilation, it seems to have stopped an inordinate lenght of time in: ..................................................................... /gtk-3.0/unix-print -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -pthread -Wno-error=shadow /usr/pkgsrc/www/firefox52/work/build/dom /base/Unified_cpp_dom_base5.cpp

    without any error message being output.
    I therefore stopped it to continue it later. I will post the result
    at the end of the compilation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From sehnsucht@fastmail.com@21:1/5 to Aelius Gallus on Sun Sep 2 11:26:17 2018
    Aelius Gallus <aelius@nospam.mail> wrote:
    Sehnsucht <sehnsucht@fastmail.com> wrote:
    firefox packages are usually built with puleaudio (should have
    been pulled by pkgin), while XMMS is surely using OSS. In which
    case, please verify pulseaudio server is not muted: `pactl
    set-sink-volume 0 100%`. On the other side it's been a long time
    since I installed firefox45 last and can't say for sure what kind
    of sound support is that package compiled with

    Default audio backend in firefox (should be set to 'pulse') can be
    looked up by opening a browser tab at url 'about:suppport', and
    changed in about:config, by adding a new string named
    'media.cubeb.backend' and setting the property to your midi
    player of choice.

    If it doesn't work would you mind checking this affects firefox52 too?

    Looks like pulseaudio is the problem. Input commands as user and root:

    $ pactl set-sink-volume 0 100%
    W: [(null)] caps.c: Normally all extra capabilities would be dropped now,
    but that's impossible because PulseAudio was built without capabilities support.
    Connection failure: Connection refused
    pa_context_connect() failed: Connection refused -----------------------------------------------
    # pactl set-sink-volume 0 100%
    Connection failure: Connection refused
    pa_context_connect() failed: Connection refused -----------------------------------------------

    Pulseaudio depends on DBus, and this looks like a DBus issue;
    sysutils/dbus was surely pulled by pkgin as dependency
    for firefox45, but did you actually enable the service?
    If not please do

    # cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d
    # echo dbus=YES >> /etc/rc.conf
    # service dbus start

    Then kill and restart firefox if any instance's running
    and see if sound works. If not, please logout from your X session
    and start a new one (or simply reboot), as pulseaudio may
    want to start as a session bus instance of dbus-daemon


    In URL about:config new string is shown as:
    media.cubeb.backend user set string /dev/audio
    Still no audio in Youtube.

    AFAIK (but may be worng) media.cubeb.backend should
    never point to the actual /dev node, rather to the
    sound-sever/midi-player to use (oss, alsa, pulse, esound, sunaudio,sndio).
    Was it you to set it so?
    In this case would you mind reverting the change?

    Hope this helps,
    Best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aelius Gallus@21:1/5 to sehnsucht@fastmail.com on Sun Sep 2 13:20:28 2018
    sehnsucht@fastmail.com wrote:
    Aelius Gallus <aelius@nospam.mail> wrote:
    Sehnsucht <sehnsucht@fastmail.com> wrote:
    firefox packages are usually built with puleaudio (should have
    been pulled by pkgin), while XMMS is surely using OSS. In which
    case, please verify pulseaudio server is not muted: `pactl
    set-sink-volume 0 100%`. On the other side it's been a long time
    since I installed firefox45 last and can't say for sure what kind
    of sound support is that package compiled with

    Default audio backend in firefox (should be set to 'pulse') can be
    looked up by opening a browser tab at url 'about:suppport', and
    changed in about:config, by adding a new string named
    'media.cubeb.backend' and setting the property to your midi
    player of choice.

    If it doesn't work would you mind checking this affects firefox52 too?

    Looks like pulseaudio is the problem. Input commands as user and root:

    $ pactl set-sink-volume 0 100%
    W: [(null)] caps.c: Normally all extra capabilities would be dropped now,
    but that's impossible because PulseAudio was built without capabilities
    support.
    Connection failure: Connection refused
    pa_context_connect() failed: Connection refused
    -----------------------------------------------
    # pactl set-sink-volume 0 100%
    Connection failure: Connection refused
    pa_context_connect() failed: Connection refused
    -----------------------------------------------

    Pulseaudio depends on DBus, and this looks like a DBus issue;
    sysutils/dbus was surely pulled by pkgin as dependency
    for firefox45, but did you actually enable the service?
    If not please do

    # cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d
    # echo dbus=YES >> /etc/rc.conf
    # service dbus start

    Then kill and restart firefox if any instance's running
    and see if sound works. If not, please logout from your X session
    and start a new one (or simply reboot), as pulseaudio may
    want to start as a session bus instance of dbus-daemon


    In URL about:config new string is shown as:
    media.cubeb.backend user set string /dev/audio
    Still no audio in Youtube.

    AFAIK (but may be worng) media.cubeb.backend should
    never point to the actual /dev node, rather to the
    sound-sever/midi-player to use (oss, alsa, pulse, esound, sunaudio,sndio).
    Was it you to set it so?
    In this case would you mind reverting the change?

    Hope this helps,
    Best regards

    Congratulations! You manage to guide remotely a layman to succesfully
    enable audio for Youtube videos in firefox45. The 3 commands and the
    correction of medi.cubeb.backend (set to 'user set, string, oss') did
    the trick.
    Thank you for your patience and your time!
    Best regards!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From sehnsucht@fastmail.com@21:1/5 to Aelius Gallus on Sun Sep 2 13:44:10 2018
    Aelius Gallus <aelius@nospam.mail> wrote:
    Thank you for your patience and your time!
    Best regards!

    You're welcome, glad you worked this out, have fun on NetBSD ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)