LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-08-2005, 07:13 AM   #1
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Rep: Reputation: 0
ALSA, sound, general problems with 2.6.10


I'm a happy user of Linux Debian using 2.4.26 kernel until recently, when i compiled a new 2.6.10 kernel. After some fighting Nvidia drivers (ver. 6111 doesn't work here, used previous patched for 2.6.10), system started working very well. BUT there's a problem with sound, and I'm not sure if it's somethng with kernel configuration, or just permissions :/

At first, i did compile kernel with ALSA support (choosing option for Nforce support - i have Gigabyte MB on Nforce2), and that was all for the sound. Xmms was working, other players such as mplayer were working, but there was no sound in games, such as DDR, or enemy territory, or Q3Arena Demo, and aplications like Skype...

Some friend of mine told me that it can be problem with ALSA, so i should recompile kernel without ALSA support and use the older system, the Open Sound System. I did it that way, choosing same option as in 2.4.26 config, and compiled the kernel. Exactly the same effect.

If any of you had similar situation, or have at least some idea what to do, i would be glad. I don't want to go back to 2.4.26 because of such a small bug (if it is a bug :/).
Anyway, i'm not sure what other information you need, so ask me if there is something you need to know.

Thanks.
 
Old 02-08-2005, 10:26 AM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Are you sure you have the sound module loaded? The integrated sound on the nforce2 boards uses i810_audio module. Hopefully, you have that module compiled for your kernel. Try:
Code:
modprobe i810_audio
and see if sound is working. If it is, you can just add "i810_audio" to /etc/modules and you should be all set. The other option is to download the nforce2 platform drivers from nvidia.com. The sound module from nvidia is called "nvaudio". You can compile it, then "modprobe nvaudio" and see if sound works. You would then add "nvaudio" to /etc/modules.
 
Old 02-08-2005, 05:03 PM   #3
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, it's compiled into the kernel (Option->Device Drivers->Sound->Open Sound System->Intel ICH (i8xx) audio support). And it couldn't be the lack of module loaded, because the sound works, but only in some applications, as written before...
 
Old 02-10-2005, 02:27 AM   #4
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
OK, i cut ALSA at all, leaving only OSS and sound works well in DDR now (only et claims it's muted, but this is minor). Now, I want to use Skype, and it's another problem. There is completely no sound. At first after i ran it for the first time, there was sound, just dialing beeping, but more than nothing. Now it's silent. I've got working microphone, got speakers, and now i wonder how to. Skype uses /dev/dsp for sound, and it has permission to read/write it. I've read, than under KDE or Gnome, there is some kind of mixers, because apps can't use /dev/dsp directly. I'm using Wmaker and wonder how to do it here (it's true, that in this configuration I have, only one application at a time can use speakers...). Well, it might be a little chaotic, so ask freely. And please, help me :/
 
Old 02-10-2005, 07:57 AM   #5
HalfDiminished
Member
 
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66

Rep: Reputation: 15
zoharPL,
I have had a few problems with ALSA, but since upgrading to 2.6.10, letting udev handle the devices, and completely getting rid of OSS, I have a very well functioning system that has 3 soundcards (one a VIA chipset on my i865 mb). Here's what I would advise - get rid of OSS and any remnants. In fact, I would recompile the kernel and say no to the OSS option(s). Say yes to all the appropriate ALSA options. After you have successfully compiled the kernel, install ALSA and all its dependencies. Then - the app that ties it all together for me is gstreamer. Make sure you install alsasink. Then open up gstreamer and set the sound sink to alsasink and test. At first you probably won't hear anything. So, open up a mixer (I use gmix) and unmute the master, wave, cd, and any other misc outputs, leaving the inputs (line in, etc) muted. Once you hear the monotone test frequency from gstreamer, run from root
#alsactl store
This will store your mixer settings.
So, in summary, have faith in ALSA. It is the new standard. ALSA + gstreamer + gmix has been a great help for me. One last bit - if you have only 1 soundcard (internal on your mb) you could just compile it into the kernel. However, for those of us that have more than one soundcard I strongly recommend building modules for each. udev should load them automagically, but you can customize by playing with /etc/modules. Important note - after changing /etc/modules or any of the other module configuration files, run
#update-modules
to have the changes take effect.

Last edited by HalfDiminished; 02-10-2005 at 07:59 AM.
 
Old 02-11-2005, 03:15 AM   #6
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
OK. I've thrown away OSS, compiled kernel with ALSA and configured it using Gentoo ALSA FAQ
It was kinda difficult (looking for libraries and config files that have different names and locations than in FAQ), but i managed to do it. Now sound works, Skype works. I use alsamixer for now. Not sure yet about gstreamer, will look at it later. Still, thanks a lot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sound in general for ALSA/Digital sources. purelithium Linux - General 1 12-02-2005 02:36 PM
Sound problems alsa 1.9 d_dallis_gr Linux - Software 2 06-20-2005 06:58 AM
Alsa sound problems mario8723 Ubuntu 1 03-19-2005 07:07 PM
Alsa Sound Problems (I think) Maestro485 Linux - Newbie 7 04-14-2004 08:52 PM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-06-2004 12:55 AM

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

All times are GMT -5. The time now is 10:20 PM.

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