rlh   img   mp3   nfo   pro  
./nfo/linux/ardour.system.settings.nfo

-------------------------------------------------------------
# System settings for Ardour DAW (Digital Audio Workstation):
-------------------------------------------------------------

-------------------------------------------------------------
RLH 20170301
-------------------------------------------------------------

To start jackd form ardour5 with realtime capabilities:

1. In /etc/ld.so.conf add:

  '/usr/lib64/ardour5'

2. Run commands:

  'ldconfig'
  'setcap cap_ipc_lock,cap_sys_nice=eip  /usr/lib64/ardour5/ardour-5.12.0'

3. Start ardour:

  'ardour5'

  Notes:

  You can not use setcap on ardour4 since it's a shell script.

  When you use setcap on "/usr/lib64/ardour4/ardour-4.6.0",
  the "export LD_LIBRARY_PATH in ardour4" does not work anymore, so
  you have to "use /etc/ld.so.conf" to let ardour4 find its libraries.

  (Thanks to ml4711 on LinuxQuestions)

-------------------------------------------------------------
RLH 20120418
-------------------------------------------------------------

1. Compile kernel with realtime support ( > 2.6.38.4 )

2. Grant Jack Audio Connection Kit the rights to run in realtime mode:

  'setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/jackd'

3. And if you use qjackctl, grant it the rights also:

  'setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/qjackctl'

  * The setcap method works only on filesystems with posix
    capabilities, otherwise, use set_rlimits (or PAM) *

4. Set max locked memory for users to 'unlimited':

  Check result of 'ulimit -l' as normal user.

  To change the limit for normal users, do:

  'cp /sbin/initscript.sample /etc/initscript'
  
  Edit /etc/initscript and set new hard limit:

  'ulimit -Hl unlimited'

  just under the ulimit entry in the initscript.

  This sets the system default maxlockmem hard-limit.

  * !Warning: Be careful with this file! *

5. Add 'ulimit -l unlimited' to the end of '/etc/config'.

6. Reboot.

7. Check 'ulimit -l' as normal user.

EOF