Hello everyone,
Finally! Here's a quick update on my fluidsynth issues.
I figured there has to be a better way of stress testing the system than physically banging my midi controller. I created a simple file in rosegarden , equivalent of hitting 88(?)keys repeatedly in a loop, with the sustain pedal on; I've attached the rosegarden file. It would be nice if people could post results of using this file (or a more suitable one!).
Here are some of the initial (and very interesting) results (core 2 macbook running AVLinux):
Using 2 qsynth engines, each containting multiple soundfonts (around ~200 MB), at higher speeds (above 360 BPM), fluidsynth (qsynth in this case) crashes with this error in the qjackctl messages window:
subgraph starting at qsynth timed out (subgraph_wait_fd=32, status = 0, state = Finished, pollret = 0 revents = 0x0)
Sometimes, not just qsynth, but other applications, such as jack-rack or rosegarden also crash with the same error.
So not only does fluidsynth itself crash, it can potentially drag down the whole ship with it!
To answer Lee's question, yes and no. Most of the times, I can restart the qsynth engines and everything's back to normal, but occasionally, I have to restart jackd itself.
For some soundfonts (including my "bread and butter" ones :( ), running the loop at 720 BPM guarantees an (almost) instant crash, within around a second.
Yes, the crash corresponds to cpu usage spikes of ~50% (at least).
Sorry everyone, for keeping the thread hanging...
I was away from my system for a few days, and just got back.
@J.E.B
Wow! That looks like a rather comprehensive list. Will try each suggestion, perform the stress test, and get back to you.
@Lee
Interesting idea. If memory serves me right, restarting only fluidsynth doesn't solve the problem, but I have to confirm this. Will do so soon...
Cheers,
Guru