You are not logged in.

#1 2008-11-16 23:32:25

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

I Can't Get JACK to Start in Realtime Mode

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

#2 2008-11-17 05:41:34

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: I Can't Get JACK to Start in Realtime Mode

Never mind, it decided to start working after a reboot.

Offline

#3 2008-11-17 09:30:05

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: I Can't Get JACK to Start in Realtime Mode

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

#4 2008-11-24 15:35:01

ikaruga
Member
Registered: 2007-12-31
Posts: 10

Re: I Can't Get JACK to Start in Realtime Mode

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

#5 2008-11-24 16:26:10

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: I Can't Get JACK to Start in Realtime Mode

what kernel version are u using?

Offline

#6 2008-11-24 17:21:44

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: I Can't Get JACK to Start in Realtime Mode

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

#7 2008-11-24 19:42:41

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: I Can't Get JACK to Start in Realtime Mode

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

Board footer

Powered by FluxBB