View previous topic :: View next topic |
Author |
Message |
chapel n00b
Joined: 05 Dec 2002 Posts: 12
|
Posted: Thu Apr 21, 2005 7:57 pm Post subject: |
|
|
I can't help you, but maybe you can help me. I have a Creative Labs MP3+ USB audio device hooked up to my laptop (as the internal card is a crappy SiS thing).
Anyways I recently switched from using OSS to Alsa. I compiled everything and use ARTS as a sound daemon (as Alsa Dmix would stop if there was too much hard disk usage or CPU usage, I think it was a buffer problem).
I can use beep-music-player, mplayer, sound notifications from my Jabber client.
But Flash in firefox (version 1.0.2) has no sound, I launch it with: Code: | artsdsp /usr/bin/firefox | (which worked before).
I have tried Code: | aoss /usr/bin/firefox | which also doesn't work.
Running from terminal gives no errors, just no sound.
I am wondering if there is a problem in Alsa and ARTS together as I upgraded my Arts recently and have started getting random skipping when listening to my MP3s. |
|
Back to top |
|
|
TheHeadSage n00b
Joined: 22 Feb 2005 Posts: 10
|
Posted: Fri Apr 22, 2005 1:41 pm Post subject: |
|
|
I had the same problem with sound no longer working in flash
What I did to fix it was re-emerge alsa-oss and that did the trick. _________________ - TheHeadSage |
|
Back to top |
|
|
n3x Apprentice
Joined: 14 Apr 2003 Posts: 247 Location: Kingston, Ontario (uni) Westport, CT (home)
|
Posted: Mon May 02, 2005 7:45 pm Post subject: |
|
|
I'm having a similar problem. This is what I get when I try to run aoss firefox. Firefox doesn't start, I just get the following:
Code: | > aoss firefox (james@n3x)
/opt/firefox/mozilla-xremote-client: error while loading shared libraries: /usr/lib/libaoss.so: cannot open shared object file: No such file or directory
Unknown error 127 from mozilla-xremote-client
Warning: Couldn't extract MOZ_USER_DIR from /opt/firefox/firefox-bin
/opt/firefox/firefox-bin: error while loading shared libraries: /usr/lib/libaoss.so: cannot open shared object file: No such file or directory
firefox-bin exited with non-zero status (127)
|
/usr/lib/libaoss.so definitely does exist, so I dunno what the problem is...
thanks |
|
Back to top |
|
|
ProtectionFault Apprentice
Joined: 14 Nov 2003 Posts: 170 Location: /dev/zero
|
Posted: Fri May 27, 2005 1:57 pm Post subject: |
|
|
Well, I solved the problem with the following commands (as root):
Code: | echo "firefox-bin 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "firefox-bin 0 0 disable" > /proc/asound/card0/pcm0c/oss |
_________________ ASUS Z87-PLUS, i7-4770, 2x8GB DDR3-1600, 700W OCZ Power Supply, EVGA GTX760 4GB, 3TB HDD, Gentoo ~amd64 (3.10.10, dm-crypt full disk, awesome) |
|
Back to top |
|
|
evil_getta n00b
Joined: 28 May 2005 Posts: 36 Location: Recco (GE), Italy
|
Posted: Thu Jun 16, 2005 3:48 pm Post subject: |
|
|
Thanks, i'v just going CRAZY _________________ Sono un informatico e quindi sono convinto che l'anima risieda nel BIOS |
|
Back to top |
|
|
korngerd Tux's lil' helper
Joined: 12 Mar 2004 Posts: 104
|
Posted: Sat Jun 18, 2005 8:42 pm Post subject: |
|
|
I don't know if this is going to help anyone, but I had the same problem on my old gentoo system. I recently re-did my entire system, and put in support for kernel OSS emulation. This is what my kernel config looks like now (gentoo-sources-2.6.11-r9):
Code: | #
# Sound
#
CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set |
Basically, I have "Device Drivers -> Sound -> Sound card" compiled as a module, with "Device Drivers -> Sound -> Advanced Linux Sound Architecture -> [Advanced Linux Sound Architecture, Sequencer support, OSS Mixer API, OSS PCM (digital audio) API]" all compiled as modules as well. My sound card (SB Live!) is compiled as a module as well ("Device Drivers -> Sound -> Sound card -> Advanced Linux Sound Architecture -> PCI devices -> Emu10k1 (SB Live!, Audigy, E-mu APS)"). Since I run a UDEV system, I generally let Hotplug detect my sound card, so I don't have anything sound related in my /etc/modules.autoload/kernel-2.6 file. I haven't emerged media-libs/alsa-oss or net-www/netscape-flash, but I do have the following "sound related" emerges:
Code: | media-sound/alsa-utils-1.0.8
media-sound/alsa-headers-1.0.9
media-sound/alsa-lib-1.0.9 |
I do have alsa-headers and alsa-lib unmasked (/etc/portage/package.keywords), but that may not really be necessary. That's all I have on my system, and flash sound seems to work perfectly. Hope this helps someone out there |
|
Back to top |
|
|
Alighieri Tux's lil' helper
Joined: 27 Jan 2005 Posts: 88
|
Posted: Sun Jun 19, 2005 1:52 pm Post subject: |
|
|
I was having this problem despite everything being setup correctly as far as I could tell. Turned out all I had to do was unmute the pcm channel. (In gnome, open the volume control and unmute pcm.) |
|
Back to top |
|
|
korngerd Tux's lil' helper
Joined: 12 Mar 2004 Posts: 104
|
Posted: Mon Jun 20, 2005 10:09 am Post subject: |
|
|
korngerd wrote: | I don't know if this is going to help anyone, but I had the same problem on my old gentoo system. I recently re-did my entire system, and put in support for kernel OSS emulation. This is what my kernel config looks like now (gentoo-sources-2.6.11-r9)
|
OK, I updated my kernel to gentoo-sources-2.6.11-r11, and Flash sound support was gone in Firefox. I think I pinpointed the problem (at least in my case), though. After losing Flash sound support in Firefox, I invoked the `/usr/sbin/alsaconf` utility, and let it re-do my /etc/modules.d/alsa file. That fixed Flash support in Firefox, but I had to remember to re-unmute my PCM and Master devices. So, if anyone attempts the `alsaconf` utility, remember to unmute your PCM/Master devices
Edit: BTW, you need to emerge alsa-utils in order to invoke `alsaconf` |
|
Back to top |
|
|
jwagner26 n00b
Joined: 23 Dec 2004 Posts: 10
|
Posted: Thu Jun 23, 2005 3:26 am Post subject: |
|
|
I ran into a similar problem recently after updating world and wasn't sure what had happened. I tried the alsaconf suggestion and for some reason it broke all sound. An "emerge -av alsa-driver" and a reboot fixed both sound issues after I restored my /etc/modules.d/alsa. Also, for some reason a reboot was required to fix it. I almost forgot about trying it since I rarely have to reboot when I'm in Linux. |
|
Back to top |
|
|
gregp01 Tux's lil' helper
Joined: 23 Feb 2004 Posts: 103
|
Posted: Thu Aug 18, 2005 11:35 pm Post subject: |
|
|
I'm having the same problem - no sound from the Flash plugin. I'm using Firefox-bin on AMD64, with ALSA and ALSA-OSS compiled as kernel modules and loaded. I've emerged emul-linux-x86-soundlibs. I've tried running as root and running "aoss firefox". I have both my PCM and Wave volumes unmuted and at 100 in alsamixer. I've verified that OSS output works by playing an MP3 with mpg123 (which just writes to /dev/dsp). Does anyone have any further suggestions? |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Wed Sep 21, 2005 8:18 pm Post subject: |
|
|
gregp01 wrote: | I'm having the same problem - no sound from the Flash plugin. I'm using Firefox-bin on AMD64, with ALSA and ALSA-OSS compiled as kernel modules and loaded. I've emerged emul-linux-x86-soundlibs. I've tried running as root and running "aoss firefox". I have both my PCM and Wave volumes unmuted and at 100 in alsamixer. I've verified that OSS output works by playing an MP3 with mpg123 (which just writes to /dev/dsp). Does anyone have any further suggestions? |
Please create and try ~/.asoundrc
Code: |
# ~/.asoundrc:
pcm.dsp0 {
type plug
slave.pcm "hw:0"
}
# or:
# pcm.dsp0 pcm.default
# if "default" hasn't been redefined
ctl.mixer0 {
type hw
card 0
} |
This works for me. For more options, please check
http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix
Good luck ! |
|
Back to top |
|
|
odocoileus n00b
Joined: 27 Dec 2004 Posts: 45
|
Posted: Sat Oct 15, 2005 6:53 pm Post subject: |
|
|
running alsaconf worked for me. thanks |
|
Back to top |
|
|
Henry_kay n00b
Joined: 31 Jan 2005 Posts: 43
|
Posted: Mon Oct 17, 2005 3:41 am Post subject: |
|
|
Just build oss emulation in the kernel as a module and then type
modprobe snd_pcm_oss |
|
Back to top |
|
|
|