[LAU] jackd: A lot of xruns

DuWayne Holsbeck drh at niptron.com
Wed Jun 13 15:50:00 EDT 2007


Being that you probably do not need really low latencey, if you are not
doing overdubs, you could change your period setting to 1024 or greater
frames vs the 256 setting. This usually works for me, I have an A31
thinkpad, with many hours of live recording use, both with the onboard
chip and an RME HDSP.

Cheers
DRH

On Thu, 2007-06-14 at 21:44 +0200, Markus Herhoffer wrote:
> Hi!
> 
> I want to use Jack on my Thinkpad X60s notebook with the built in
> soundchip. I know that this is not the best hardware, but I need a
> possibility to record some things mobile.
> 
> I get quite a few xruns every time I start jack with qjackctl -- too
> many to work efficiently. I use Gentoo kernel 2.6.20-gentoo-r8,
> realtime-lsm as module and the kernel option "Preemption Model
> (Preemptible Kernel (Low-Latency Desktop))".
> 
> This is the output of qjackctl (I stopped Jack intentionally):
> 
> 21:40:29.357 Patchbay deactivated.
> 21:40:29.486 Statistics reset.
> 21:40:29.553 MIDI connection graph change.
> 21:40:29.727 MIDI connection change.
> 21:40:31.468 Startup script...
> 21:40:31.468 artsshell -q terminate
> 21:40:32.225 Startup script terminated with exit status=256.
> 21:40:32.293 JACK is starting...
> 21:40:32.293 jackd -R -P7 -u -dalsa -r44100 -p256 -n2 -D -Chw:0 -Phw:0
> 21:40:32.295 JACK was started with PID=9380 (0x24a4).
> jackd 0.101.1
> Copyright 2001-2005 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> JACK compiled with System V SHM support.
> loading driver ..
> apparent rate = 44100
> creating alsa driver ... hw:0|hw:0|256|2|44100|0|0|nomon|swmeter|-|32bit
> control device hw:0
> configuring for 44100Hz, period = 256 frames, buffer = 2 periods
> nperiods = 2 for capture
> nperiods = 2 for playback
> **** alsa_pcm: xrun of at least 0.015 msecs
> **** alsa_pcm: xrun of at least 0.014 msecs
> **** alsa_pcm: xrun of at least 0.016 msecs
> **** alsa_pcm: xrun of at least 0.011 msecs
> **** alsa_pcm: xrun of at least 0.013 msecs
> **** alsa_pcm: xrun of at least 0.015 msecs
> **** alsa_pcm: xrun of at least 0.011 msecs
> **** alsa_pcm: xrun of at least 0.018 msecs
> **** alsa_pcm: xrun of at least 0.015 msecs
> **** alsa_pcm: xrun of at least 0.017 msecs
> **** alsa_pcm: xrun of at least 0.011 msecs
> **** alsa_pcm: xrun of at least 0.017 msecs
> **** alsa_pcm: xrun of at least 0.014 msecs
> **** alsa_pcm: xrun of at least 0.013 msecs
> **** alsa_pcm: xrun of at least 0.014 msecs
> 21:40:34.356 Server configuration saved to "/home/d135-1r43/.jackdrc".
> 21:40:34.357 Statistics reset.
> 21:40:34.380 Client activated.
> 21:40:34.382 Audio connection change.
> 21:40:34.391 Audio connection graph change.
> **** alsa_pcm: xrun of at least 0.015 msecs
> **** alsa_pcm: xrun of at least 0.039 msecs
> 21:40:34.446 XRUN callback (1).
> **** alsa_pcm: xrun of at least 0.013 msecs
> **** alsa_pcm: xrun of at least 0.015 msecs
> **** alsa_pcm: xrun of at least 0.017 msecs
> **** alsa_pcm: xrun of at least 0.011 msecs
> **** alsa_pcm: xrun of at least 0.026 msecs
> **** alsa_pcm: xrun of at least 0.010 msecs
> **** alsa_pcm: xrun of at least 0.014 msecs
> **** alsa_pcm: xrun of at least 0.016 msecs
> **** alsa_pcm: xrun of at least 0.016 msecs
> **** alsa_pcm: xrun of at least 0.016 msecs
> **** alsa_pcm: xrun of at least 0.014 msecs
> **** alsa_pcm: xrun of at least 0.010 msecs
> **** alsa_pcm: xrun of at least 0.011 msecs
> 21:40:35.649 Client deactivated.
> 21:40:35.651 JACK is stopping...
> jack main caught signal 15
> no message buffer overruns
> 21:40:35.904 JACK was stopped successfully.
> 21:40:35.907 Post-shutdown script...
> 21:40:35.907 killall jackd
> jackd: no process killed
> 21:40:36.242 Post-shutdown script terminated with exit status=25
> 
> These are my cards:
> 
>  # cat /proc/asound/cards
>  0 [Intel          ]: HDA-Intel - HDA Intel
>                       HDA Intel at 0xee240000 irq 22
> 
>  # lspci | grep Audio
>  00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
> Definition Audio Controller (rev 02)
> 
> What to do? Are there some things to tweak?
> 
> Markus
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user




More information about the Linux-audio-user mailing list