Gentoo Forums
Gentoo Forums
Quick Search: in
No sound --- Firefox3.0.7 & KDE4.2.1 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
lamawithonel
n00b
n00b


Joined: 09 Apr 2008
Posts: 14

PostPosted: Tue Mar 17, 2009 1:15 am    Post subject: No sound --- Firefox3.0.7 & KDE4.2.1 [SOLVED] Reply with quote

Hi all. I hate to start a new topic, but I've tried everything I can find and nothing works.

I'm running KDE4.2.1 and the sound works great in everything BUT Firefox. I know this is an ongoing problem with Adobe Flash, but this includes MPlayerPlug-in and VLC; both players work when run independently and both produce video as plug-ins. Does Firefox or XULrunner use an env variable I don't know about? How do I get it to talk to ALSA, OSS, Phonon or anything else interfaced with my speakers?

emerge --info
Code:
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)                                                                   
=================================================================                                                                                                                   
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-56-with-glibc2.2.5                                                                           
Timestamp of tree: Mon, 16 Mar 2009 20:20:01 +0000                                                                                                                                 
app-shells/bash:     3.2_p39                                                                                                                                                       
dev-java/java-config: 2.1.7                                                                                                                                                         
dev-lang/python:     2.5.2-r7                                                                                                                                                       
dev-util/cmake:      2.6.2-r1                                                                                                                                                       
sys-apps/baselayout: 1.12.11.1                                                                                                                                                     
sys-apps/sandbox:    1.4                                                                                                                                                           
sys-devel/autoconf:  2.13, 2.63                                                                                                                                                     
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                                                                                     
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.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="        http://mirror.datapipe.net/gentoo       http://gentoo.krasko.sk/        http://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac acl acpi ada akonadi alsa amd64 ares atmo automount bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups curl custom-cflags custom-cpuopts custom-cxxflags d dbus dga dirac directfb divx dri dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon firefox flac fortran ggi gif glib glibc-omitfp glitz gmedia google-gadgets gpm graphviz gs gstreamer gtk hal hpn ibnotify iconv imagemagick ipod ipv6 isdnlog jpeg kate kde kerberos latex lcms ldap libnotify libsndfile libssh2 libsysfs libv4l2 libvisual lm_sensors lzo mad matroska midi mikmod mmap mmx mmxext mng mp3 mp4 mpeg mudflap multilib musepack musicbrainz mysql ncurses networkmanager nptl nptlonly nsplugin objc objc++ objc-gc ogg openexr opengl openmp pam pango pcre pdf perl pgsql plasma png postgres ppds pppd pvr python qt3support qt4 quicktime raw readline realmedia redland reflection rtsp samba sasl scanner sdl semantic-desktop session smartcard speex spell spl sqlite3 sse sse2 sse3 ssl startup-notification strigi svg sysfs taglib tcpd theora threads tiff truetype twolame uml unicode usb utf8 v4l2 vim-syntax vnc vorbis webkit wmp x264 xattr xcb xcomposite xml xorg xprint xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="atiixp atiixp-modem emu10k1x hda-intel usb-audioi" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="fglrx fbdev vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Last edited by lamawithonel on Sat Mar 21, 2009 12:02 am; edited 1 time in total
Back to top
View user's profile Send private message
cetbaalix
n00b
n00b


Joined: 19 Jul 2007
Posts: 46

PostPosted: Tue Mar 17, 2009 9:41 am    Post subject: Reply with quote

Have had a similar problem some month ago. That helped:

emerge -av esound
/etc/init.d/esound start
rc-update add esound default
Back to top
View user's profile Send private message
lamawithonel
n00b
n00b


Joined: 09 Apr 2008
Posts: 14

PostPosted: Thu Mar 19, 2009 12:44 pm    Post subject: Reply with quote

That brings up a new problem-- I can't get esd to start. Tried pulse. That didn't work, either... I'll have to look into my system a little more.
Back to top
View user's profile Send private message
lamawithonel
n00b
n00b


Joined: 09 Apr 2008
Posts: 14

PostPosted: Fri Mar 20, 2009 11:16 pm    Post subject: Reply with quote

The problem was in the kernel. I modularized everything OSS and stripped out support for the old ALSA API and now everything works fine.\

Code:
  │ CONFIG_SND_PCM_OSS:                                                                                                                                                         │
  │                                                                                                                                                                             │
  │ To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y                                                                                                              │
  │ here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.                                                                                                            │
  │                                                                                                                                                                             │
  │ Many programs still use the OSS API, so say Y.                                                                                                                              │
  │                                                                                                                                                                             │
  │ To compile this driver as a module, choose M here: the module                                                                                                               │
  │ will be called snd-pcm-oss.                                                                                                                                                 │
  │                                                                                                                                                                             │
  │ Symbol: SND_PCM_OSS [=m]                                                                                                                                                    │
  │ Prompt: OSS PCM (digital audio) API                                                                                                                                         │
  │   Defined at sound/core/Kconfig:55                                                                                                                                          │
  │   Depends on: SOUND && !M68K && SND                                                                                                                                         │
  │   Location:                                                                                                                                                                 │
  │     -> Device Drivers                                                                                                                                                       │
  │       -> Sound card support (SOUND [=y])                                                                                                                                    │
  │         -> Advanced Linux Sound Architecture (SND [=y])                                                                                                                     │
  │   Selects: SND_OSSEMUL && SND_PCM                                                                                                                                           │


  │ CONFIG_SND_SUPPORT_OLD_API:                                                                                                                                                 │
  │                                                                                                                                                                             │
  │ Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3                                                                                                              │
  │ or older).                                                                                                                                                                  │
  │                                                                                                                                                                             │
  │ Symbol: SND_SUPPORT_OLD_API [=n]                                                                                                                                            │
  │ Prompt: Support old ALSA API                                                                                                                                                │
  │   Defined at sound/core/Kconfig:126                                                                                                                                         │
  │   Depends on: SOUND && !M68K && SND                                                                                                                                         │
  │   Location:                                                                                                                                                                 │
  │     -> Device Drivers                                                                                                                                                       │
  │       -> Sound card support (SOUND [=y])                                                                                                                                    │
  │         -> Advanced Linux Sound Architecture (SND [=y])                                                                                                                     
Back to top
View user's profile Send private message
trustlix
n00b
n00b


Joined: 25 May 2004
Posts: 20
Location: Brazil

PostPosted: Sat Jun 27, 2009 11:47 am    Post subject: Reply with quote

lamawithonel wrote:
The problem was in the kernel. I modularized everything OSS and stripped out support for the old ALSA API and now everything works fine.\


Cool, it solved the flash problem here too!

Regards.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum