Jack2 after Ardour does a session export requires a restart

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

Jack2 after Ardour does a session export requires a restart

by Ng Oon-Ee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

When I export my session from Ardour, qjackctl's "connections" window
shows all connections as broken off, and no other apps from that point
on can connect to jack until I do a jack_control exit and jack_control
start.

The relevant errors are, I think:-

Sat Nov  7 18:17:07 2009: ERROR: Cannot set scheduling priority
for RT thread res = 22 err = No such file or directory
Sat Nov  7 18:17:07 2009: ERROR: Cannot start thread

Sat Nov  7 18:17:13 2009: ERROR:
JackProcessSync::LockedTimedWait error usec = 53320 err = Connection
timed out
Sat Nov  7 18:17:13 2009: ERROR:
JackProcessSync::LockedTimedWait error usec = 10664 err = Connection
timed out

Attaching the full (minimal to produce the problem) jackdbus.log.

[jackdbus.log]

Sat Nov  7 18:16:08 2009: ------------------
Sat Nov  7 18:16:08 2009: Controller activated. Version 1.9.3 (3609:3613) built on Wed Oct 28 08:22:39 2009
Sat Nov  7 18:16:08 2009: Loading settings from "/home/ngooneearch/.config/jack/conf.xml" using expat_2.0.1 ...
Sat Nov  7 18:16:08 2009: setting engine option "driver" to value "alsa"
Sat Nov  7 18:16:08 2009: driver "alsa" selected
Sat Nov  7 18:16:08 2009: setting engine option "realtime" to value "true"
Sat Nov  7 18:16:08 2009: setting for driver "loopback" found
Sat Nov  7 18:16:08 2009: setting for driver "dummy" found
Sat Nov  7 18:16:08 2009: setting for driver "alsa" found
Sat Nov  7 18:16:08 2009: setting driver option "rate" to value "48000"
Sat Nov  7 18:16:08 2009: setting driver option "period" to value "128"
Sat Nov  7 18:16:08 2009: setting driver option "nperiods" to value "3"
Sat Nov  7 18:16:08 2009: setting driver option "midi-driver" to value "none"
Sat Nov  7 18:16:08 2009: setting for driver "net" found
Sat Nov  7 18:16:08 2009: setting for internal "netmanager" found
Sat Nov  7 18:16:08 2009: setting for internal "profiler" found
Sat Nov  7 18:16:08 2009: setting for internal "netadapter" found
Sat Nov  7 18:16:08 2009: setting for internal "audioadapter" found
Sat Nov  7 18:16:08 2009: setting internal option "periodsize" to value "128"
Sat Nov  7 18:16:08 2009: setting internal option "nperiods" to value "3"
Sat Nov  7 18:16:08 2009: Listening for D-Bus messages
Sat Nov  7 18:16:08 2009: Starting jack server...
Sat Nov  7 18:16:08 2009: JACK server starting in realtime mode with priority 10
Sat Nov  7 18:16:08 2009: Acquired audio card Audio0
Sat Nov  7 18:16:08 2009: creating alsa driver ... hw:0|hw:0|128|3|48000|0|0|nomon|swmeter|-|32bit
Sat Nov  7 18:16:08 2009: Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xfebf8000 irq 22
Sat Nov  7 18:16:08 2009: configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 3 periods
Sat Nov  7 18:16:08 2009: ALSA: final selected sample format for capture: 32bit integer little-endian
Sat Nov  7 18:16:08 2009: ALSA: use 3 periods for capture
Sat Nov  7 18:16:08 2009: ALSA: final selected sample format for playback: 32bit integer little-endian
Sat Nov  7 18:16:08 2009: ALSA: use 3 periods for playback
Sat Nov  7 18:16:08 2009: graph reorder: new port 'system:capture_1'
Sat Nov  7 18:16:08 2009: New client 'system' with PID 0
Sat Nov  7 18:16:08 2009: graph reorder: new port 'system:capture_2'
Sat Nov  7 18:16:08 2009: graph reorder: new port 'system:playback_1'
Sat Nov  7 18:16:08 2009: graph reorder: new port 'system:playback_2'
Sat Nov  7 18:16:23 2009: New client 'ardourprobe' with PID 27254
Sat Nov  7 18:16:23 2009: Client 'ardourprobe' with PID 27254 is out
Sat Nov  7 18:16:27 2009: New client 'ardour' with PID 27254
Sat Nov  7 18:16:27 2009: Connecting 'ardour:auditioner/out 1' to 'system:playback_1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:auditioner/out 2' to 'system:playback_2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:SandiPatti-PraiseMedleyedited/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:MiscFrills/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Drums/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Keyboard/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Bass/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:KeyboardFrills/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Melody/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:SandiPatti-PraiseMedleyedited/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:MiscFrills/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Drums/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Keyboard/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Bass/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:KeyboardFrills/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Melody/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:master/out 1' to 'system:playback_1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:master/out 2' to 'system:playback_2'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Drums/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Drums/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Drums/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Drums/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Keyboard/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Keyboard/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Keyboard/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Keyboard/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Bass/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Bass/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Bass/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Bass/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:KeyboardFrills/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:KeyboardFrills/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:KeyboardFrills/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:KeyboardFrills/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Melody/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Disconnecting 'ardour:Melody/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Melody/out 1' to 'ardour:master/in 1'
Sat Nov  7 18:16:27 2009: Connecting 'ardour:Melody/out 2' to 'ardour:master/in 2'
Sat Nov  7 18:17:07 2009: ERROR: Cannot set scheduling priority for RT thread res = 22 err = No such file or directory
Sat Nov  7 18:17:07 2009: ERROR: Cannot start thread
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:SandiPatti-PraiseMedleyedited/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:MiscFrills/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Drums/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Keyboard/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Bass/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:KeyboardFrills/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Melody/out 1' from 'ardour:master/in 1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:SandiPatti-PraiseMedleyedited/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:MiscFrills/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Drums/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Keyboard/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Bass/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:KeyboardFrills/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:Melody/out 2' from 'ardour:master/in 2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:master/out 1' from 'system:playback_1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:master/out 2' from 'system:playback_2'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:auditioner/out 1' from 'system:playback_1'
Sat Nov  7 18:17:13 2009: Disconnecting 'ardour:auditioner/out 2' from 'system:playback_2'
Sat Nov  7 18:17:13 2009: ERROR: JackProcessSync::LockedTimedWait error usec = 53320 err = Connection timed out
Sat Nov  7 18:17:13 2009: ERROR: JackProcessSync::LockedTimedWait error usec = 10664 err = Connection timed out
Sat Nov  7 18:17:13 2009: Client 'ardour' with PID 27254 is out


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

Re: Jack2 after Ardour does a session export requires a restart

by Stéphane Letz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 7 nov. 2009 à 11:21, Ng Oon-Ee a écrit :

> Hi all,
>
> When I export my session from Ardour, qjackctl's "connections" window
> shows all connections as broken off, and no other apps from that point
> on can connect to jack until I do a jack_control exit and jack_control
> start.
>
> The relevant errors are, I think:-
>
> Sat Nov  7 18:17:07 2009: ERROR: Cannot set scheduling  
> priority
> for RT thread res = 22 err = No such file or directory
> Sat Nov  7 18:17:07 2009: ERROR: Cannot start thread
>
> Sat Nov  7 18:17:13 2009: ERROR:
> JackProcessSync::LockedTimedWait error usec = 53320 err = Connection
> timed out
> Sat Nov  7 18:17:13 2009: ERROR:
> JackProcessSync::LockedTimedWait error usec = 10664 err = Connection
> timed out
>
> Attaching the full (minimal to produce the problem) jackdbus.log.
> <jackdbus.log>_______________________________________________
> Jack-Devel mailing list
> Jack-Devel@...
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org


This seems exactly the same issue Andreas reported some days ago.  It  
seems something concerning thread priority setting was not correct or  
al least was changed in recent kernels. Fix (should be) in JACK2 SVN  
rev 3717.

Can you test and report?

Thanks

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

Re: Jack2 after Ardour does a session export requires a restart

by Ng Oon-Ee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-11-07 at 12:04 +0100, Stéphane Letz wrote:

> Le 7 nov. 2009 à 11:21, Ng Oon-Ee a écrit :
>
> > Hi all,
> >
> > When I export my session from Ardour, qjackctl's "connections" window
> > shows all connections as broken off, and no other apps from that point
> > on can connect to jack until I do a jack_control exit and jack_control
> > start.
> >
> > The relevant errors are, I think:-
> >
> > Sat Nov  7 18:17:07 2009: ERROR: Cannot set scheduling  
> > priority
> > for RT thread res = 22 err = No such file or directory
> > Sat Nov  7 18:17:07 2009: ERROR: Cannot start thread
> >
> > Sat Nov  7 18:17:13 2009: ERROR:
> > JackProcessSync::LockedTimedWait error usec = 53320 err = Connection
> > timed out
> > Sat Nov  7 18:17:13 2009: ERROR:
> > JackProcessSync::LockedTimedWait error usec = 10664 err = Connection
> > timed out
> >
> > Attaching the full (minimal to produce the problem) jackdbus.log.
> > <jackdbus.log>_______________________________________________
> > Jack-Devel mailing list
> > Jack-Devel@...
> > http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
>
> This seems exactly the same issue Andreas reported some days ago.  It  
> seems something concerning thread priority setting was not correct or  
> al least was changed in recent kernels. Fix (should be) in JACK2 SVN  
> rev 3717.
>
> Can you test and report?
>
> Thanks
>
> Stéphane

Will do.


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

Re: Jack2 after Ardour does a session export requires a restart

by Ng Oon-Ee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-11-07 at 12:04 +0100, Stéphane Letz wrote:

> Le 7 nov. 2009 à 11:21, Ng Oon-Ee a écrit :
>
> > Hi all,
> >
> > When I export my session from Ardour, qjackctl's "connections" window
> > shows all connections as broken off, and no other apps from that point
> > on can connect to jack until I do a jack_control exit and jack_control
> > start.
> >
> > The relevant errors are, I think:-
> >
> > Sat Nov  7 18:17:07 2009: ERROR: Cannot set scheduling  
> > priority
> > for RT thread res = 22 err = No such file or directory
> > Sat Nov  7 18:17:07 2009: ERROR: Cannot start thread
> >
> > Sat Nov  7 18:17:13 2009: ERROR:
> > JackProcessSync::LockedTimedWait error usec = 53320 err = Connection
> > timed out
> > Sat Nov  7 18:17:13 2009: ERROR:
> > JackProcessSync::LockedTimedWait error usec = 10664 err = Connection
> > timed out
> >
> > Attaching the full (minimal to produce the problem) jackdbus.log.
> > <jackdbus.log>_______________________________________________
> > Jack-Devel mailing list
> > Jack-Devel@...
> > http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
>
> This seems exactly the same issue Andreas reported some days ago.  It  
> seems something concerning thread priority setting was not correct or  
> al least was changed in recent kernels. Fix (should be) in JACK2 SVN  
> rev 3717.
>
> Can you test and report?
>
> Thanks
>
> Stéphane

Ah, didn't realize my distro already had a script for jack2-svn. Am
happy to report that this is fixed as you mentioned. Well, I'm on rev
3718, but still. Problem mentioned in first email is non-reproducible
after multiple tries.

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