I am having a problem with alsa/sound, and as it says in the topic title, it is laggy, unresponsive, and doesn't sync correctly. I am on Gentoo and followed the instructions for alsa on the gentoo site. I am using kernel 2.6.9. How do I fix this?
Here sare some of the details:
Here is my make.conf:
# These settings were set by the catalyst build script that automatically built$
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-gtk kde gnome opengl xfce4 fluxbox icewm qt dvd alsa cdr"
CCACHE_SIZE="2G"
ALSA_CARDS="intel8x0"
ALSA_TOOLS="as10k1 ac3dec" (It said on the gentoo site to put something like this for hardware acceleration, I have no idea exactly what it is though.)
This is what I get with lspci | grep -i audio:
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05)
Here is my /etc/modules.d/alsa:
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.co$
# 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
## 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
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
And my lsmod:
Module Size Used by
snd_pcm_oss 47144 0
snd_mixer_oss 16256 3 snd_pcm_oss
snd_seq_oss 30080 0
snd_seq_midi_event 6016 1 snd_seq_oss
snd_seq 45584 4 snd_seq_oss,snd_seq_midi_event
snd_intel8x0 28620 2
snd_ac97_codec 63184 1 snd_intel8x0
snd_pcm 77320 2 snd_pcm_oss,snd_intel8x0
snd_timer 19588 2 snd_seq,snd_pcm
snd_page_alloc 7432 2 snd_intel8x0,snd_pcm
gameport 3712 1 snd_intel8x0
snd_mpu401_uart 5888 1 snd_intel8x0
snd_rawmidi 18852 1 snd_mpu401_uart
snd_seq_device 6536 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 44772 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu4 01_uart,snd_rawmidi,snd_seq_device
usbcore 95204 1
nvidia 4808116 12
e100 29440 0
mii 3968 1 e100
Thanks for you help.