You are not logged in.

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

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

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: 12,557

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: 36

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: 8,785

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.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Automounting / udisks2 : unnnecessary, prefer mounting manually with pmount
Aur helpers : not needed
favourite command : # systemctl set-default multi-user.target

Offline

Board footer

Powered by FluxBB