Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa hw mixing support for nforce2 audio [How-To]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mog
Apprentice
Apprentice


Joined: 05 Jul 2003
Posts: 253
Location: Auckland [NZ]

PostPosted: Sun Jul 03, 2005 4:55 am    Post subject: Reply with quote

oh well, thanks for this :-P ... should have read the last post first ... would have saved me a quite a bit of time ...
_________________
To thine own self be true.
Back to top
View user's profile Send private message
ECantona
n00b
n00b


Joined: 26 Apr 2005
Posts: 65

PostPosted: Sun Jul 03, 2005 9:12 pm    Post subject: Reply with quote

I have pure 64 bit system and nforce4 chipset, I didn't follow this guide but I have followed Gentoo's ALSA guide and I definitely don't have hardware mixing. So what am I missing? Do have to add deprecated OSS support into my kernel, or do I have to emerge nforce-audio from testing branch? I am a bit confused :roll:
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Mon Jul 04, 2005 4:16 am    Post subject: Reply with quote

NForce4 onboard sound has no DSP, so there will never be HW mixing for it. I've seen a thread on SW mixing setup though.
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Mon Jul 04, 2005 9:55 pm    Post subject: Reply with quote

how about nforce3? does that also lack the "DSP" thing?

yeah, the dmix Howto in the Gentoo Wiki is what i'd recommend for software mixing (works with my nforce3 250Gb). still, it seems more of a hack then a solution. i'll probably get a SB Audigy card soon, as that supports HW mixing and would probably be nicer than nforce's builtin sound.
_________________
Sheepdog
Why Risk It? | Samba Howto
Back to top
View user's profile Send private message
dhasenan
n00b
n00b


Joined: 13 Jan 2005
Posts: 41
Location: NYS

PostPosted: Wed Jul 13, 2005 4:18 am    Post subject: Reply with quote

Tried this, doesn't work.

I'm using gentoo-sources 2.6.11-r11. On 2.6.11-r6, I had sound working, though it was stuck at 48KHz (which made Flash exciting). I tried it with OSS disabled at first and ALSA enabled, then with both ALSA and OSS enabled. Every time, Rhythmbox complains about not being able to create audio output elements, whatever that means.
_________________
I admit it, it's my fault.
Back to top
View user's profile Send private message
Miszczu
Apprentice
Apprentice


Joined: 12 Apr 2005
Posts: 177

PostPosted: Thu Jul 14, 2005 10:03 am    Post subject: Reply with quote

I do everything like in 1st post and ... hw mixing dosen't work :/ I have sound on alsa and oss drivers, but only on jack, on optical s/pdif there isn't any sound, alasmixer recognize my card, but nvmixer don't
Thx for any answer
Back to top
View user's profile Send private message
Mben
Guru
Guru


Joined: 29 Mar 2004
Posts: 465
Location: New York, USA

PostPosted: Fri Jul 15, 2005 8:14 pm    Post subject: Reply with quote

seems to work for me. i dont understand why eaither though
Back to top
View user's profile Send private message
neodingo
n00b
n00b


Joined: 17 Feb 2003
Posts: 4

PostPosted: Sat Aug 13, 2005 1:50 pm    Post subject: SWEEEEEEEEEEEEEEEEEET Reply with quote

this is the first tutorial that has actually worked for my nForce2 board, i have to use aoss for multiple streams, but it works, and it barely ever pops, even playing q3a/ut2k4!!!! hazaaaa for gentoo
Back to top
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Sun Sep 18, 2005 12:03 pm    Post subject: Reply with quote

Does this tutorial work also for nvidia nforce1?
Back to top
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Sun Sep 18, 2005 8:39 pm    Post subject: Reply with quote

Ok I tried it and sound and nvmixer works, but nvmixer doesn't save options, so when I close it and run it again ewerything is det to default. Any suggestions? I would also like to know if it is possible to adjust freqences? I also get this error at boot: FATAL: Module snd_intel8x0 not found.
Back to top
View user's profile Send private message
sparkmaul
n00b
n00b


Joined: 07 Dec 2005
Posts: 1

PostPosted: Wed Dec 07, 2005 7:06 am    Post subject: Reply with quote

For the past several months, I've been using the OSS-only nvsound module, without any ALSA stuff whatsoever. It automatically does nice hardware mixing between anything that outputs to /dev/dsp.

In my kernel, I compile in "<*> Sound card support" and leave ALSA and OSS unselected.

Then I just emerge nforce-audio, and modprobe nvsound. That creates a /dev/dsp, and everything just seems to work as well as it did back in Windows.

(note that nforce-audio in Portage is currently a couple versions behind, but it'll grab the latest if you make a copy into a Portage overlay, and rename the file to nforce-audio-1.0.0310.ebuild, or whatever the latest version is at the time you read this)
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Wed Dec 07, 2005 7:20 am    Post subject: Reply with quote

If anyone uses alsa and has mixing: This is not hardware mixing. The alsa-lib from version 1.0.10 above, also the pre, support dmix out of the box.
And this causes pops on some machines.
Back to top
View user's profile Send private message
cordor
n00b
n00b


Joined: 18 May 2004
Posts: 4

PostPosted: Wed Dec 07, 2005 6:16 pm    Post subject: Reply with quote

alsa works perfect for me, except that i need nvmixer(need nvsound) to activate 4.0 or 5.1 speakers. Anyone knows a solution to change speakers settings without using nvmixer?
Back to top
View user's profile Send private message
Garak128
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 93

PostPosted: Sat Dec 10, 2005 3:17 pm    Post subject: Reply with quote

I dunno, I keep trying alsa, dmix, or nvsound (oss?) every month or 2.. They all work.. But hardware mixing? I can never get any mixing to work at all. If I try to run something that plays sound, while another sound apps running, like amarok playing music.. I get mad errors/lockups/etc... Pretty much given up on it, hoping an update will fix it someday.

I keep alsa and stuff up to date, but nope still nothing will mix.
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Thu Feb 09, 2006 5:52 am    Post subject: OSS2Jack Reply with quote

I use OSS2Jack and run Jack continuously with this asound.conf

Code:
pcm.!default {
        type plug
        slave { pcm "jack" }
}
pcm.jackplug {
        type plug
        slave { pcm "jack" }
}
pcm.jack {
        type jack
        playback_ports {
                0 alsa_pcm:playback_1
                1 alsa_pcm:playback_2
                2 alsa_pcm:playback_3
                3 alsa_pcm:playback_4
                4 alsa_pcm:playback_5
                5 alsa_pcm:playback_6
        }
        capture_ports {
                0 alsa_pcm:capture_1
                1 alsa_pcm:capture_2
        }
}


on a BIOStar 200N. My .jackdrc looks like

Code:
/usr/bin/jackd -v -R -p512 -dalsa -dhw:0 -r48000 -p1024 -n2 -m -S -i2 -o6 -zt -H -M


and the revelant lspci stuff:

Code:
00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)


Running zugaina-gensync on ~x86 with a fusd and a oss2jack ebuild found on the net (can post links).

Cedega, Mplayer, Kaffeine and Amarok run simulatenously, even if I run:

Code:
mplayer -ao oss sound.mp3
mplayer -ao alsa sound.mp3
mplayer -ao jack sound.mp3


Jamin crashes oss2jack though (and also causes fictional dropouts if you don't run qjackctl on softmode).

The nvsound malarky on the Gentoo Wiki and this guide caused me no end of grief - I know I don't have hardware mixing or multiuser sound support - but I have Jack with no dropouts - ALSA/OSS/JACK progs running at the same time - and more free time on my hands. Please lemme know if someone gets all three working with hardware mixing!!!
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Sep 02, 2006 11:28 am    Post subject: Reply with quote

Yes links would be good. You refer to OSS , is this via alsa-oss? version numbers please , this stuff changes every time I look at it. Syncing versions, alsa, kernel,jack seem essencial to make sense of any of it.

I'm reluctantly having to use the onchip sound device since my ensoniq PCI seems to disagrree with this mobo. (AN7) In fact the onchip is pretty crappy despite the optical I/O since I get infernal popping from anything that moves on the screen: mouse = zzzzzzzzzzzzzzzt , text cusor pops continucally etc. I've had this on some sound cards before but the ensoniq seems better isolated.


I'm pissed off about the ensoniq because I need the gameport too. All was fine with my heavily o'c KX7-333 but now both (either) the snd card and my AHA-2940w cause a stack dump during the boot sequence.

Argh, even the smiley icons on the forum make a noise! This must GO! :evil:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43775
Location: 56N 3W

PostPosted: Sat Sep 02, 2006 11:35 am    Post subject: Reply with quote

Gentree,

This thread is a horrible mish-mash of alsa and oss. One post even talks about dmix, which is ALSA software mixing.

Anyway, for your mouse noise problem, try the kernel option nohlt.
Read about it in /usr/src/linux/Documentaion/kernel-parameters.txt
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Sep 02, 2006 11:48 am    Post subject: Reply with quote

many thanks,

I had a look at the doc and maybe missed how to apply the options but adding nohlt to my kernel line in grub.conf made no difference at all. In fact the noise during boot sounds like a storm is brewing. :x

in fact the doc said not much about what it does.
Code:

  nohlt   [BUGS=ARM]

  no-hlt    [BUGS=IA-32] Tells the kernel that the hlt
      instruction doesn't work correctly and not to
      use it.

  nohalt    [IA-64] Tells the kernel not to use the power saving
      function PAL_HALT_LIGHT when idle. This increases
      power-consumption. On the positive side, it reduces
      interrupt wake-up latency, which may improve performance
      in certain environments such as networked servers or
      real-time systems.


thx
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43775
Location: 56N 3W

PostPosted: Sat Sep 02, 2006 11:54 am    Post subject: Reply with quote

Gentree,

nohlt does not work for everyone, you add it to the end of the kernel line in grub.conf
It works by preventing the CPU going into low power states and 'waking up' every interrupt.
The switching between CPU power states causes fluctuations on the power supply which are coupled into soundcards.
Some motherboard/sound cards are more susceptable than others.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Sep 02, 2006 12:11 pm    Post subject: Reply with quote

OK, didnt work here. Thanks for the tip anyway.

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
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
Goto page Previous  1, 2
Page 2 of 2

 
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