You are not logged in.
I am having a problem getting JACK to start with the "realtime" option. It always tells me that it "cannot use real-time scheduling" because the "...operation [was] not permitted." I've tried editing the "limits.conf" file and "/etc/pam.d/su", but I still get the error.
Last edited by Wintervenom (2008-11-16 23:32:47)
Offline
Never mind, it decided to start working after a reboot.
Offline
Now, it's not working again.
I gave it two and a half gigabytes in /etc/security/limits.conf, but when I reboot and do ulimit -a, "max locked memory" still says 32 kilobytes.
Offline
I usually get this problem because of the kernel... It needs to be compiled to have 1000mhz ticks. That's what you need for "real-time." I believe the newer kernels have slower ticks because they suck up the power -- they cut down the tick time to save power on laptops...
Offline
what kernel version are u using?
Offline
Could you please show, what you've done in the limits.conf and su ? Maybe you've made a mistake, that's how it seems to me ..
Offline
A lot of things could potentially be happening here. My guess is kernel version although it could be a PAM issue too.
Here's my recommendations:
Build the rt patched kernel from AUR and test a few different kernel versions and patchsets. The PKGBUILD is quite nice as it's set up to easily sub in variables ----->
pkgname=kernel26rt
pkgver=2.6.24.7_rt21
pkgrel=1
_basekernel=2.6.24
_basever=2.6.24 # actual basekernel eg. for rc builds
_kernpatchset=.7 # upstream patch version
_patchver=-rt21 # rt patch version
_localver=-rt # append to linux ver eg. 2.6.25-rt
_archver=rt # append to archlinux ver eg. kernel26rt
That's the setup I use for realtime audio work as I have had tons of problems with newer kernel versions.
Try changing the memlock field in limits.conf to unlimited.
Do you use a login manager? Problems have been reported with GDM (see bugs) and PAM.
I use slim-pam from AUR and it works properly. Just FYI I really think jackmp is a better choice. SVN PKGBUILD available here:
http://code.google.com/p/proaudio/
Good luck!
Offline