[PlanetCCRMA] Re: jackd only as root

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Sep 12 10:12:01 2007


On Wed, 2007-09-12 at 19:03 +0200, Jorge Salgueiro wrote:

> 2007/9/12, Jorge Salgueiro <jorge.salgueiro@gmail.com>:
>         2007/9/12, Jorge Salgueiro <jorge.salgueiro@gmail.com>: 
>                 I just installed planetccrma in a f7 installation.
>                 Tried qjackctl but fail to start:
>                 
>                 18:43:50.880 Patchbay deactivated.
>                 18:43:51.010 Statistics reset.
>                 18:43:51.091 MIDI connection graph change.
>                 JACK tmpdir identified as [/dev/shm] 
>                 18:43:51.217 MIDI connection change.
>                 18:43:51.832 Startup script...
>                 18:43:51.832 artsshell -q terminate
>                 JACK tmpdir identified as [/dev/shm]
>                 18:43:52.070 Startup script terminated with exit
>                 status=256. 
>                 18:43:52.071 JACK is starting...
>                 18:43:52.071 jackd-realtime -v -R -dalsa -dhw:0
>                 -r48000 -p1024 -n2
>                 18:43:52.074 Could not start JACK . Sorry.
>                 18:44:10.539 JACK was stopped successfully.
>                 18:44:10.539 Post-shutdown script... 
>                 18:44:10.540 killall jackd
>                 jackd: nenhum processo abortado
>                 18:44:10.755 Post-shutdown script terminated with exit
>                 status=256.
>                 
>                 i tried as root and went well
>                 
>                 so i changed my user to the group jackusers 
>                 
>                 I'm doing something wrong?
>         
>         okey i can start it with no realtime 
> 
> sorry for my compulsive  autoreply. New tip:
> 
> 19:01:24.749 Patchbay deactivated. 
> 19:01:24.845 Statistics reset.
> 19:01:24.959 MIDI connection graph change.
> JACK tmpdir identified as [/dev/shm]
> 19:01:25.094 MIDI connection change.
> 19:01:27.790 Startup script...
> 19:01:27.790 artsshell -q terminate 
> JACK tmpdir identified as [/dev/shm]
> 19:01:28.022 Startup script terminated with exit status=256.
> 19:01:28.023 JACK is starting...
> 19:01:28.023 jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2
> 19:01:28.026 JACK was started with PID=3761 (0xeb1). 
> 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 System V SHM support.
> cannot use real-time scheduling (FIFO at priority 10) [for thread
> -1208273216, from thread -1208273216] (1: Operation not permitted)
> cannot create engine
> 19:01:28.036 JACK was stopped successfully. 
> 19:01:28.036 Post-shutdown script...
> 19:01:28.036 killall jackd
> jackd: nenhum processo abortado
> 19:01:28.249 Post-shutdown script terminated with exit status=256.
> 19:01:30.124 Could not connect to JACK server as client. Please check
> the messages window for more info. 
> JACK tmpdir identified as [/dev/shm] 
> 
> problems with realtime permitions. How can i solve it?

You probably already had jack coming from Fedora. It is (sort of)
incompatible with the Planet CCRMA jack when it comes to realtime
permissions. 

Look into /etc/security/limits.conf, most probably you will see there is
also a limits.conf.rpmnew. Edit limits.conf to match the rpmnew version,
logout and login again and all should be well. 

-- Fernando