Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247525 - net-www/netscape-flash-10.0.12.36-r1 in firefox-3.0.4 has no sound
Summary: net-www/netscape-flash-10.0.12.36-r1 in firefox-3.0.4 has no sound
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 23:55 UTC by Klaas Decanniere
Modified: 2009-03-04 21:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaas Decanniere 2008-11-18 23:55:31 UTC
Somewhere in the upgrade path I have lost the sound of flash movies in firefox (youtube).

sound works fine with audacious and mplayer etc, so sound modules loaded

I have tried a couple of stable and unstable emul-linux packages. Firefox is version 3.0.4. xulrunner is 1.9.0.4-r1. Alsa driver is in kernel

I also downloaded the new alpha 64 bit flash player from adobe, installed it in the local plugin directory, and unmerged the net-www/netscape-flash-10.0.12.36-r1, so emulation is out of the picture.
Still no sound from flash in firefox. Tried "aoss firefox" in that configuration as well - no go.

On my amd64 laptop sound-in-flash works, with 
firefox 2.0.018, flash 10.0.12.36-r1 and emul-linux-x86-soundlibs 20080418.
So I will start downgrading tomorrow.

Better ideas welcome.

Thanks for your help.

Klaas


Reproducible: Always

Steps to Reproduce:
1.install ~amd64 version of firefox
2.add net-www/netscape-flash-10.0.12.36-r1
3.look at movie from youtube

Actual Results:  
video is fine, no sound

Expected Results:  
sound and video 

Portage 2.2_rc14 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5
Timestamp of tree: Tue, 18 Nov 2008 22:07:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amd64 arts berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups divx dri dvd fftw fortran gcj gdbm gif gimp glitz gmp gpm gtk iconv imagemagick ipv6 isdnlog java joystick jpeg lame lapack lcms mad mbrola midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg openexr opengl openmp oss pam pcre pdf perl png povray ppds pppd python qt3support quicktime readline realmedia reflection scanner session spl sse sse2 ssl svg sysfs tcpd threads tiff truetype-fonts type1-fonts unicode usb v4l v4l2 xinerama xorg xulrunner zlib" ALSA_CARDS="atiixp intel8x0 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nv vmware fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-11-19 14:50:02 UTC
I have the same issue on my ~x86 system.
Comment 2 Klaas Decanniere 2008-11-20 19:05:10 UTC
More things I have tried:
- recovering the "flash" file in /tmp and playing with mplayer gives sound and video, so I'm not looking at a sound-less file :-)
- downgrading to 3.0-r1 does not solve the problem
- changing /usr/bin/firefox to read [artsdsp /usr/lib64/mozilla-firefox/firefox "$@"] in stead of [exec /usr/lib64/mozilla-firefox/firefox "$@" ] does not help

Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-11-21 03:00:50 UTC
If I remember correctly, flash uses alsa.  Do you have alsa installed?  What versions of what alsa libs?  If you are using in-kernel sound drivers, what kernel version?

Have you tried unmasking net-www/libflashsupport and using that?  I've heard that it works on amd64 now that native 64-bit flash is out, and it provides sound output using pulseaudio, oss, and/or esd.
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-11-21 14:01:22 UTC
(In reply to comment #3)
> Have you tried unmasking net-www/libflashsupport and using that?  I've heard
> that it works on amd64 now that native 64-bit flash is out, and it provides
> sound output using pulseaudio, oss, and/or esd.

Sorry, I forgot to mention: For amd64 users, please consider trying the new alpha version that is a native 64-bit plugin and see if that helps.

The other potential problem I've seen with flash is that it doesn't always play nice with other sound apps.  Please also try:
 - Close all applications, including fluxbox, especially any audio players.
 - Startup only firefox, and try a youtube video again.

I am running FF-3.0.4 and netscape-flash-10.0.12.36-r1 with no sound issues.

Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-02-25 20:04:15 UTC
Please try the newest net-www/netscape-flash-10.0.22.87

Also try, as mentioned above, net-www/libflashsupport if you need something other than alsa for your sound.
Comment 6 Klaas Decanniere 2009-02-26 22:42:35 UTC
(In reply to comment #5)
> Please try the newest net-www/netscape-flash-10.0.22.87
> 
> Also try, as mentioned above, net-www/libflashsupport if you need something
> other than alsa for your sound.
> 
Still not working.
firefox is 3.0.6 by now I think.
I've tried re-emerging all sorts of sound-related stuff being less and less rational about things (I though I spotted a vorbis-related problem at some point)

I'm trying emerge -e system/emerge -e world now
After that, I'll give up again for a few weeks

I do appreciate your continuing efforts, though.
Comment 7 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-02-27 13:34:06 UTC
I know that for some sound cards (specifically ones with a single playback channel, like on my wife's laptop), sometimes flash doesn't play nice with the other software - It will sometimes take over exclusive access to the soundcard, even if your default PCM device is alsa's 'dmix' plugin.  If this happens to you, this may just be a bug you need to work around and report to adobe's bugtracker:

http://bugs.adobe.com/flashplayer/

It's possible that the alsa support in net-www/libflashsupport may use the alsa device in a different way - I can't exactly remember what it does any more, but it's worth a shot.  Try emerging it, and see if it works for you.
Comment 8 Klaas Decanniere 2009-03-04 19:38:49 UTC
(In reply to comment #7)
> I know that for some sound cards (specifically ones with a single playback
> channel, like on my wife's laptop), sometimes flash doesn't play nice with the
> other software - It will sometimes take over exclusive access to the soundcard,
> even if your default PCM device is alsa's 'dmix' plugin.  If this happens to
> you, this may just be a bug you need to work around and report to adobe's
> bugtracker:

I think I have to conclude that my hardware is outdated - motherboard shopping time.
Comment 9 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-03-04 21:58:58 UTC
Actually new hardware may not save you. Many new motherboards try to manufacture as cheap as possible, and if the cheapest sound chip that week has only one PCM playback channel, you get it.

Another strategy that may work is using libflashsupport with pulseaudio to multiplex the sound for you.

In either case, good luck :)