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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@kaizoku:~$ jackd -R -P89 -dalsa -dhw:0 -r48000 -p256 -n3 -S &
> [1] 3092
> mick@kaizoku:~$ 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@xxxxxxxxxxxxxxxxxxxx
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux