[QJACKCTL] multiple versus single instance

View: New views
7 Messages — Rating Filter:   Alert me  

[QJACKCTL] multiple versus single instance

by James Warden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I was wondering:

is there an option to qjackctl so that we have only one running instance ?

something like:

qjackctl --single

So next time I start it up, it will check whether there's already a running instance and just produce a message saying that one instance is already running (of course, the process state shall be examined in order to determine that the running qjackctl instance is a sound process).

Moreover, there seems to be a side-effect to the fact that you can run multiple instances of qjackctl. While it may be fine in some contexts, if you close one of them, you bring down all the others.

J.




     
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: [QJACKCTL] multiple versus single instance

by Rui Nuno Capela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

James Warden wrote:

> Hello,
>
> I was wondering:
>
> is there an option to qjackctl so that we have only one running
> instance ?
>
> something like:
>
> qjackctl --single
>
> So next time I start it up, it will check whether there's already a
> running instance and just produce a message saying that one instance
> is already running (of course, the process state shall be examined in
> order to determine that the running qjackctl instance is a sound
> process).
>
> Moreover, there seems to be a side-effect to the fact that you can
> run multiple instances of qjackctl. While it may be fine in some
> contexts, if you close one of them, you bring down all the others.
>

unless you're using a pretty old and obsolete version (qjackctl < 0.3.3)
you can only have one single instance running at anyone time (this
applies to linux x11 only).

if you start qjackctl when one is instance is already running it just
quits and does nothing besides commanding the currently running qjackctl
instance to start jackd immediately *iif* not already active at the time.

there's a workaround however: setting distinct JACK_DEFAULT_SERVER
environment variable lets you have multiple qjackctl instances alright,
each commanding its own jackd server.

wrt. one instance bringing all others down might be a concern: check
whether you're not issuing a `killall jackd` on shutdown (see
setup/options/scripting) ...

cheers
--
rncbc aka Rui Nuno Capela
rncbc@...
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Parent Message unknown Re: [QJACKCTL] multiple versus single instance

by James Warden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks for the heads-up.

I am using qjackctl 0.3.4 (QT 4.5.0)
I can start a second instance alright. The option 'killall jackd' is not on. Yet, if I quit the second instance, it brings down the first.
Something must be wrong unless I misunderstood you.

J.

--- On Sat, 6/20/09, Rui Nuno Capela <rncbc@...> wrote:

> From: Rui Nuno Capela <rncbc@...>
> Subject: Re: [Jack-Devel] [QJACKCTL] multiple versus single instance
> To: "James Warden" <warjamy@...>
> Cc: "Jack devel" <jack-devel@...>
> Date: Saturday, June 20, 2009, 8:41 AM
> James Warden wrote:
> > Hello,
> >
> > I was wondering:
> >
> > is there an option to qjackctl so that we have only
> one running
> > instance ?
> >
> > something like:
> >
> > qjackctl --single
> >
> > So next time I start it up, it will check whether
> there's already a
> > running instance and just produce a message saying
> that one instance
> > is already running (of course, the process state shall
> be examined in
> > order to determine that the running qjackctl instance
> is a sound
> > process).
> >
> > Moreover, there seems to be a side-effect to the fact
> that you can
> > run multiple instances of qjackctl. While it may be
> fine in some
> > contexts, if you close one of them, you bring down all
> the others.
> >
>
> unless you're using a pretty old and obsolete version
> (qjackctl < 0.3.3)
> you can only have one single instance running at anyone
> time (this
> applies to linux x11 only).
>
> if you start qjackctl when one is instance is already
> running it just
> quits and does nothing besides commanding the currently
> running qjackctl
> instance to start jackd immediately *iif* not already
> active at the time.
>
> there's a workaround however: setting distinct
> JACK_DEFAULT_SERVER
> environment variable lets you have multiple qjackctl
> instances alright,
> each commanding its own jackd server.
>
> wrt. one instance bringing all others down might be a
> concern: check
> whether you're not issuing a `killall jackd` on shutdown
> (see
> setup/options/scripting) ...
>
> cheers
> --
> rncbc aka Rui Nuno Capela
> rncbc@...
>


     
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: [QJACKCTL] multiple versus single instance

by Rui Nuno Capela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

James Warden wrote:
> Thanks for the heads-up.
>
> I am using qjackctl 0.3.4 (QT 4.5.0) I can start a second instance
> alright. The option 'killall jackd' is not on. Yet, if I quit the
> second instance, it brings down the first. Something must be wrong
> unless I misunderstood you.
>

strange. can you tell us the system environment details? x11 version and
which window manager perhaps?

byee
--
rncbc aka Rui Nuno Capela
rncbc@...
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Parent Message unknown Re: [QJACKCTL] multiple versus single instance

by James Warden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


sure:

system: intel 32bit, core 2 duo, debian unstable
kernel 2.6.29.4-rt16
X11: xorg 7.3
windows manager: openbox 3.4.7.2-3 (-3 comes from debian's packaging)
KDE base 3.5.9  (not using 4.2 on my DAW).
using jack2 SVN@3559

J.
 

--- On Sat, 6/20/09, Rui Nuno Capela <rncbc@...> wrote:

> From: Rui Nuno Capela <rncbc@...>
> Subject: Re: [Jack-Devel] [QJACKCTL] multiple versus single instance
> To: "James Warden" <warjamy@...>
> Cc: "Jack devel" <jack-devel@...>
> Date: Saturday, June 20, 2009, 9:13 AM
> James Warden wrote:
> > Thanks for the heads-up.
> >
> > I am using qjackctl 0.3.4 (QT 4.5.0) I can start a
> second instance
> > alright. The option 'killall jackd' is not on. Yet, if
> I quit the
> > second instance, it brings down the first. Something
> must be wrong
> > unless I misunderstood you.
> >
>
> strange. can you tell us the system environment details?
> x11 version and
> which window manager perhaps?
>
> byee
> --
> rncbc aka Rui Nuno Capela
> rncbc@...
>


     
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: [QJACKCTL] multiple versus single instance

by Rui Nuno Capela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

James Warden wrote:
> sure:
>
> system: intel 32bit, core 2 duo, debian unstable kernel 2.6.29.4-rt16
>  X11: xorg 7.3 windows manager: openbox 3.4.7.2-3 (-3 comes from
> debian's packaging) KDE base 3.5.9  (not using 4.2 on my DAW). using
> jack2 SVN@3559
>

does the multi-instance behavior occurs when you have kwin (kde) as
window manager?

is anybody else experiencing this behavior?


>
> Rui Nuno Capela wrote:
>> James Warden wrote:
>>>
>>> Thanks for the heads-up.
>>>
>>> I am using qjackctl 0.3.4 (QT 4.5.0) I can start a second
>>> instance alright. The option 'killall jackd' is not on. Yet, if I
>>> quit the second instance, it brings down the first. Something
>>> must be wrong unless I misunderstood you.
>>>
>> strange. can you tell us the system environment details? x11
>> version and which window manager perhaps?
>>

seeya
--
rncbc aka Rui Nuno Capela
rncbc@...
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Parent Message unknown Re: [QJACKCTL] multiple versus single instance

by James Warden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Rui,
I upgraded my system to KDE 4.2 and the problem disappeared :)
Finding the root cause of the problem will be very hard and I don't think it is worth spending time on it.

Cheers!
J.

--- On Sun, 6/21/09, Rui Nuno Capela <rncbc@...> wrote:

> From: Rui Nuno Capela <rncbc@...>
> Subject: Re: [Jack-Devel] [QJACKCTL] multiple versus single instance
> To: "James Warden" <warjamy@...>
> Cc: "Jack devel" <jack-devel@...>
> Date: Sunday, June 21, 2009, 9:44 AM
> James Warden wrote:
> > sure:
> >
> > system: intel 32bit, core 2 duo, debian unstable
> kernel 2.6.29.4-rt16
> >  X11: xorg 7.3 windows manager: openbox 3.4.7.2-3
> (-3 comes from
> > debian's packaging) KDE base 3.5.9  (not using
> 4.2 on my DAW). using
> > jack2 SVN@3559
> >
>
> does the multi-instance behavior occurs when you have kwin
> (kde) as
> window manager?
>
> is anybody else experiencing this behavior?
>
>
> >
> > Rui Nuno Capela wrote:
> >> James Warden wrote:
> >>>
> >>> Thanks for the heads-up.
> >>>
> >>> I am using qjackctl 0.3.4 (QT 4.5.0) I can
> start a second
> >>> instance alright. The option 'killall jackd'
> is not on. Yet, if I
> >>> quit the second instance, it brings down the
> first. Something
> >>> must be wrong unless I misunderstood you.
> >>>
> >> strange. can you tell us the system environment
> details? x11
> >> version and which window manager perhaps?
> >>
>
> seeya
> --
> rncbc aka Rui Nuno Capela
> rncbc@...
>


     
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org