You are not logged in.

#1 2017-03-06 21:56:14

indianahorst
Member
Registered: 2008-08-23
Posts: 90

No Sound with Firefox 52.0

As said in the headline, on my plain ALSA system there is no sound when playing videos in Firefox 52.0.

I assume it's because of the hard dependency on Pulseaudio, which came with Firefox 52.

In the Config file for the build process should be an option to enable both PulseAudio AND ALSA. Please activate this option. Please don't make bloated PA a non-optional dependency of Firefox!

See
https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
https://www.reddit.com/r/firefox/commen … rement_on/

Offline

#2 2017-03-06 22:22:41

loqs
Member
Registered: 2014-03-06
Posts: 2,414

Re: No Sound with Firefox 52.0

From https://reviewboard.mozilla.org/r/79466 … dex_header the option should be '--enable-alsa' have you tried building firefox 52.0-1 locally with that option to test if it works?
As an observation without that option the dependency on alsa-lib seems to superfluous with firefox 52.0-1
Edit:
As firefox has a dependency on ffmpeg which has dependencies on alsa-lib and libpulse the alsa-lib dependency is definitely superfluous.

Last edited by loqs (2017-03-06 22:35:57)

Offline

#3 2017-03-06 23:33:02

blablo
Member
Registered: 2011-06-02
Posts: 27

Re: No Sound with Firefox 52.0

---
pkgname=firefox
pkgver=52.0
-pkgrel=1
+pkgrel=2
pkgdesc="Standalone web browser from mozilla.org"
---

---
ac_add_options --enable-application=browser

ac_add_options --prefix=/usr
ac_add_options --enable-release
ac_add_options --enable-gold
ac_add_options --enable-pie
ac_add_options --enable-rust
+
+ac_add_options --enable-alsa

# Branding
---

---
  # _FORTIFY_SOURCE causes configure failures
-  CPPFLAGS+=" -O2"
+#  CPPFLAGS+=" -O2"

  # Hardening
-  LDFLAGS+=" -Wl,-z,now"
+#  LDFLAGS+=" -Wl,-z,now"

  # GCC 6
-  CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-schedule-insns2"
+#  CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-schedule-insns2"
---

Sound works again.

Offline

#4 2017-03-07 14:08:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 5,490

Re: No Sound with Firefox 52.0

For those that want firefox with alsa support in official repos, go https://bugs.archlinux.org/task/53195 and vote please.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB