View previous topic :: View next topic |
Author |
Message |
el_timbo n00b
Joined: 05 Mar 2006 Posts: 16 Location: Somewhere buried under all these installation manuals...
|
Posted: Tue Mar 07, 2006 9:17 am Post subject: nForce4 Sound [Solved] |
|
|
Hi All!
This is my first post here, so just want to start by greeting you all!
I have recently installed Gentoo 2.6.15-r5 2006.0 on my computer which is:
Athlon 64 3200+ on an ABIT AN8-Ultra Mobo
Having spent a while getting the wireless networking going (cursed RT2500 chipset!!) I am now trying to get my sound functional
I have tried 3 methods:
1. Alsa by modules in the kernel - got everything apparently functioning (ie. alsaconf, alsamixer, the list of cards...), but no sound in KDE and throws up an error saying only autodetect is available, and then restarting the audio system just loops until you cancel it
2. Alsa by alsa-drver - pretty much the same results as above
3. nForce audio driver 1.0-0310 - mixer in KDE switches to nvmixer, still no sound, same autodetect error message in sound system config, and same looping audio system restart. The only plus in this one is that Code: | cat /dev/urandom > /dev/dsp | does produce white noise
I am at my wits end with this one...any help would be most appreciated
Oh, have also tried killing arts, but it just says no processes killed
Thanks in advance
Last edited by el_timbo on Tue Mar 28, 2006 10:06 am; edited 1 time in total |
|
Back to top |
|
|
kerick n00b
Joined: 20 Jan 2003 Posts: 59
|
Posted: Tue Mar 07, 2006 6:03 pm Post subject: |
|
|
I have a multiple nforce boards running *nix with sound.
Despite that I dropped nVidia's own sound modules due to incompatibility with 2.6.16, I remember that when I ran them I couldn't use alsa.
They are OSS drivers, so you have to make sure to have the oss options compiled into the kernel alsa enviroment. Mind you, don't compile in OSS Support, compile in Alsa support with OSS options enabled.
I don't remember whether arts is alsa only, but it should support both.
Make sure you set your use flags to oss and -alsa, load the nvsound module, and unmute in nvmixer.
after changing your use flags, it might be a good idea to recompile kde and arts.
Another suggestion would be to try out the alsa driver, AC97 or something, and just unmerge the nforce audio driver. _________________ -----------------
Thats funny, my post count tells me I'm a n00b... |
|
Back to top |
|
|
01mf02 Veteran
Joined: 21 Nov 2004 Posts: 1070 Location: Innsbruck, Austria
|
Posted: Wed Mar 08, 2006 1:45 pm Post subject: |
|
|
I have a nForce4 chipset here, and sound works completely nice. I have my ALSA in the kernel, and I use this /etc/asound.conf:
Code: |
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
format S32_LE
period_time 0
period_size 1024
# increased buffer_size because in my system 1024 cause bad
# audio performance (for totem media player and mplayer)
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
device 0
}
|
However, KDE's sound system seems to be a bit fucked up, so I would try ALSA output with another program, like mplayer (with option -ao alsa). |
|
Back to top |
|
|
el_timbo n00b
Joined: 05 Mar 2006 Posts: 16 Location: Somewhere buried under all these installation manuals...
|
Posted: Thu Mar 09, 2006 9:24 am Post subject: |
|
|
OK - I've managed to get sound through XMMS (using OSS as my source) and not using nvsound at all
But I still can't get KDE's sound system working
Do I need arts to have sound (ie. normal sounds for windows up/dow, system sounds) in kde?
and CDPlayer complains that I don't have a gstreamer plugin for my soundcard... _________________ [img=http://img152.imageshack.us/img152/4853/sigsml8mu.jpg] |
|
Back to top |
|
|
kerick n00b
Joined: 20 Jan 2003 Posts: 59
|
Posted: Thu Mar 09, 2006 4:19 pm Post subject: |
|
|
I don't use KDE anymore, but yes, you may want to recompile with arts support. Since arts is the kde sound daemon I would not be surprised if it piped all its sounds to arts regardless. Be sure to check the sound control panel to make sure you're piping the sound to alsa and that the sounds are enabled.
you're going to have to install gstreamer to get the plugin for the cdplayer. I'd make sure that alsa is in your use flags in make.conf and then try a emerge --newuse world. There are several dependencies for a few programs since you switched sound systems. _________________ -----------------
Thats funny, my post count tells me I'm a n00b... |
|
Back to top |
|
|
el_timbo n00b
Joined: 05 Mar 2006 Posts: 16 Location: Somewhere buried under all these installation manuals...
|
Posted: Mon Mar 20, 2006 2:00 pm Post subject: Still having Problems... |
|
|
OK - I'm still struggling with this
Have been using the ALSA approach - using kernel, not alsa-driver
Can use XMMS as root, but not as non-root user
And, when I use the test sound button in the sound control centre, I get sound, but when i try to use sounds for system notifications...nothing!
Starting to get very frustrated..and to lose track of the various things I have tried - which is worrying, because I don't know what I have put on the computer on my attempts to get this functional
Any help will be greatly appreciated! _________________ [img=http://img152.imageshack.us/img152/4853/sigsml8mu.jpg] |
|
Back to top |
|
|
el_timbo n00b
Joined: 05 Mar 2006 Posts: 16 Location: Somewhere buried under all these installation manuals...
|
Posted: Fri Mar 24, 2006 8:08 am Post subject: |
|
|
...I hate to do this but...bump |
|
Back to top |
|
|
bMd Tux's lil' helper
Joined: 07 Jul 2004 Posts: 110
|
Posted: Fri Mar 24, 2006 8:24 pm Post subject: |
|
|
sorry havent read whole thread.... but is your user part of the audio group?? |
|
Back to top |
|
|
SnEptUne l33t
Joined: 23 Aug 2004 Posts: 656
|
Posted: Fri Mar 24, 2006 10:09 pm Post subject: |
|
|
And KDE can work fine without Arts, it can use ALSA. Can you may wav file with aplay $filename as root? _________________ "There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114) |
|
Back to top |
|
|
el_timbo n00b
Joined: 05 Mar 2006 Posts: 16 Location: Somewhere buried under all these installation manuals...
|
|
Back to top |
|
|
el_timbo n00b
Joined: 05 Mar 2006 Posts: 16 Location: Somewhere buried under all these installation manuals...
|
Posted: Sat Mar 25, 2006 8:28 am Post subject: |
|
|
As for wav files through aplay, i get the following:
Code: |
localhost tbradley # aplay test.wav
ALSA lib pcm_direct.c:812:(snd_pcm_direct_initialize_slave) requested or auto-format is not available
ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:544: audio open error: Invalid argument
|
|
|
Back to top |
|
|
janlaur n00b
Joined: 14 Jun 2003 Posts: 57 Location: Denmark, Århus
|
Posted: Sat Mar 25, 2006 10:45 am Post subject: |
|
|
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/intel8x0.c?rev=1.237&view=log Quote: | Added MCP51 PCI ID to intel8x0 driver. | As you can see this fix was made in 1.0.11rc3. I dont know which version is in the current kernel, but the current in portage is 1.0.11rc4
So what i did was to disable alsa in my kernel (leaving ONLY sound support) and then emerge alsa-driver, with ALSA_CARDS="intel8x0"
So now i got alsa sound on my nforce4 pc.
My lspci line is Quote: | 00:10.2 Multimedia audio controller: nVidia Corporation MCP51 AC97 Audio Controller (rev a2) | So if you got mcp51 this little fix might just work _________________ Det var mig der omsmeltede guldhornene |
|
Back to top |
|
|
el_timbo n00b
Joined: 05 Mar 2006 Posts: 16 Location: Somewhere buried under all these installation manuals...
|
Posted: Tue Mar 28, 2006 10:08 am Post subject: Sorted |
|
|
OK...not quite sure how i fixed it...but, I fixed it - I think I may have had some use flag problems, but I've sorted it all now...xmms works for non root, and System notifications work
Happy days!! |
|
Back to top |
|
|
|