[linux-audio-user] Which kernel for low latency?

Glenn McCord clari_player at paradise.net.nz
Mon Jan 19 17:44:50 EST 2004


my /etc/modprobe.conf has these entries

alias snd-card-0 snd-emu10k1
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
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

But surely the 2.6 should work as good as my 2.4 kernel where I had 
absolutely no xruns at any time?

James Stone wrote:

>On Mon, Jan 19, 2004 at 02:51:13PM +1300, Glenn McCord wrote:
>  
>
>>I'm having no luck getting low latency with a 2.6 kernel.
>>I'm using the mm4 patches and have modified the capabilities.h file.
>>
>>I have this entered into fstab:
>>shmfs            /dev/shm    shm        defaults        0 0
>>none            /dev/shm    tmpfs        defaults        0 0
>>none            /tmp/jack    tmpfs        defaults        0 0
>>none            /mnt/ramfs    tmpfs        defaults        0 0
>>
>>and compiled jack with:
>>./configure --with-default-tmpdir=/mnt/ramfs --enable-capabilities 
>>--enable-realtime
>>
>>I want to use ardour so that was just a staight ./configure && make
>>
>>To run jack I go
>>jackstart -R -v -d alsa -d hw:0 -p 8192
>>
>>My problem is that I get
>>**** alsa_pcm: xrun of at least xx.xxx msecs
>>all the time. I even get it when no audio programs are going.
>>
>>    
>>
>
>AFAIK you have got your soundcard set up wrong. I have a SBLive and did
>not need any modules apart from the snd_emu10k1 one. I do get a few
>xruns when moving windows and switching between apps but that is with -p
>512. I am also using the realtime LSM module rather than the hand edit
>option but I don't think that is your problem.
>
Yeah, I think I slipped up somewhere when copying .config files between 
different 2.6 kernels and I just drew a conclusion which was wrong.

>
>What are the alsa bits in your /lib/modules/modprobe.conf (or
>/etc/modprobe.conf)?
>
>James
>
>
>  
>





More information about the Linux-audio-user mailing list