Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble getting ALSA to work with nVidia nForce
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MrBlond83
n00b
n00b


Joined: 02 Nov 2006
Posts: 25

PostPosted: Tue Nov 07, 2006 4:47 am    Post subject: Trouble getting ALSA to work with nVidia nForce Reply with quote

Greetings all,

I have more or less just finished installing gentoo for the first time. I'm really amazed about the ease of the installation, after reading so much about Gentoo in the two weeks previous to actually starting to install it, I saw many posts about people having difficiulties with it, not to mention the posts about installation taking 7 days and what not. Well, I went ahead and read the guides on gentoo-wiki, installed it on Reiser4 from Stage 1, and I think it took me about one day total until I had Xorg and KDE installed. So, it was a pleasant suprise to see that.

The one thing I cannot seem to get to work is sound. I have an Asus A7N8X-E Deluxe motherboard, with nVidia nForce2 soundstorm onboard audio. The sound has been working perfectly when I was using Ubuntu, so I have no doubt that it is supported in linux and should work. In Ubuntu, it also gave me two sound addresses, 0,0 for regular audio and 0,1 for IEC958, which was very nice to have.

But now, I can't get it to work. I have followed this guide to the letter:
[url]http://gentoo-wiki.com/HOWTO_ALSA_Complete_(includes_dmix)[/url]

Until the dmix part, and everything worked as it should, i did not get a single error message. After finishing that, KDE arts also stopped the alert I had when logging in, so I figured it should be working. However, my happyness was premature, as the Control Center's "test sound" is not working, and neither is mpg123. mpg123 pretends to play the selected file and yields no error message, but there is still no sound. I have also used alsamixer to unmute everything, and saved the settings, but still the same happens.

The kernel module I installed is intel8x0, as suggested by the ALSA Matrix for nvidia cards.

Any idea as to what I'm doing wrong? Here is my /etc/modules.d/alsa :

Code:
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/dsp snd-pcm-oss
options snd cards_limit=1
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Nov 07, 2006 6:24 am    Post subject: Reply with quote

I'm not explicitly familiar with that motherboard, but I maybe I can help a bit.

I recently tested the onboard audio chip on my motherboard and like yours it was suppose to be the intel8x0 sound module.
Unfortunately, although all documentation said this was the correct driver, it turned out it wasn't although it loaded fine and showed no errors.

I would suggest if you still have the Ubuntu CD, boot off it and see what module it is loaded and any messages in dmesg.
Back to top
View user's profile Send private message
salmonix
Guru
Guru


Joined: 16 Jul 2006
Posts: 410

PostPosted: Tue Nov 07, 2006 9:16 am    Post subject: Reply with quote

Similar happened to my nForce3 card.
The kernel driver is working.
What U should try:

Download the latest alsla lib, install it and run it.
It seems that it does not matter if the support is module or built in kernel.
Of course alsa must be restarted and reconfigured.
For me that worked.

(see http://www.vectorlinux.com/forum2/index.php?topic=454.0 for details in my case.)
_________________
Quis custodiet ipsos, custodes?
Back to top
View user's profile Send private message
MrBlond83
n00b
n00b


Joined: 02 Nov 2006
Posts: 25

PostPosted: Tue Nov 07, 2006 6:15 pm    Post subject: Reply with quote

The plot thickens. Here is the lsmod output when running from Ubuntu 6.06.1 CD (I verified sound was working there):
Code:
Module                  Size  Used by
ntfs                  103536  1
nls_utf8                2176  1
vfat                   13440  1
fat                    53020  1 vfat
usb_storage            74176  1
ipv6                  265728  6
rfcomm                 40216  0
l2cap                  26244  5 rfcomm
bluetooth              49892  4 rfcomm,l2cap
ppdev                   9220  0
lp                     11844  0
radeon                116000  1
drm                    73236  2 radeon
cpufreq_userspace       4696  0
cpufreq_stats           5636  0
freq_table              4740  1 cpufreq_stats
cpufreq_powersave       1920  0
cpufreq_ondemand        6428  0
cpufreq_conservative     7332  0
video                  16260  0
tc1100_wmi              6916  0
sony_acpi               5644  0
pcc_acpi               12416  0
hotkey                 11556  0
dev_acpi               11140  0
container               4608  0
button                  6672  0
acpi_sbs               19980  0
battery                 9988  1 acpi_sbs
i2c_acpi_ec             5120  1 acpi_sbs
ac                      5252  1 acpi_sbs
dm_mod                 58936  1
md_mod                 72532  0
tsdev                   8000  0
parport_pc             35780  1
sk98lin               164832  0
analog                 12320  0
pcspkr                  2180  0
psmouse                36100  0
gameport               15496  1 analog
parport                36296  3 ppdev,lp,parport_pc
floppy                 62148  0
rtc                    13492  0
snd_intel8x0           33692  1
snd_ac97_codec         93088  1 snd_intel8x0
snd_ac97_bus            2304  1 snd_ac97_codec
snd_pcm_oss            53664  0
snd_mixer_oss          18688  1 snd_pcm_oss
snd_pcm                89864  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
shpchp                 45632  0
serio_raw               7300  0
snd_mpu401              6728  0
snd_mpu401_uart         7808  1 snd_mpu401
snd_rawmidi            25504  1 snd_mpu401_uart
snd_seq_device          8716  1 snd_rawmidi
snd_timer              25220  1 snd_pcm
snd                    55268  12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_timer
nvidia_agp              8348  1
i2c_nforce2             6912  0
pci_hotplug            29236  1 shpchp
soundcore              10208  1 snd
snd_page_alloc         10632  2 snd_intel8x0,snd_pcm
agpgart                34888  2 drm,nvidia_agp
i2c_core               21904  2 i2c_acpi_ec,i2c_nforce2
af_packet              22920  4
sg                     37920  0
evdev                   9856  1
skge                   38800  0
forcedeth              30732  0
squashfs               44980  1
unionfs                89884  1
loop                   17288  2
nls_cp437               5888  3
isofs                  37688  1
ide_generic             1536  0
ehci_hcd               34184  0
ohci_hcd               21892  0
usbcore               130692  4 usb_storage,ehci_hcd,ohci_hcd
ohci1394               35124  0
ieee1394              299832  1 ohci1394
ide_cd                 33028  1
cdrom                  38560  1 ide_cd
generic                 5124  0
amd74xx                15260  0 [permanent]
sata_nv                 9732  0
sd_mod                 19984  5
sata_sil                9348  6
libata                 78992  2 sata_nv,sata_sil
scsi_mod              139496  4 usb_storage,sg,sd_mod,libata
thermal                13576  0
processor              23360  1 thermal
fan                     4868  0
capability              5000  0
commoncap               7296  1 capability
vga16fb                13704  1
vgastate               10368  1 vga16fb
fbcon                  42784  72
tileblit                2816  1 fbcon
font                    8320  1 fbcon
bitblit                 6272  1 fbcon
softcursor              2304  1 bitblit


And here is my lsmod output when running Gentoo:
Code:
Module                  Size  Used by
snd_seq                50768  0
snd_seq_device         10636  1 snd_seq
snd_pcm_oss            25888  0
snd_mixer_oss          18048  1 snd_pcm_oss
snd_intel8x0           31260  2
snd_ac97_codec         94240  1 snd_intel8x0
snd_ac97_bus            6272  1 snd_ac97_codec
snd_pcm                63748  4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              21892  3 snd_seq,snd_pcm
snd                    47204  10 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              10208  1 snd
snd_page_alloc         11656  2 snd_intel8x0,snd_pcm
radeon                113568  2
drm                    73492  3 radeon
nvidia_agp             10396  1
agpgart                29000  2 drm,nvidia_agp


The sound modules appear to be the same to me. Both use intel8x0 anyway. So I guess it's either Ubuntu loads another module that Gentoo doesn't, and that makes sound work in Ubuntu, which I find hard to believe because what other module would be needed for sound... Or Gentoo is loading a module that blocks the sound for some reason. Any idea?

EDIT: Okay, this is by far the strangest thing I have seen. I have just tested sound in Gentoo and it works. And I swear I did not make a single change to modules loading or config files. After many years of using Windows I've learned to expect the unexpected but this is really strange. Oh well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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