Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nforce2 audio - help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
joshdor
n00b
n00b


Joined: 27 Jun 2004
Posts: 2

PostPosted: Sun Jun 27, 2004 3:02 am    Post subject: nforce2 audio - help Reply with quote

:cry:
I've read nearly every post on this forum looking for the answer I need, but I can't find it...

So, here's the situation:
I have Asus a7n8x DX mobo. Planning on using the onboard nvidia sound. Compiled ALSA into my 2.6.7 kernel. Everything seems good. I emerged the alsa-utils and everything. Unmuted with alsamixer, also double checked with gnome-alsamixer. So, I go to test out my sound with an mp3 through XMMS (configured to use ALSA plugin).

Something odd happens. It will play a fraction of the first second of the mp3, then repeat that about 7 times, then stop attempting playback. So, I jump out of X, and try to do mpg123 to see what that might do. ALSA complains about a device or resource being busy.

Basically, everything I want is going except for sound. Any help offered would be greatly appreciated
Back to top
View user's profile Send private message
jguidroz09
n00b
n00b


Joined: 27 May 2004
Posts: 49

PostPosted: Sun Jun 27, 2004 3:29 am    Post subject: Reply with quote

Which kernerl are you using?

I have an Asus a7n8x-x motherboard and alsa worked fine for 2.6.7-rc3-mm2, but didn't work 100% in 2.6.7-mm2.
Back to top
View user's profile Send private message
joshdor
n00b
n00b


Joined: 27 Jun 2004
Posts: 2

PostPosted: Sun Jun 27, 2004 6:40 am    Post subject: Reply with quote

i'm using 2.6.7-gentoo-r5 from gentoo-dev-sources
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Sun Jun 27, 2004 10:15 am    Post subject: Reply with quote

Have you emerge alsa-oss (and maybe also alsa-driver...) ? Have you tried mpg123 twice (sometimes oss players don't work the 1st time) ?
Back to top
View user's profile Send private message
carsten90
n00b
n00b


Joined: 30 Jun 2004
Posts: 21

PostPosted: Thu Jul 01, 2004 1:08 pm    Post subject: Reply with quote

Ah, nice... Ive an A7N8X-E Deluxe Mainboard and have the same symtoms.

Im Using the 2.6.7-gentoo-r6 Kernel.
My modules:
Module Size Used by
md5 3648 1
ipv6 230048 6
sg 29536 0
snd_intel8x0 29704 1
snd_ac97_codec 65860 1 snd_intel8x0
snd_mpu401_uart 6144 1 snd_intel8x0
snd_rawmidi 20580 1 snd_mpu401_uart
snd_seq_device 6792 1 snd_rawmidi
snd_pcm 85512 1 snd_intel8x0
snd_page_alloc 9032 2 snd_intel8x0,snd_pcm
snd_timer 21572 1 snd_pcm
snd 47332 9 snd_intel8x0,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer

The only messages i get is: cat /var/log/messages | grep sound:

Code:
Jul  1 07:10:31 Cypher No soundcards found.


Strange.

Some lines in /proc/pci:

Code:
  Bus  0, device   5, function  0:
    Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev 162).
      IRQ 5.
      Master Capable.  No bursts.  Min Gnt=1.Max Lat=12.
      Non-prefetchable 32 bit memory at 0xed000000 [0xed07ffff].
  Bus  0, device   6, function  0:
    Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev 161).
      IRQ 11.
      Master Capable.  No bursts.  Min Gnt=2.Max Lat=5.
      I/O at 0xe400 [0xe4ff].
      I/O at 0xd000 [0xd07f].
      Non-prefetchable 32 bit memory at 0xed080000 [0xed080fff].


cylgalad: Of course "emerge alsa-drivers" is not necessary for a 2.6-kernel...

Oh, and my /etc/modules.d/alsa:

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-intel8x0
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
 
# 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
 
# Set this to the correct number of cards.
options snd cards_limit=1

I can use the OSS-interface or ALSA, the same things happen...

Any ideas?

Thank you... :)

Carsten

EDIT: I discovered something just now:

A bit of dmesg:
Code:
ehci_hcd 0000:00:02.2: irq 11, pci mem e0820000
irq 11: nobody cared!
Disabling IRQ #11


/proc/pci and /dev/asound/cards:
Code:

0 [nForce2        ]: NFORCE - NVidia nForce2
                    NVidia nForce2 at 0xed080000, irq 11

told me, that the AC97 controller is at irq 11. It's just a thought and im a noob....[/code]
Back to top
View user's profile Send private message
carsten90
n00b
n00b


Joined: 30 Jun 2004
Posts: 21

PostPosted: Thu Jul 01, 2004 6:29 pm    Post subject: Reply with quote

Ahm, I looked for this "nobody care" problem... And found it:
https://forums.gentoo.org/viewtopic.php?t=188410

I recompile my kernel without ehci now and look, if it works then. thread-creater: look if ehci disables a irq... The irq could be used by the AC97 controller, too. In the thread they say, that it isnt possible to access any other devices on the irq if it is disabled... Perhaps I can do the kernel recompile today (GMT+1)..

Carsten

EDIT: YES! Thats it. My problem is currently solved: I didnt compile ehci. I think I wait for the next release... in the mm release it should already be fixed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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