Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259276 - net-www/netscape-flash-10.0.21.1_alpha No Sound with Pulseaudio
Summary: net-www/netscape-flash-10.0.21.1_alpha No Sound with Pulseaudio
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 21:04 UTC by David Abbott
Modified: 2009-02-27 14:50 UTC (History)
2 users (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 David Abbott (RETIRED) gentoo-dev 2009-02-16 21:04:28 UTC
I noticed that sound stopped working so I added to /etc/make.conf USE="-pulseaudio" and sound returned. 

Reproducible: Always

Steps to Reproduce:
1.enable pulesaudio
2.emerge uND world
3.no sound




emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_1220_SE-with-glibc2.2.5
Timestamp of tree: Sun, 15 Feb 2009 23:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.7
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://mirror.fslutd.org/linux/distributions/gentoo/ "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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 aac acl acpi alsa amd64 apache2 automount avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo ccache cdaudio cdda cddb cdparanoia cdr cdrom cleartype cli color-console colordiff cracklib crypt ctype cups curl dbus dri dvd dvdarchive dvdr dvdread emboss encode equalizer esd evo examples expat fam festival ffmpeg filter firefox3 flac fontconfig foomaticdb fortran ftp gconf gdbm gedit gif gimp git glib glitz gnome gnome-print gpm gsm gstreamer gtk gtkhtml gtkspell hal iconv ide imlib2 ipv6 isdnlog javascript jpeg lame ldap libnotify lm_sensors logrotate logviewer logwatch mad mailbox mbrola mdnsresponder-compat messages midi mikmod mjpeg mmx mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer mudflap multilib mysql nautilus ncurses nls nptl nptlonly nsplugin ogg ogg123 opengl opengl-video opengl-xvmc openmp openssh pam pcre pdf perl php pidgin pixmaps png podcast policykit ppds pppd python quicktime readline reflection reiserfs rhythmbox rss sdl session slang sox spell spl sqlite sse sse2 ssl startup-notification status stream subversion svg svgz swig sysfs tcl tcpd theora threads threadsafe thunderbird tiff tk tokenizer truetype twolame type1 unicode unzip usb v4l v4l2 vhook video videos vim vim-pager vim-syntax vim-with-x vorbis wav weather wma wmp xcomposite xfs xml xmlrpc xorg xulrunner xv xvid zip zlib" ALSA_CARDS="emu10k1x" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-02-16 21:14:52 UTC
Also noticed when I removed pulseaudio from USE this was one of the packeges that was rebuilt;
media-libs/swfdec-0.8.4  USE="alsa ffmpeg gstreamer gtk -doc -pulseaudio" 0 kB
Comment 2 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-02-25 19:58:01 UTC
Do you have net-www/libflashsupport installed?  It should provide pulseaudio support to native 64-bit flash-10.
Comment 3 David Abbott (RETIRED) gentoo-dev 2009-02-25 23:56:14 UTC
Yes;
[ebuild   R   ] net-www/libflashsupport-1.2  USE="esd ssl -gnutls -oss -pulseaudio" 0 kB
Sound works great without pulseaudio, with pulseaudio enables, firefox would freeze and there would be no sound when I tried to play flash videos.
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-02-26 13:10:44 UTC
(In reply to comment #3)
> Yes;
> [ebuild   R   ] net-www/libflashsupport-1.2  USE="esd ssl -gnutls -oss
> -pulseaudio" 0 kB
> Sound works great without pulseaudio, with pulseaudio enables, firefox would
> freeze and there would be no sound when I tried to play flash videos.

Well, if you don't have the USE=pulseaudio enabled for libflashsupport, I wouldn't expect it to work with pulseaudio either!

Perhaps try enabling that, and disabling esd in libflashsupport.
Comment 5 David Abbott (RETIRED) gentoo-dev 2009-02-26 20:50:54 UTC
Jim thanks for your time. I set up /etc/portage/package.use
net-www/libflashsupport pulseaudio -esd
[ebuild   R   ] net-www/libflashsupport-1.2  USE="pulseaudio ssl -esd -gnutls -oss" 0 kB
no sound and the video freezes

removed /etc/portage/package.use

re-emerged libflashsupport
worked as expected
Comment 6 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-02-26 23:59:31 UTC
This is interesting.  I'll try doing some testing myself again when I'm home, but I've had no problems with pulseaudio support.

You're sure that your pulseaudio setup is working properly - For example, 'paplay' can play sounds?
Comment 7 David Abbott (RETIRED) gentoo-dev 2009-02-27 05:15:02 UTC
No sound from paplay but aplay works. I did not do anything to set-up pulseaudio.
david [12:11 AM] opteron ~ $ paplay -v test.wav 
Using sample spec 's16le 1ch 22050Hz'
Connection established.
Stream successfully created
^CGot SIGINT, exiting.
david [12:11 AM] opteron ~ $ aplay test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Comment 8 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-02-27 13:38:01 UTC
If there is no sound from paplay, then your pulseaudio server is not running, so it is not surprising that flash wouldn't be able to play sound.

Perhaps it would be valuable for you to read more about pulseaudio:

http://www.pulseaudio.org/wiki/Documentation

But to use pulseaudio you definitely need the daemon running.
Comment 9 David Abbott (RETIRED) gentoo-dev 2009-02-27 14:01:27 UTC
Thanks Jim,
I don't really care about puleaudio one way or another. I just want sound to work. I only reported the bug because I am sure I will not be the only person that once they hit the versions I am using they will need to configure pulesaudio or alter their USE to get it to work with flash. When this first happened I did not know what caused the loss of sound with flash, but during my search I found a lot of problems from Ubuntu users with their latest release and flash with pulseaudio so that is where I started to look. 
Comment 10 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-02-27 14:50:50 UTC
(In reply to comment #9)
> I don't really care about puleaudio one way or another. I just want sound to
> work. I only reported the bug because I am sure I will not be the only person
> that once they hit the versions I am using they will need to configure
> pulesaudio or alter their USE to get it to work with flash. When this first
> happened I did not know what caused the loss of sound with flash, but during my
> search I found a lot of problems from Ubuntu users with their latest release
> and flash with pulseaudio so that is where I started to look. 

Sounds good.  I suppose I hope that people who enable the pulseaudio USE flag will do so carefully, and only if they're actually using pulseaudio :)