Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jack, solfege and zynaddsubfx doesn' t work together
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ev56o
Apprentice
Apprentice


Joined: 26 Jan 2010
Posts: 180

PostPosted: Thu Apr 04, 2013 9:09 am    Post subject: jack, solfege and zynaddsubfx doesn' t work together Reply with quote

When i connect solfege and zynaddsubfx (with midi keyboard) to jack it works for a few of seconds, then in the tab audio zynaddsubfx crash.
Code:

m@localhost ~ $ qjackctl &
[1] 1749
m@localhost ~ $ zynaddsubfx &
[2] 1763
m@localhost ~ $
ZynAddSubFX - Copyright (c) 2002-2011 Nasca Octavian Paul and others
Compiled: Mar 25 2013 13:24:15
This program is free software (GNU GPL v.2 or later) and
it comes with ABSOLUTELY NO WARRANTY.

Try 'zynaddsubfx --help' for command-line options.

Sample Rate =           48000
Sound Buffer Size =     256 samples
Internal latency =      5.3 ms
ADsynth Oscil.Size =    1024 samples
Starting Audio: JACK
Jack buffer resized
Audio Started
Starting MIDI: ALSA
MIDI Started
Info, alsa midi port connected

m@localhost ~ $ solfege &
[3] 1770
m@localhost ~ $ 2.34378290176
Jack reports xrun
Jack reports xrun
Jack reports xrun
Jack reports xrun
Jack reports xrun
Jack reports error: cannot read server event (Connection reset by peer)
Jack reports error: jack_client_thread zombified - exiting from JACK

[1]   Done                    qjackctl
[2]-  Broken pipe             zynaddsubfx
[3]+  Done                    solfege
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Apr 04, 2013 9:37 am    Post subject: Reply with quote

Hmmm... being said I do not know zynaddsubfx. (I use yoshimi)

What I infer from the trace you publish is that there are good chances that jackd zombifies zynadd for being too slow.

1/ You can retry launching jackd with the -Z option.

This should prevent zynadd to die but will not prevent what jackd believes (appropriately or not) being underruns.

I have had a couple of similar experiences when using the raw alsa devices of an ice1712 and that were related to inappropriate underruns detection. =>

2/ Try launching jackd with the --midi seq option. (also available on qjackctl's option window next to the label : Midi driver.)
_________________
Back to top
View user's profile Send private message
ev56o
Apprentice
Apprentice


Joined: 26 Jan 2010
Posts: 180

PostPosted: Fri Apr 05, 2013 1:32 pm    Post subject: Reply with quote

I tried what you wrote, it doesn' t work. I discovered there is the same problem with more application, lmms and his inner sequencers. I seen other appllication manage the reaction times, maybe we can set somewhere a bigger error margin?
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Apr 05, 2013 1:42 pm    Post subject: Reply with quote

ev56o wrote:
I seen other appllication manage the reaction times, maybe we can set somewhere a bigger error margin?

Do you mean increasing buffers ?
Well you can try increasing jack's buffers (via the qjackctl interface) but I doubt it will help if the xruns detected are actually underruns.

Out of curiosity, do you run jackd in realtime mode ?
What are the scheduling mode and priority of zynadd threads ?
What kernel are you running ?
_________________
Back to top
View user's profile Send private message
ev56o
Apprentice
Apprentice


Joined: 26 Jan 2010
Posts: 180

PostPosted: Mon Apr 08, 2013 9:22 am    Post subject: Reply with quote

I don' t know about the buffer and scheduling mode
I run jackd in realtime mode, the priority of zyn is 0 and th kernel is Linux localhost 3.7.10-gentoo #1 SMP PREEMPT Sat Mar 23 15:03:35 CET 2013 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum