Hi, I'm using Crux quite long but still has problems with allowing sound for firefox, mplayer and other Xapps in the same time. I'm using ThinkPad T21 and have Sound Fusion CS46xx. After some time decide that maybe esd would solve my problems. But it's seems not. I have proper modules. start esd with: /usr/bin/esd -nobeeps -trust & After setting -ao esd mplayer works fine (I have sound), but cannot get sound in flash and I can have sound in mplayer plugin in Firefox or in Mplayer. I've made some many tries that is quite hard to send all of setting related to sound and I think is better to start once more from scratch. Would you like to share your 'crux sound' settings/experience? I'm using fluxbox and have no special sound needs, have it in firefox (flash), mplayer and any mp3/ogg player. Regards, Wawrzek -- Wawrzyniec Niewodniczański (in some countries know as Larry) vel LarryN E-MAIL: wawrzyniec.niewodniczanski@pwr.wroc.pl PhD student @ JID: larryn@chrome.pl Wroclaw University of Technology TEL: +48(071)320-2894
On Sat, Sep 01, 2007 at 11:14:57PM +0200, Wawrzyniec Niewodniczański wrote:
Hi,
I'm using Crux quite long but still has problems with allowing sound for firefox, mplayer and other Xapps in the same time. I'm using ThinkPad T21 and have Sound Fusion CS46xx. After some time decide that maybe esd would solve my problems. But it's seems not.
Use ALSA. Check http://www.alsa-project.org/main/index.php/Main_Page if you need help with configuration. -- Fredrik Rinnestam
On Sat, Sep 01, 2007 at 11:20:26PM +0200, Fredrik Rinnestam wrote:
On Sat, Sep 01, 2007 at 11:14:57PM +0200, Wawrzyniec Niewodniczański wrote:
Hi,
I'm using Crux quite long but still has problems with allowing sound for firefox, mplayer and other Xapps in the same time. I'm using ThinkPad T21 and have Sound Fusion CS46xx. After some time decide that maybe esd would solve my problems. But it's seems not.
Use ALSA. Check http://www.alsa-project.org/main/index.php/Main_Page if you need help with configuration.
Thanks for suggestion. I should point that I've start to use esd hoped it would work better that alsa. However, alsa can be good start point. I've stopped esd. It's seems to works in some area (sound from gajim and in flashplyer). However, I cannot have sound in firefox and mplayer the same time. Mplayer reports: alsa-lib: pcm_hw.c:1242:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy alsa-init: playback open error: Device or resource busy Could not open/initialize audio device -> no sound. My /etc/modprobe.conf sound setting are: #SOUND alias snd-card-0 snd-cs46xx alias sound-slot-0 snd-cs46xx options snd-cs46xx thinkpad=1 alias /dev/dsp snd-pcm-oss and .asoundrc: pcm.cs46xx { type hw card 0 } ctl.cs46xx { type hw card 0 } pcm.dsp { type plug slave.pcm "hw:0" } ctl.mixer0 { type hw card 0 } Cheers, Wawrzek -- Wawrzyniec Niewodniczański (in some countries know as Larry) vel LarryN E-MAIL: wawrzyniec.niewodniczanski@pwr.wroc.pl PhD student @ JID: larryn@chrome.pl Wroclaw University of Technology TEL: +48(071)320-2894
Hi, I think you need to configure dmix. It seems like you don't have it going into dmix. Don't remember exactly how the config goes. But it should be on the website www.alsa-project.org On 9/1/07, Wawrzyniec Niewodniczański <wawrzyniec.niewodniczanski@pwr.wroc.pl> wrote:
On Sat, Sep 01, 2007 at 11:20:26PM +0200, Fredrik Rinnestam wrote:
On Sat, Sep 01, 2007 at 11:14:57PM +0200, Wawrzyniec Niewodniczański wrote:
Hi,
I'm using Crux quite long but still has problems with allowing sound for firefox, mplayer and other Xapps in the same time. I'm using ThinkPad T21 and have Sound Fusion CS46xx. After some time decide that maybe esd would solve my problems. But it's seems not.
Use ALSA. Check http://www.alsa-project.org/main/index.php/Main_Page if you need help with configuration.
Thanks for suggestion. I should point that I've start to use esd hoped it would work better that alsa.
However, alsa can be good start point. I've stopped esd. It's seems to works in some area (sound from gajim and in flashplyer). However, I cannot have sound in firefox and mplayer the same time. Mplayer reports:
alsa-lib: pcm_hw.c:1242:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy alsa-init: playback open error: Device or resource busy Could not open/initialize audio device -> no sound.
My /etc/modprobe.conf sound setting are: #SOUND alias snd-card-0 snd-cs46xx alias sound-slot-0 snd-cs46xx
options snd-cs46xx thinkpad=1
alias /dev/dsp snd-pcm-oss
and .asoundrc: pcm.cs46xx { type hw card 0 }
ctl.cs46xx { type hw card 0 }
pcm.dsp { type plug slave.pcm "hw:0" }
ctl.mixer0 { type hw card 0 }
Cheers, Wawrzek -- Wawrzyniec Niewodniczański (in some countries know as Larry) vel LarryN E-MAIL: wawrzyniec.niewodniczanski@pwr.wroc.pl PhD student @ JID: larryn@chrome.pl Wroclaw University of Technology TEL: +48(071)320-2894 _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
-- Windows 9x: noun, Updated 32-bit add-on to the 16-bit GUI of an 8-bit OS, coded for a 4-bit CPU by a 2-bit company that can't stand 1-bit of competition.
Hi, Thank you for your advice. It quite interesting that even if your suggestion haven't directly help me, it allow to refresh my point of view. Resolution: In the case of my card I don't need dmix, because my card can mix up to 31 'sound source'. However, I had to enable CONFIG_SND_CS46XX_NEW_DSP=y option in the kernel (experimental) [1]. I guess the Denis suggesion about dmix will work in most cases. Cheers. Wawrzek [1] http://alsa.opensrc.org/index.php/Cs46xx -- Wawrzyniec Niewodniczański (in some countries know as Larry) vel LarryN E-MAIL: wawrzyniec.niewodniczanski@pwr.wroc.pl PhD student @ JID: larryn@chrome.pl Wroclaw University of Technology TEL: +48(071)320-2894
That's good. :P I guess that new dsp allows the hardware mixing to be enabled. I used to have the laptop and I gave up on it coz of the same problem with mixing. Dmix works ok but had latency issues. I'm glad you resolved it. On 9/2/07, Wawrzyniec Niewodniczański <wawrzyniec.niewodniczanski@pwr.wroc.pl> wrote:
Hi,
Thank you for your advice. It quite interesting that even if your suggestion haven't directly help me, it allow to refresh my point of view.
Resolution: In the case of my card I don't need dmix, because my card can mix up to 31 'sound source'. However, I had to enable CONFIG_SND_CS46XX_NEW_DSP=y option in the kernel (experimental) [1]. I guess the Denis suggesion about dmix will work in most cases.
Cheers. Wawrzek
[1] http://alsa.opensrc.org/index.php/Cs46xx -- Wawrzyniec Niewodniczański (in some countries know as Larry) vel LarryN E-MAIL: wawrzyniec.niewodniczanski@pwr.wroc.pl PhD student @ JID: larryn@chrome.pl Wroclaw University of Technology TEL: +48(071)320-2894 _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
-- Windows 9x: noun, Updated 32-bit add-on to the 16-bit GUI of an 8-bit OS, coded for a 4-bit CPU by a 2-bit company that can't stand 1-bit of competition.
participants (3)
-
Dennis
-
Fredrik Rinnestam
-
Wawrzyniec Niewodniczański