Hi, please dont kill me for asking another alsa question.
Ive searched the forum but found no answer.
I am using slackware-current with 2.6.8-rc2 and self compiled 1.0.5a
alsa drivers with dmix plugin on a nForce2 mobo.
When i do something CPU/HDD intensive(compiling,extracting) XMMS
just stops in the middle of a track(and that really drives me crazy). It
seemes to happen only when using dmix, when not using it the sound
sometimes just skips for a second but i can
live with that. The same thing happens with stock kernel/alsa.
And the sound itself has some static noises aspecially noticeable when
watching a movie. Using real time priority doesnt help. Playing
arround with bufers neither. Running XMMS with nice -15(!) seemes to
give some results
but that way i cant play any other sounds (lounching XMMS with: sudo -n
-15 xmms)
Code:
#aplay message.wav
ALSA lib pcm_direct.c:203:(make_local_socket) connect failed:
/tmp/alsa-dmix-3114-1090779987-528115: Permission denied
ALSA lib pcm_dmix.c:897:(snd_pcm_dmix_open) unable to connect client
aplay: main:507: audio open error: Permission denied
And yes DMA is enabled:
Code:
# hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 6Y080L0, FwRev=YAR41BW0, SerialNo=Y2NR8D7E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=160086528
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode
(its a maxtor ATA133 drive)
Code:
# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1000 MB in 2.00 seconds = 499.33 MB/sec
Timing buffered disk reads: 142 MB in 3.01 seconds = 47.25 MB/sec
here is my /etc/asound.conf
Code:
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 16384
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.default {
type plug
slave.pcm "dmixer"
}
ctl.mixer0 {
type hw
card 0
}
and my lsmod:
Code:
Module Size Used by
snd_pcm_oss 50856 0
snd_mixer_oss 17792 3 snd_pcm_oss
snd_intel8x0 31020 6
snd_ac97_codec 66436 1 snd_intel8x0
snd_pcm 84104 3 snd_pcm_oss,snd_intel8x0
snd_timer 20868 2 snd_pcm
snd_page_alloc 9224 2 snd_intel8x0,snd_pcm
gameport 3584 1 snd_intel8x0
snd_mpu401_uart 6016 1 snd_intel8x0
snd_seq_device 6664 1 snd_rawmidi
snd 46820 15
snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7136 3 snd
Thank you for any help.