You are not logged in.

#1 2007-09-19 08:09:57

synthead
Member
Registered: 2006-05-09
Posts: 1,337

jackd -R not behaving even when set to in rules.conf?

When I do a jackd -R -d alsa, I get this:

[max@pwn ~]$ jackd -R -d alsa
jackd 0.103.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with POSIX SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread 1810800064, from thread 1810800064] (1: Operation not permitted)
cannot create engine

Even though ...

# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain>        <type>  <item>  <value>
#
#Where:
#<domain> can be:
#        - an user name
#        - a group name, with @group syntax
#        - the wildcard *, for default entry
#        - the wildcard %, can be also used with %group syntax,
#                 for maxlogin limit
#
#<type> can have the two values:
#        - "soft" for enforcing the soft limits
#        - "hard" for enforcing hard limits
#
#<item> can be one of the following:
#        - core - limits the core file size (KB)
#        - data - max data size (KB)
#        - fsize - maximum filesize (KB)
#        - memlock - max locked-in-memory address space (KB)
#        - nofile - max number of open files
#        - rss - max resident set size (KB)
#        - stack - max stack size (KB)
#        - cpu - max CPU time (MIN)
#        - nproc - max number of processes
#        - as - address space limit (KB)
#        - maxlogins - max number of logins for this user
#        - maxsyslogins - max number of logins on the system
#        - priority - the priority to run user process with
#        - locks - max number of file locks the user can hold
#        - sigpending - max number of pending signals
#        - msgqueue - max memory used by POSIX message queues (bytes)
#        - nice - max nice priority allowed to raise to
#        - rtprio - max realtime priority
#
#<domain>      <type>  <item>         <value>
#

#*               soft    core            0
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#@student        -       maxlogins       4


*               -       rtprio          0
*               -       nice            0
@audio          -       rtprio          65
@audio          -       nice           -10
@audio          -       memlock         40000

... and ...

[max@pwn ~]$ groups
tty audio optical storage max

What is the deal? tongue

Offline

#2 2007-09-20 02:50:21

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: jackd -R not behaving even when set to in rules.conf?

any thoughts? thanks!

Offline

#3 2007-10-27 02:17:24

rivierrakid
Member
From: Newcastle, UK
Registered: 2006-06-28
Posts: 21

Re: jackd -R not behaving even when set to in rules.conf?

I had a problem like this a while back. I set up my super lite Arch Proaudio partition to use 'Slim sever' for graphic logins.

The problem disapeared as soon as I switched it to gdm, kdm worked also.

I never figured out why jack didnt work with slim, I guess it doesnt start something the others do, possibly something to do with PAM.

I hope you figure it out, arch is pretty good for audio work, VST plugin's an eveything (even though a lot are quite unstable).. windows can bugger off for good  smile

Offline

#4 2007-11-22 15:40:49

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: jackd -R not behaving even when set to in rules.conf?

rivierrakid wrote:

I had a problem like this a while back. I set up my super lite Arch Proaudio partition to use 'Slim sever' for graphic logins.

The problem disapeared as soon as I switched it to gdm, kdm worked also.

Aha! Thank the Overlord for forum searches! That explains my problem. I switched to SLiM recently, and couldn't figure out why Jack wasn't running with RT scheduling either. I don't use Jack all that often, so I never made the connection between the two.

Has anyone figured out a solution?


0 Ok, 0:1

Offline

#5 2007-11-22 21:38:47

rivierrakid
Member
From: Newcastle, UK
Registered: 2006-06-28
Posts: 21

Re: jackd -R not behaving even when set to in rules.conf?

I never did find the reason why it didnt work, I would of looked but I found 'entrance' (part of e17) which works and looks great.

I use e17 for non critical stuff coz it looks great and cant wait till its stable, but e16 it is for audio stuff.

If you need it:
http://wiki.archlinux.org/index.php/Sta … to_a_shell

Last edited by rivierrakid (2007-11-22 21:44:27)

Offline

#6 2007-11-22 23:12:57

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: jackd -R not behaving even when set to in rules.conf?

Thanks. I'll take a look at that sometime.


0 Ok, 0:1

Offline

Board footer

Powered by FluxBB