[proaudio] problem: jackd, real-time, permissions?

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


I've been working on this problem now for hours two days in a row, and
I can't see where my mistake is. I have two identical computers. I
have 2.6.16-rt29 working on one computer, using RLIMITS. I can start
jackd through qjackctl with the realtime option, 64 frames/period, 2
periods/buffer. I get no error messages and only get an occasional
xrun when starting new applications. I have tried to duplicate that
setup on another computer, but I always get these errors:

cannot lock down memory for jackd (Cannot allocate memory)
cannot use real-time scheduling (FIFO at priority 20) [for thread
49156, from thread 49156] (1: Operation not permitted)
cannot use real-time scheduling (FIFO at priority 10) [for thread
65541, from thread 65541] (1: Operation not permitted)

This is followed by tons of xruns.

Since I have this working on one computer, I assume it's a
configuration error on my part. However, I have been over it again and
again and can't find my mistake.

Here is more relevant information on my configuration:

renick@localhost ~ $ uname -a
Linux localhost 2.6.16-rt29 #1 PREEMPT Sat Jul 22 21:16:25 JST 2006
i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux
renick@localhost ~ $ groups
wheel floppy audio cdrom video usb users

# /etc/security/limits.conf
# REALTIME support for audio group users
@audio - rtprio 90
@audio - nice -5
@audio - memlock 512000

localhost renick # equery which pam
/usr/portage/local/layman/pro-audio/sys-libs/pam/pam-0.78-r6.ebuild

*  sys-libs/pam
     Latest version available: 0.78-r6
     Latest version installed: 0.78-r6
     Size of downloaded files: 25,943 kB
     Homepage:    http://www.kernel.org/pub/linux/libs/pam/
     Description: Based on the multilib eclass
     License:     PAM

localhost renick # equery which jack-audio-connection-kit
/usr/portage/local/layman/pro-audio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.9999.ebuild

*  media-sound/jack-audio-connection-kit
     Latest version available: 0.9999
     Latest version installed: 0.100.7-r3
     Size of downloaded files: 82 kB
     Homepage:    http://www.jackaudio.org
     Description: A low-latency audio server
     License:     GPL-2 LGPL-2.1

This version, 0.100.7-r3, is the same version that is working on my
other computer.

The only difference remaining that I can tell is that I downloaded
from the proaudio overlay last weekend for the working computer, and I
downloaded from the overlay this weekend for the computer that isn't
working. Related to the overlay, I get this strange message when
updating it:

localhost renick # layman -s pro-audio
* The source of the overlay "pro-audio" seems to have changed. You currently syn
c from "svn://svn.tuxfamily.org/svnroot/ckpp/proaudio" while the global layman l
ist reports "svn://svn.tuxfamily.org/svnroot/ckpp/proaudio" as correct location.
Please consider removing and readding the overlay!
* Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
At revision 190.
* Successfully synchronized overlay "pro-audio".

Aren't those two URLs the same?

Where is my mistake? What's going on? At least it's working on one computer...

Thanks!

Renick

--
Renick Bell
http://www.the3rd2nd.com



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/