Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Painless sound mixing using ALSA
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sat Jun 11, 2005 6:24 am    Post subject: Reply with quote

s41nt: If OSS's better, just use OSS emulation via alsa-oss. Simple fix (presumably).

Greven: Once again, I have no idea. Talk to the ALSA people if this becomes a prolonging issue.
Back to top
View user's profile Send private message
[Lx]-=Mystify=-
Apprentice
Apprentice


Joined: 16 Mar 2004
Posts: 180

PostPosted: Tue Jun 14, 2005 2:21 pm    Post subject: Reply with quote

does anyone know if the 1.0.9 drivers are already merged into the vanilla kernel tree?

i have heavy troubles compiling the alsa-driver package (see HERE), so i have to use the alsa drivers from the kernel tree...

but it want the software mixing, cause my intel8x0 doesn't support hardware mixing...
_________________
DARK IS NOT THE OPPISITE OF LIGHT
IT'S THE ABSENCE OF LIGHT
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Jun 14, 2005 9:22 pm    Post subject: Reply with quote

And I quote from the alsa site:

Quote:
> If so, then do I have to determine which particular version is
> in the kernel and then source the same versioned lib/utils packages ?

Version is available in linux/include/sound/version.h


So check /usr/src/linux/include/sound/version.h
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Wed Jun 29, 2005 11:58 am    Post subject: Reply with quote

yaneurabeya wrote:
And I quote from the alsa site:

Quote:
> If so, then do I have to determine which particular version is
> in the kernel and then source the same versioned lib/utils packages ?

Version is available in linux/include/sound/version.h


So check /usr/src/linux/include/sound/version.h

one can also check /proc/asound/version:
Code:
$cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24 10:33:39 2005 UTC).

_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sun Jul 03, 2005 8:39 am    Post subject: Reply with quote

And for those of you still having issues with sound mixing... there's always FreeBSD with virtual multiple channels support built into the kernel :).
Back to top
View user's profile Send private message
MockieMoo
n00b
n00b


Joined: 31 Dec 2004
Posts: 55
Location: Minneapolis, Minnesota, USA

PostPosted: Mon Jul 04, 2005 10:57 pm    Post subject: Reply with quote

It's working beautifully for me, after a bit of tweaking. Others may find this tip useful: If you run `/etc/init.d/alsasound restart` and get an error similar to:
Code:
vector linux # /etc/init.d/alsasound restart
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                        [ ok ]
 * Restoring Mixer Levels ...
/usr/sbin/alsactl: set_control:894: warning: name mismatch (Line-In As Surround/Swap Surround Slot) for control #45
/usr/sbin/alsactl: set_control:896: warning: index mismatch (0/0) for control #45
/usr/sbin/alsactl: set_control:898: failed to obtain info for control #45 (Operation not permitted)                                           [ !! ]

try running `alsactl store`. It fixed the problem completely. I haven't read the rest of the thread, so go easy on me if this has already been posted.

Much thanks to yaneurabeya for the info. :D
Back to top
View user's profile Send private message
Remillard
Apprentice
Apprentice


Joined: 07 Mar 2003
Posts: 200
Location: Irvine, CA

PostPosted: Mon Jul 11, 2005 5:49 pm    Post subject: Reply with quote

Okay, well I think I'm close on this one, but mostly because of luck. After a motherboard swap, I'm now using a Realtek ALC850 chipset for sound. From another forum, it seems that this chipset does not handle hardware mixing. (I formerly had a Creative SB Live! which did.) I set up my kernel much like the older one, with ALSA installed, but I swapped the SB Live! support for the Intel AC97 audio. The kernel is gentoo development sources 2.6.12-r4

So I start up KDE, and once I get the alsamixer up to unmute everything, I can play simultaneous streams in Noatun and Beep. As far as I can figure out from reading this thread, a lot of the ALSA improvements have been folded into the 2.6.12 kernel, so automagically I got them without knowing about it when I redid the kernel at 2.6.12. Is this correct?

The only remaining problem is that I don't have sound in Enemy Territory. I think it uses OSS, but I have ALSA OSS compatibility turned on in the kernel. So,
1) is there a way to check oss compatibility and see if it is indeed installed and/or working properly (or not)
2) is there a way to change ET's audio destination?
3) do I need to remove ALSA from the kernel and handle it via emerging alsa-drivers for OSS to work properly with the newer integrated mixing?
4) The question I don't know enough to ask yet...

Thanks for any help folks can provide. With the Live! everything was done in hardware and it was painless. Linux surprises me again with the general painlessness of it all (though admittedly, I got lucky, and if I'd decided to stick with 2.6.11 the driver bitchslapping would have begun).

Best regards,
Remillard
_________________
This signature is printed with 100% post-consumer recycled electrons.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Wed Jul 13, 2005 7:53 am    Post subject: Reply with quote

Remillard wrote:
1) is there a way to check oss compatibility and see if it is indeed installed and/or working properly (or not)


emerge -uD alsa-oss ;)

Remillard wrote:
2) is there a way to change ET's audio destination?


Don't think so. ET uses strictly OSS from my knowledge.

Remillard wrote:
3) do I need to remove ALSA from the kernel and handle it via emerging alsa-drivers for OSS to work properly with the newer integrated mixing?


Depends. Do you want to stick with bleeding edge, or a little staler (but fully functional) kernel drivers (that is if you're upgrading to 2.6.12)?

Remillard wrote:
4) The question I don't know enough to ask yet...


Ok...
Back to top
View user's profile Send private message
fuqnbastard
n00b
n00b


Joined: 13 Apr 2004
Posts: 46

PostPosted: Sat Jul 16, 2005 8:21 pm    Post subject: Reply with quote

That just plain doesn't work for me.

I compiled the kernel (2.6.11-r9) without alsa support, then emerged alsa-drivers-1.0.9b and corresponding packages, all without problems. It detects the ALSA_CARDS settings from /etc/make.conf. When I run /etc/init.d/alsasound restart, everything seems fine. Just that I still cannot run more than 2 alsa-outputs at the same time. I also tried moving /etc/asound.conf, but to no avail. :(
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Mon Jul 18, 2005 10:42 am    Post subject: Reply with quote

Read the docs for setting up alsa a bit closer. I think you're missing the whole alsa thing maybe with the /etc/env.d file (I think that was where it was but I haven't used Gentoo in months now..).

Either that, or did you clean out your kernel and its modules and start from scratch? Also, before did you compile your ALSA support (drivers only because I think that the ALSA support in and of itself was static only, but then again my memory is rusty...) into your kernel statically or as a set of modules?
Back to top
View user's profile Send private message
javier.ldb
n00b
n00b


Joined: 19 Apr 2005
Posts: 22
Location: La Plata - Argentina

PostPosted: Sun Jul 24, 2005 3:58 am    Post subject: Reply with quote

Oddball wrote:
Thx for the guide. I can play all sounds now, but there is something wrong with PCM:
Code:
amixer set PCM 100%
amixer: Unable to find simple control 'PCM',0

lspci output:
Code:
0000:00:0a.0 Multimedia audio controller: Creative Labs SB Audigy LS


I have SB Live! 24 and another onboard soundcard (disabled in BIOS).
How to get to work PCM device?


I have the same problem :x . Anyone with ideas or the solution? Oddball?
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sun Jul 24, 2005 11:27 pm    Post subject: Reply with quote

Not sure, but you guys should probably start another thread or search around the forums a bit.
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, 3, 4
Page 4 of 4

 
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