[PlanetCCRMA] R.T. Scheduling errors on JACK startup, FC5

Mike Jewell planetccrma@ccrma.Stanford.EDU
Wed Oct 11 06:39:01 2006


Oops.  Here's the output.  (see below)


On Tue, 2006-10-10 at 17:29 -0700, Mike Jewell wrote:
> Hi CCRMAites,
> 
> I just upgraded to Fedora Core 5 and the CCRMA kernel, etc. from FC3.
> 
> Here's my kernel info from uname -a:
> 
> Linux doc 2.6.16-1.2080.16.rdt.rhfc5.ccrmasmp #1 SMP PREEMPT Tue Jul 25
> 13:39:30 EDT 2006 i686 i686 i386 GNU/Linux
> 
> When I start JACK with QjackCtl I get these messages about "real-time
> scheduling".  If I run it as root, I don't get these messages.
> 
> 
> I thought the CCRMA patched kernel was supposed to allow any user to use
> this feature.  Do I have to enable it somewhere else?
> 
> 
> Please forgive me if this was answered multiple times before.  I tried
> searching the archives with no success.
> 
> Thanks,
> 
> Mike Jewell
> One-Up Audio


17:17:49.205 Patchbay deactivated.
17:17:49.477 Statistics reset.
17:17:49.656 MIDI connection graph change.
17:17:49.682 MIDI connection change.
17:19:34.180 Startup script...
17:19:34.180 artsshell -q terminate
17:19:34.403 Startup script terminated with exit status=256.
17:19:34.403 JACK is starting...
17:19:34.403 jackd -R -dalsa -dhw:0 -r44100 -p2048 -n2
17:19:34.415 JACK was started with PID=20185 (0x4ed9).
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.
cannot lock down memory for jackd (Cannot allocate memory)
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|2048|2|44100|0|0|nomon|swmeter|-|
32bit
control device hw:0
configuring for 44100Hz, period = 2048 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
JACK: unable to mlock() port buffers: Cannot allocate memory
cannot use real-time scheduling (FIFO at priority 20) [for thread
-1230541920, from thread -1230541920] (1: Operation not permitted)
cannot use real-time scheduling (FIFO at priority 10) [for thread
-1241031776, from thread -1241031776] (1: Operation not permitted)
17:19:36.511 Server configuration saved to "/home/uslim/.jackdrc".
17:19:36.524 Statistics reset.
17:19:36.537 Client activated.
17:19:36.570 Audio connection change.
17:19:36.585 Audio connection graph change.
cannot lock down memory for RT thread (Cannot allocate memory)
cannot use real-time scheduling (FIFO at priority 9) [for thread
-1212429408, from thread -1212429408] (1: Operation not permitted)