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

James Stone stone1 at btinternet.com
Mon Jan 19 02:36:16 EST 2004


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.

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