Re: [proaudio] rtlimits pam gentoo-sources

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


Harald Gutmann wrote:
> hello!
>
> i installed gentoo as my new desktop and audio working system.
> but at the moment, i don't get the rlimits with pam rumming.
>
> jackd always tells in its start log:
> cannot use real-time scheduling (FIFO at priority 99) [for thread
> -1226171488, from thread -1226171488] (1: Operation not permitted)
>
> what did i do:
> fist i installed the pro-audio overlay with layman, like described on
> the pro-audio site.
>
> then i merged pam from this overlay:
> $ emerge -pv pam
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild   R   ] sys-libs/pam-0.78-r6  USE="berkdb -nis -pam_chroot
> -pam_console -pam_timestamp -pwdb (-selinux)" 0 kB [1]
>
> Total size of downloads: 0 kB
> Portage overlays:
>  [1] /usr/portage/local/layman/pro-audio
> $
>
>
> the next step was to make the etc-update, wich added the lines for the
> limits on the audio group:
> $ cat /etc/security/limits.conf  | grep audio
> # REALTIME support for audio group users
> @audio          -       rtprio          90
> @audio          -       nice            -10
> @audio          -       memlock         250000
>  $
>
> then i did a relogin, with my user, which is in the audio group:
>  $ groups
> lp wheel audio cdrom video portage z421 vdr
>  $                                       
>
> and tried to start jack:
> 17:01:30.105 Startup script...
> 17:01:30.110 artsshell -q terminate
> 17:01:30.396 Startup script terminated with exit status=256.
> 17:01:30.397 JACK is starting...
> 17:01:30.398 /usr/bin/jackd -R -P89 -dalsa -dhw:0 -r48000 -p256 -n2 -H -M
>   


hmm ... intersting, when i start jackd with -P80 it works without the
error, but starting it with -P81 and above the error alway's occours.
could it be, that the memory buffer is too small for priority 81 and above?



> 17:01:30.410 JACK was started with PID=28997 (0x7145).
> jackd 0.101.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.
> loading driver ..
> Enhanced3DNow! detected
> apparent rate = 48000
> creating alsa driver ... hw:0|hw:0|256|2|48000|0|0|hwmon|hwmeter|-|32bit
> control device hw:0
> configuring for 48000Hz, period = 256 frames, buffer = 2 periods
> nperiods = 2 for capture
> nperiods = 2 for playback
> cannot use real-time scheduling (FIFO at priority 99) [for thread
> -1226171488, from thread -1226171488] (1: Operation not permitted)
> 17:01:32.617 Server configuration saved to "/home/z421/.jackdrc".
> 17:01:32.623 Statistics reset.
> 17:01:32.655 Client activated.
>
>
> my kernel is the actual gentoo-sources:
> Calculating dependencies... done!
> [ebuild   R   ] sys-kernel/gentoo-sources-2.6.17-r8  USE="symlink -build (-ultra1)" 0 kB
>
>
>
> but there is that problem that the realtime-scheduling gets an operation
> not permitted error.
>
> where could the mistake be, did i forget something to configure?
>
>
>
> best regards,
> harald gutmann
>
>
>
>   




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