Re: [linux-audio-user] Advice on FC5

From: Jack O'Quin <jack.oquin@email-addr-hidden>
Date: Sat Apr 22 2006 - 03:22:40 EEST

On 4/21/06, Tim Howard <tdhoward@email-addr-hidden> wrote:
> Lee Revell wrote:
> >On Fri, 2006-04-21 at 16:44 +0100, James McDermott wrote:
> >> Yes, latency is still a big issue regardless of how many tracks are
> >> involved. You need to search the (recent) archives of this list, and
> >> the FC5 docs, for set_rtlimits, PAM, and the kernel version number.
> >> You can get good low latency performance with a recent mainstream
> >> kernel, they say!
> >>
> >> Also, you'll have to do some reading to see what packages will be
> >> available to you, and what you'll have to compile yourself.
> >
> >set_rtlimits should be completely unnecessary on FC5 as it has a new
> >enough version of PAM.
>
> OK, last night I did a test install of FC5 as an upgrade to my
> FC3+planet installation.
> If I log in as root, Jack is in realtime mode, and can't overload my
> system enough to cause even one xrun. But when I am logged in as a
> normal user, Jack doesn't run in realtime mode, and I get xruns even
> on playback.
>
> Is this caused by something PAM related? (Forgive me, I am a relative newbie)

You probably need something like this in /etc/security/limits.conf

# restrict realtime scheduling and memory locking to audio group
@audio - rtprio 80
@audio - memlock 300000

Then, put yourself in group "audio", log out and log in again. Assuming
PAM is properly patched, I think that should work.

--
 joq
Received on Sat Apr 22 04:15:08 2006

This archive was generated by hypermail 2.1.8 : Sat Apr 22 2006 - 04:15:09 EEST