[Demudi-commits] r1428 - jack-audio-connection-kit/trunk/debian

free-guest at alioth.debian.org free-guest at alioth.debian.org
Mon May 28 12:11:58 UTC 2007


Author: free-guest
Date: 2007-05-28 12:11:58 +0000 (Mon, 28 May 2007)
New Revision: 1428

Modified:
   jack-audio-connection-kit/trunk/debian/changelog
   jack-audio-connection-kit/trunk/debian/control
   jack-audio-connection-kit/trunk/debian/jackd.README.Debian
Log:
* debian/jackd.README.Debian:
   - added note about using PAM to jack grant realtime
     privileges (Closes: #425180)
   - added note about using the realtime-preempt patch
* debian/control:
   - added libpam-modules to Recommends:
   - moved qjackctl from Suggests: to Recommends:

Modified: jack-audio-connection-kit/trunk/debian/changelog
===================================================================
--- jack-audio-connection-kit/trunk/debian/changelog	2007-05-28 11:39:22 UTC (rev 1427)
+++ jack-audio-connection-kit/trunk/debian/changelog	2007-05-28 12:11:58 UTC (rev 1428)
@@ -1,3 +1,15 @@
+jack-audio-connection-kit (0.103.0-6) UNRELEASED; urgency=low
+
+  * debian/jackd.README.Debian:
+     - added note about using PAM to jack grant realtime
+       privileges (Closes: #425180)
+     - added note about using the realtime-preempt patch
+  * debian/control:
+     - added libpam-modules to Recommends:
+     - moved qjackctl from Suggests: to Recommends:
+
+ -- Free Ekanayaka <freee at debian.org>  Mon, 28 May 2007 14:08:08 +0200
+
 jack-audio-connection-kit (0.103.0-5) unstable; urgency=low
 
   * debian/control:

Modified: jack-audio-connection-kit/trunk/debian/control
===================================================================
--- jack-audio-connection-kit/trunk/debian/control	2007-05-28 11:39:22 UTC (rev 1427)
+++ jack-audio-connection-kit/trunk/debian/control	2007-05-28 12:11:58 UTC (rev 1428)
@@ -14,7 +14,8 @@
 Package: jackd
 Architecture: any
 Depends: ${shlibs:Depends}
-Suggests: qjackctl, jack-tools, meterbridge, libjackasyn0
+Recommends: qjackctl, libpam-modules
+Suggests: jack-tools, meterbridge, libjackasyn0
 Description: JACK Audio Connection Kit (server and example clients)
  Low-latency sound server. JACK allows the connection of multiple applications
  to an audio device, as well as allowing them to share audio between

Modified: jack-audio-connection-kit/trunk/debian/jackd.README.Debian
===================================================================
--- jack-audio-connection-kit/trunk/debian/jackd.README.Debian	2007-05-28 11:39:22 UTC (rev 1427)
+++ jack-audio-connection-kit/trunk/debian/jackd.README.Debian	2007-05-28 12:11:58 UTC (rev 1428)
@@ -16,8 +16,7 @@
           2. set up an .asoundrc if you have a professional and
 	     powerful soundcard whose settings/channels/mixers you'd
 	     like to have finer control over.
-          3. patch your kernel with lowlatency, maybe also preempt and 
-	     give-capabilities/realtime-lsm
+          3. use a 2.6 kernel with the realtime-preempt patch applied
           5. run in realtime mode
 
 
@@ -31,12 +30,11 @@
 * Low Latency:
   - To ensure that jackd can regularly fill it's buffers und do it's work 
     it's necessary to modify parts of the kernel, that could block jackd from
-    running at the required frequency. The patch ist called "lowlatency" and
-    available in the package kernel-patch-2.4-lowlatency. 
-    kernel-patch-2.4-preempt also helps reducing latency.
-    See /usr/share/doc/jackd/FAQ.gz for more info.
+    running at the required frequency. The patch ist called "realtime-preempt"
+    and available in the package kernel-patch-realtime-preempt See also
+    the file /usr/share/doc/jackd/FAQ.gz for more info.
 
-* Realtime mode / give-capabilities support:
+* Realtime mode:
   - Realtime mode is enabled with the commandline option "--realtime".
     This will lock down parts of the memory jackd uses in your RAM and enable
     jackd to run as often as it wants (almost).
@@ -44,35 +42,20 @@
     (that's capabilities support, see below) can obtain realtime rights. 
     If you run jackd as root (without capabilities support, that is) you 
     have to run all jack applications as root.
-  - give-capabilities support is compiled into JACK, see the FAQ ("How can I 
-    get the best performance out of Jack?") for details on how to use
-    it. You need the two-line kernel-patch that allows processes to
-    inherit capabilities. This way, only jackd needs to be started as root
-    (jackstart does this for you, that's why jackstart is setuid root) and 
-    jackd will give realtime rights to all processes connecting to it.
-    Since any application that has realtime rights can block all others from 
-    running, they can effectively can crash your computer.
-    AGNULA (<http://www.agnula.org>) has a kernel-patch package:
-    <http://packages.agnula.org/pool/main/k/kernel-patch-2.4-givecap_*_all.deb>.
-    Only users of the "audio" group can start jackstart, add yourself to it
-    (as root: adduser yourself audio). jackstart takes the exactly same options
-    as jackd.
-  - "prelinking" (see the prelink package) jackd brakes jackstart because it
-    changes the jackd binary. You have to undo it after every prelink run:
-    "prelink --undo /usr/bin/jackd"
-  - For kernel 2.6 (and 2.4 with kernel-patch-2.4-lsm) there is also a LSM 
-    (Linux Security Module) called "realtime", which grants realtime rights 
-    to regular users on a configurable basis. The module has been announced on
-    linux-audio-dev.
+  - If you don't want to run jackd as root you can grant it RT-rights via
+    the limits PAM module (you will need to install the libpam-modules
+    package), just add these lines to
 
+    @audio - rtprio 99
+    @audio - nice -10
+
+    your /etc/security/limits.conf
+
 * More Information: 
   - man jackd
   - /usr/share/doc/jackd/FAQ.gz
   - /usr/share/doc/jackd/user-howto.gz
   - /usr/share/doc/jackd/README
-  - <http://jackit.sourceforge.net>
+  - http://jackaudio.org/
 
-
-Stefan Schwandter, Date: 2002/09/20 16:39:46 
-Robert Jordens <jordens at debian.org>
-
+ -- Free Ekanayaka <freee at debian.org>, Mon, 28 May 2007 14:06:25 +0200




More information about the Demudi-commits mailing list