Re: [proaudio] realtime problems (maybe pam)

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Mysth-R wrote:
> are you in the audio group ?
> Check on the /etc/group file.

yes

> 
> 2008/10/1 Frieder Bürzele <evermind@xxxxxxxxxxxxx
> <mailto:evermind@xxxxxxxxxxxxx>>
> 
>     Mysth-R wrote:
>     > Hi,
>     >
>     > Does it works when you run jack with root ?
> 
>     yes
> 
>     > What did you put in your limits.conf file ?
> 
> 
>     #REALTIME support for audio group users
>     @audio          -       rtprio            99
>     @audio          -       nice            -20
>     @audio          -       memlock         500000
> 
> 
> 
>     >
>     > I think this is just a permission issue...
>     > cheers,
>     > Mysth-R
>     >
>     > 2008/9/30 Frieder Bürzele <evermind@xxxxxxxxxxxxx
>     <mailto:evermind@xxxxxxxxxxxxx>
>     > <mailto:evermind@xxxxxxxxxxxxx <mailto:evermind@xxxxxxxxxxxxx>>>
>     >
>     >     Hi folks,
>     >
>     >     I've switched to amd64 and now hav the problem not getting
>     realtime
>     >     stuff running
>     >     ATM I'm using sabayon-gentoo-linux as a base -- later I want to
>     >     switch to new gentoo install,
>     >     but for now I hav to get realtime stuff working with this distro
>     >
>     >     I think I've setup pam correctly (user into autogroup, params
>     added
>     >     to limits.conf),
>     >     pam version is 1.0.2
>     >
>     >
>     >     ulimit -r gives me 99
>     >     as set in pam securiy stuff
>     >
>     >     the kernel config gives me:
>     >
>     >     zcat /proc/config.gz |grep -v '#' |grep 'CONFIG_SECURITY'
>     >     CONFIG_SECURITY=y
>     >     CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0
>     >
>     >
>     >     I'm using 2.6.27-rc6-git5: The config options
>     >     CONFIG_SECURITY_CAPABILITIES
>     >     is gone -- now it is compiled per default into the kernel
>     >
>     >
>     >     I don't think that pam fools me as set_rlimits also won't work:
>     >
>     >     set_rlimits -d /usr/bin/jackd -R -d alsa
>     >     Matching config file entry: user/group=@audio,
>     prog=/usr/bin/jackd,
>     >     max_nice=-1, max_rt=85, max_mlock=-1
>     >     `nice' getrlimit returned 0;   current `nice' rlimits:
>     soft=40, hard=40
>     >     `rtprio' getrlimit returned 0;   current `rtprio' rlimits:
>     soft=99,
>     >     hard=99
>     >     `memlock' getrlimit returned 0;   current `memlock' rlimits:
>     >     soft=500000, hard=500000
>     >     `rtprio' rlimit requested: 85
>     >     `rtprio' setrlimit returned 0
>     >     `nice' getrlimit returned 0; new `nice' rlimits: soft=40, hard=40
>     >     `rtprio' getrlimit returned 0; new `rtprio' rlimits: soft=85,
>     hard=85
>     >     `memlock' getrlimit returned 0; new `memlock' rlimits:
>     soft=500000,
>     >     hard=500000
>     >     jackd 0.112.1
>     >     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 System V SHM support.
>     >     cannot use real-time scheduling (FIFO at priority 10) [for thread
>     >     -915171600, from thread -915171600] (1: Operation not permitted)
>     >     cannot create engine
>     >
>     >
>     >
>     >     output with just pam
>     >     jackd  alsa gives me
>     >
>     >     jackd -R -d alsa
>     >
>     >     JACK compiled with System V SHM support.
>     >     cannot use real-time scheduling (FIFO at priority 10) [for thread
>     >     -23361808, from thread -23361808] (1: Operation not permitted)
>     >     cannot create engine
>     >
>     >
>     >
>     >
>     >     what else could give be the cause of not getting realtime
>     stuff working?
>     >
>     >     thx
>     >
>     >     Greetz Frieder
>     >
>     >
>     >
>     >
>     >
>     > --
>     > *
>     >
>     ***************************************************************************************
>     > *  {^_^} Mysth-R {^_^}
>     > *  <= Aide Auditive =>
>     > *
>     > * http://myspace.com/mysthr
>     > * http://myspace.com/aideauditive
>     > * http://mysthr.free.fr/Joomla  => Site dédié à l'audio sous
>     > Fedora/PlanetCCRMA.
>     > *
>     >
>     ***************************************************************************************
> 
> 
> 
> 
> 
> 
> -- 
> *
> ***************************************************************************************
> *  {^_^} Mysth-R {^_^}
> *  <= Aide Auditive =>
> *
> * http://myspace.com/mysthr
> * http://myspace.com/aideauditive
> * http://mysthr.free.fr/Joomla  => Site dédié à l'audio sous
> Fedora/PlanetCCRMA.
> *
> ***************************************************************************************




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/