Re: [LAU] jackd in realtime as user: a no-go in spite of modifying limits.conf

From: Leigh Dyer <leigh@email-addr-hidden>
Date: Fri Nov 20 2009 - 06:54:21 EET

Der Mickster wrote:
> Hey,
>
> Can't seem to start jackd in realtime as user on ubuntu studio. It
> does start as root, but that's hardly a consolation (unless I run all
> audio software as root, which would be kinda daft IMO)
>
> @audio - rtprio 99
> @audio - nice -10
> @audio - memlock unlimited
>
> have been added to /etc/security/limits.conf

Hi Mick,

I've noticed on recent releases of Ubuntu (not sure about Studio, but
definitely standard Ubuntu) that the default user account created at
installation isn't actually in the "audio" group by default. Not being
in the "audio" group would definitely cause these sorts of problems.

If that's the case, just add your user account to the "audio" group, log
out, and log back in, and with any luck JACK will run in realtime mode
just fine.

Thanks
Leigh

>
> Nevertheless, starting it as user just doesn't seem to work, and I
> just can't figure out why. I've googled the issue, and everybody seems
> to agree that modifying limits.conf in the above manner should solve
> the problem - yet this is what I get:
>
>
> mick@email-addr-hidden:~$ jackd -R -P89 -dalsa -dhw:0 -r48000 -p256 -n3 -S &
> [1] 3092
> mick@email-addr-hidden:~$ no message buffer overruns
> jackd 0.116.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
> -1217255744, from thread -1217255744] (1: Operation not permitted)
> cannot create engine
>
> Any ideas?
>
> Mick.
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Fri Nov 20 08:15:02 2009

This archive was generated by hypermail 2.1.8 : Fri Nov 20 2009 - 08:15:02 EET