Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nVidia nForce4 audio "MCP51 High Definition Audio"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Anthem
n00b
n00b


Joined: 17 Apr 2004
Posts: 9

PostPosted: Mon Feb 20, 2006 3:25 am    Post subject: nVidia nForce4 audio "MCP51 High Definition Audio" Reply with quote

After a hours of searching and trying various things, I finally got my on-board audio to work.

The board is an MSI nForce4 with on-board audio. The motherboard box says the audio card is a RealTek ALC880, but lspci reports it as "nVidia Corporation MCP51 High Definition Audio (rev a2)"

What didn't work:
Trying to find something in the kernel
In the kernel, if my card were supported, I expected I'd find some kind of nVidia reference. However, the only ALSA card that mentions nVidia in the 2.6.15 kernel is an AC97 card. lspci didn't call it an AC97, so unsurprisingly, this didn't work.

nVidia's binary drivers
I tried nVidia's binary OSS drivers (NFORCE-Linux-x86_64-1.0-0310-pkg1.run), but 'modprobe nvsound' didn't create any device nodes with udev. Nothing indicated any kind of failure, so I kept trying. After realizing this was a dead-end, I moved on to:

RealTek's drivers
Since the MB docs claimed I had a RealTek card, I tried their binary drivers. I had some luck, but alsamixer wouldn't start. I realized it was using the snd_hda_intel module, and being that I like doing my kernels the manual way, I tracked this down as Intel HD Audio and compiled it into the kernel. I had the same problem as with the RealTek drivers -- alsamixer wouldn't start. I had to try something else.

What worked:
I found this: http://gentoo-wiki.com/HARDWARE_Clevo_M38AW#Audio_with_ALSA

It was meant for a different board than mine, but I thought maybe it could help. I recompiled my kernel with snd_hda_intel as a module instead of built-in, and added the model=5stack line to modules.autoload.d. It worked!

The controls shown in alsamixer aren't quite what I'm used it, since I've almost always used Creative products, but I unmuted and turned up the levels on PCM, Front, Surround, Center and Side, and I can now clearly hear my audio.

The trick was getting out of the idea that I needed some kind of nVidia-specific driver, and then to figure out what kind of chipset it really used.

Hope this helps some of you out there!
Back to top
View user's profile Send private message
Anthem
n00b
n00b


Joined: 17 Apr 2004
Posts: 9

PostPosted: Mon Feb 20, 2006 3:29 am    Post subject: One more thing... Reply with quote

Oh, also, if you stop and restart the alsasound init script after the initial module load, you may need to rmmod and modprobe snd_hda_intel again, explicitly adding the model=5stack parameter.

I don't advise doing this, however. At least once, stopping alsasound has caused a kernel panic while unloading the module.
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Tue Feb 28, 2006 1:55 pm    Post subject: Reply with quote

Thanks! Now at least I have some sound.

But:
Mplayer hangs after a few frames of playback. If I compile it with USE=rtc, it freezes right away. It doesn't if I unload the module, so I blame it.
XMMS plays, but there's a lot of noise.

Haven't tried anything else yet, as I just got my system up and running. Do you have any of these problems?
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Fri Oct 06, 2006 6:52 pm    Post subject: Reply with quote

http://xopen.dyndns.org/linux/v6024ea/

Another brick...
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Tue Oct 17, 2006 9:54 pm    Post subject: Reply with quote

This is my kernel
Code:
jarod ~ # uname -a
Linux jarod 2.6.18-gentoo-r1 #2 SMP Mon Oct 16 21:44:48 CEST 2006 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-50 AuthenticAMD GNU/Linux

this is my alsa_cards option in /etc/make.conf
Code:
jarod ~ # cat /etc/make.conf | grep ALSA
ALSA_CARDS="hda-intel"

now, alsa-driver installed version:
Code:
jarod ~ # emerge -pv alsa-driver

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-sound/alsa-driver-1.0.13  USE="-debug -doc -oss" 0 kB


run alsaconf,PCM's volume that's ok!
Luca.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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