Firefox 25 kein Sound

kmh

Well-Known Member
Unter Firefox 24 ESR habe ich keinerlei Sound-Probleme. Sobald ich aber den Firefox 25 (Alsa oder Pulseaudio) verwende, habe ich keinen Sound, unter FreeBSD 9.2.

Hat noch jemand das Problem?
 
Baustelle Firefox

Ich verwende zur Zeit Firefox-25.0_1,1 übersetzt aus den Ports mit alsa-plugins.

Beim Abspielen eines Html5-Videos (youtube) passiert folgendes nach etwa zwei Sekunden:
(firefox gestartet aus Shell)


(process:12830): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

(process:12851): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Assertion failed: (wrote >= 0 && wrote == got), function alsa_refill_stream,
file /usr/ports/www/firefox/work/mozilla-release/media/libcubeb/src/cubeb_alsa.c, line 319.
Abbruch(core dumped)


Übersetze ich Firefox mit pulseaudio gibt es keinen Absturz aber das Html5-Video läuft ohne Ton.

Habe jetzt wieder auf alsa-plugins gesetzt (ist wohl Standard) und warte auf die Erleuchtung.
 
Probiere mal audio/alsa-plugins mit abgeschalteten ARIFF_OSS bauen und reinstallieren. Dann Firefox neu starten.
Wenn der Firefox auch MP3 abspielen können soll, etwa für Soundcloud, dann alsa-plugins so bauen:
Code:
make showconfig

===> The following configuration options are available for alsa-plugins-1.0.27_1:
    ARIFF_OSS=off: FreeBSD-specific OSS plugin
    FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
    JACK=off: JACK audio server support
    PULSEAUDIO=off: PulseAudio sound server support
    SAMPLERATE=on: Sample rate conversion support
    SPEEX=on: Speex audio format support
===> Use 'make config' to modify these settings
 
Ich bekomme weiterhin kein Tönchen aus dem Firefox :( Ich bin jetzt auf den 24er-Zweig gewechselt ...
 
Fusselbärs Hinweis zum Bau von "audio/alsa-plugin" verhindert die Abstürze des Firefox-25.0_1,1 beim Abspielen von Html5-Videos!

Bild, Ton, alles funktioniert! Danke, Fusselbär.

Zum bequehmen Abschalten von Flash im Firefox habe ich das Addon "FlashDisable" installiert.
 
Ich bekomme weiterhin kein Tönchen aus dem Firefox :(

Hier mal die showconfig von meiner Firefox Nightly Installation:
Code:
make showconfig -C Installationsdisk/Firefox/firefox/www/firefox/

===> The following configuration options are available for firefox-nightly-28.0.154277,1:
    DBUS=on: D-Bus IPC system support
    DEBUG=off: Install debug symbols
    GCONF=off: GConf configuration backend support
    GIO=on: GIO for file I/O
    GNOMEUI=off: libgnomeui support module
    GNOMEVFS2=off: GnomeVFS2 (virtual file system) support
    GSTREAMER=on: Multimedia support via GStreamer
    LIBPROXY=off: Proxy support via libproxy
    LOGGING=off: Additional log messages
    OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
    PGO=off: Use Profile-Guided Optimization
    PROFILE=off: Build with profiling support
    TEST=off: Build and/or run tests
====> Options available for the single TOOLKIT: you have to select exactly one of them
    GTK2=on: GTK+ 2 GUI toolkit support
    GTK3=off: GTK+ 3 GUI toolkit support
====> Options available for the single AUDIO: you have to select exactly one of them
    ALSA=on: ALSA audio architecture support
    PULSEAUDIO=off: PulseAudio sound server support
===> Use 'make config' to modify these settings
Bis auf die GTK Optionen sind die config Möglichkeiten vom www/firefox Release und dem 28er Nightly Firefox gleich.

Wenn es keinen Sound bei HTML 5 Videos gibt, könnte es daran liegen, dass der extra-bug780531 Patch nicht zum tragen kommt.
Code:
 cat /usr/ports/www/firefox/files/extra-bug780531

--- configure.in~
+++ configure.in
@@ -5364,15 +5364,18 @@ AC_SUBST(MOZ_SRTP)
dnl Use integers over floats for audio on B2G and Android, because audio
dnl backends for those platforms don't support floats.
-if test "$OS_TARGET" = "Android"; then
+case "$target" in
+*-android*|*-linuxandroid*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*)
    MOZ_SAMPLE_TYPE_S16=1
    AC_DEFINE(MOZ_SAMPLE_TYPE_S16)
    AC_SUBST(MOZ_SAMPLE_TYPE_S16)
-else
+;;
+*)
    MOZ_SAMPLE_TYPE_FLOAT32=1
    AC_DEFINE(MOZ_SAMPLE_TYPE_FLOAT32)
    AC_SUBST(MOZ_SAMPLE_TYPE_FLOAT32)
-fi
+;;
+esac
dnl ========================================================
dnl = Disable Speech API code

Damit der extra-bug780531 patched muss in /usr/ports/Mk/bsd.gecko.mk
enthalten sein:
Code:
761  . if exists(${FILESDIR}/extra-bug780531)
762  EXTRA_PATCHES+= ${FILESDIR}/extra-bug780531
763  . endif
Die Zahlen vorne sind die Zeilenummern. Quelle:
http://svnweb.freebsd.org/ports/head/Mk/bsd.gecko.mk?r1=332421&r2=332420&pathrev=332421
Den Patch kann man dort auch runterladen.
Aber eigentlich sollte bei einem aktualisieren über svn oder net/svnup auch bsd.gecko.mk aktualisiert werden.
 
Zurück
Oben