LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-26-2003, 01:13 PM   #1
KillerFry
Member
 
Registered: Aug 2003
Distribution: Any that works how I want it to!
Posts: 39

Rep: Reputation: 15
nForce2 nvaudio and Slackware 9


Hey there!

I'm having some problems getting the nvaudio module to work correctly on Slackware 9. I am using the 2.4.22 Kernel.

If in the Kernel I do not compile the Intel i8xx/nForce Audio support and just install the nVidia drivers later on, next time I boot Linux the nvaudio gives me a lot of unresolved symbols concerning AC_97 and does not load.

If I put the Intel i8xx/nForce Audio support, Linux boots and I do get audio. Yet, it is not using the nvaudio module. If I try to load it, it says that no media is detected. I believe this is because the media is used by the Intel i8xx/nFoce Audio module in the Kernel.

Is there a way to get Linux to use the nvaudio module properly? Or is it totally okay if I live by the i8xx module?

Also, once the i8xx module loads, it defaults to 2-channels. Is there a way to get all 6 to work?

Oh yeah! And for some reason I can't play music CDs. mp3s work fine, but not a CD. :S

Thanks in advance people!

Thanks!
 
Old 09-26-2003, 01:20 PM   #2
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
You need to load the i810 audio support as that sets up the AC'97 support required by the nvaudio driver. Once you have all that compiled and installed, compile and install the nvaudio driver. It should load without the unresolved symbols at this point so all that remains to be done is to add the line to modprobe it to /etc/rc.d/rc.modules (I put it in with the rest of the sound card stuff but it doesn't matter where it goes) and add the following to /etc/modules.conf to set up the required device aliases and prevent everything being played at the wrong speed if you're using analogue out instead of digital:

Code:
alias /dev/dsp nvaudio
alias /dev/sequencer nvaudio
alias /dev/mixer nvaudio

# change spdif_status to 1 to enable digital out; this will cause audio
# playback to be clamped to 48KHz which can cause some programs to play
# back audio at the wrong speed.
options nvaudio spdif_status="0"
edit: As for enabling 6 channel output I'm pretty sure it's possible but as I only have 2 speakers at the moment I haven't looked seriously at enabling it on my 8RDA+

Also, with respect to audio CDs, you do have the right audio cable running from your CD-ROM drive into the CD_IN socket on your motherboard? You won't generally hear CD audio under Linux without it as Digital Audio Extraction isn't as commonplace on Linux as it is on Windows. I know theres a plugin that enables XMMS to do it but I don't think it's included in the base XMMS package and I wouldn't know where to start looking for it either.

Last edited by LSD; 09-26-2003 at 01:24 PM.
 
Old 09-26-2003, 01:48 PM   #3
KillerFry
Member
 
Registered: Aug 2003
Distribution: Any that works how I want it to!
Posts: 39

Original Poster
Rep: Reputation: 15
Does the i810 audio support have to be added directly on the Kernel, or as a module? Because when I've had it directly on the Kernel, modprobe nvaudio gives me some errors along the lines of not being able to find any media.

If I enable i810 as a module, then Linux freezes at boot time after loading nvaudio. That's what puzzling me. Nevertheless I did not add those lines to /etc/modules.conf. I shall give it another try.

Thanks dude, you've been a lot of help

PS OH! An no, I don't have the audio cable from the CD to the audio CD_IN because WinXP doesn't use it. Hehehe, I actually was thinking Linux did before I read your answer. I guess I'll have to dig one out to put it.
 
Old 09-26-2003, 02:57 PM   #4
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
I have it compiled as a module on my Slack install and that's probably the best way to have it as when you load nvaudio it pulls in soundcore, ac97_codec and I think even i810_audio as dependencies. It should work just as well when compiled into the kernel but I think I'd still recommend you modularise it as that's the way I know it works for absolute certain.
 
Old 09-29-2003, 09:37 AM   #5
KillerFry
Member
 
Registered: Aug 2003
Distribution: Any that works how I want it to!
Posts: 39

Original Poster
Rep: Reputation: 15
Hey there!!!

I'm back again with nforce2 audio questions. Well, what I did was that I compiled i810 support as a module, then installed the nvaudio module and BAM! The computer freezes at boot. Don't know why.

But when i810 is installed hard into the Kernel, I do get audio but from the i810 module, not nvaudio. And when I try to modprobe nvaudio I get this:

================================================
/lib/modules/2.4.22/modules.dep
/lib/modules/2.4.22/kernel/drivers/sound/nvaudio.o: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/sound/nvaudio.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/sound/nvaudio.o: insmod /lib/modules/2.4.22/kernel/drivers/sound/nvaudio.o failed
/lib/modules/2.4.22/kernel/drivers/sound/nvaudio.o: insmod nvaudio failed
==========================================

I guess it fails to detect the device since it is already taken by the i810 module.

Theorically it all work fine with the i810 module, but... I dunno... I would preffer to use nVidia's own driver.


EDIT:

I checked nVidia's own forums, and found this on a thread:


5zymon:
"jim64 when you are compiling kernel in menu sonund. Leave only i810, nforce support . you should have sound working fine. But i have with it problem too . Sound works, but it doesn`t want to work in full duplex mode. When i play quake or tux racer i get no sound. when i turn duplex mode to on, i got error cpu overload and sound works in games , but in desktop it does not . I want to use nvaudio module. But when i try to load it computer hangs and i have to reboot. Basicly...i don`t know what to do . When i don`t compile the i810 support in kernel i also don`t have ac97_codec suppor and nvaudio doesn`ty want to work ;(.
my distro is slack 9.0"

This is basically what heppens to me too, hehehe. The thread's link is: http://www.nvnews.net/vbulletin/show...threadid=14264

They don't put a solution later on

Last edited by KillerFry; 09-29-2003 at 09:46 AM.
 
Old 09-29-2003, 03:57 PM   #6
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Rep: Reputation: 15
I am noob.
I have abit nf7 with realtek audio ac codek (not original one nvidia nf2 one) and it works nice with compiled kernels in2.4 ,2.5x and 2.6.0-test5 under dead-rat.
Today i installed slack9.1 and it still ok.

So in kernel conf you MUST to choose 810/.../nvidia support-it is compiled in as such to kernel.
no additional module loading is neccessary , maybe you have original nvidia sound ,then it may be different.so tell what hardware you run on.but what you describe-you have ac codec alc650 too on your system.

about channels-again while making menuconfig or xconfig-there is option under sound support-to choose how many channels you have. options are 2, 4 or 6 channels.choose correct one.


what you mean you cant play music cd-s?
is your cd mounted?
is some application starting or is it possible to start some cdplayer program?witch program you tried to play them.
do you have cd-audio cable installed on system?
 
Old 09-30-2003, 02:16 AM   #7
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
If you have the i810 stuff compiled as a module then you should also be able to compile and install nVidia's nvaudio modules without any trouble as they rely on the ac97_codec module that gets compiled as a result of including this module.

Personally though, now that Slackware supports it, I'd forget about the kernel OSS stuff and download and install the ALSA drivers as these need nothing in the way of kernel support (apart from generic sound support that is) to be included before they'll work. Configuration is a bit more of a hassle as ALSA has a few more modules to contend with but to give you a hand, you need to add this to your existing modules.conf, removing any other sound aliases from the file and any other sound-related modprobe commands from /etc/rc.d/rc.modules:

Code:
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
 
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
alias snd-card-0 snd-intel8x0
options snd-intel8x0 mpu_port=0x330
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
alias sound-slot-0 snd-card-0
 
# OSS/Free portion - card #1
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
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
 
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias /dev/sequencer snd-seq-midi
 
# Set this to the correct number of cards.
options snd cards_limit=1
I use that with my 8RDA+ under both Gentoo and Slackware and it works perfectly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10 + Nforce2 Onboard LAN Tips orgee Slackware 6 01-12-2005 12:50 AM
nForce2 nic problem, slackware 10 Nan Slackware 1 09-19-2004 06:21 AM
Slackware, nforce2 (for audio and ethernet), and radeon (for X) Skazi Slackware 2 08-18-2004 05:06 AM
Slackware 10 nForce2 LAN Support tini1212 Slackware 6 07-12-2004 08:33 AM
slackware 9.1 w/ nforce2: problems rgarman Slackware 4 04-18-2004 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration