[SOLVED] LMMS was kicked by Jack

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: MattKingUSA, khz

Post Reply
rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

[SOLVED] LMMS was kicked by Jack

Post by rghvdberg »

Recently everytime I open a LMMS project I get this error

Code: Select all

LMMS was kicked by JACK for some reason. Therefore the JACK backend of LMMS has been restarted. You will have to make manual connections again.
In the logs I find this :

Code: Select all

ERROR: subgraph starting at lmms timed out (subgraph_wait_fd=34, status = 0, state = Running, pollret = 0 revents = 0x0)
Started LMMS from the command line and noticed this:

Code: Select all

Carla assertion failure: "option != -1" in file CarlaEngine.cpp, line 1797
Will use LV2 X11 UI
Carla assertion failure: "fLatencyIndex == static_cast<int32_t>(j)" in file CarlaPluginLV2.cpp, line 2178
Running with pulse seems to be ok. But I want jack audio ...

Hope someone can help me fix this.
Last edited by rghvdberg on Mon Feb 09, 2015 8:34 pm, edited 1 time in total.
rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

Re: LMMS was kicked by Jack

Post by rghvdberg »

The kicked by Jack message appears when I add a (Vestige) vst instrument.
This behaviour started after the 1.1.1 update, so it seems a new bug .
Actually the best working version for me was the beta version btw
I will try to pin down the problem.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: LMMS was kicked by Jack

Post by raboof »

rghvdberg wrote:Recently everytime I open a LMMS project I get this error

Code: Select all

LMMS was kicked by JACK for some reason. Therefore the JACK backend of LMMS has been restarted. You will have to make manual connections again.
In the logs I find this :

Code: Select all

ERROR: subgraph starting at lmms timed out (subgraph_wait_fd=34, status = 0, state = Running, pollret = 0 revents = 0x0)
This basically means LMMS failed to finish processing a set of frames within the deadline set by JACK.

Of course in an ideal world we'd improve LMMS so that it always responds within the deadline, for example by reducing the amount of locking/blocking in LMMS's jack process callback and tweaking thread priorities.

Failing that, though, you might have some luck by configuring JACK to be less demanding of LMMS, for example by decreasing the sample rate or increasing the frames/period or periods/buffer settings. The former will be at the expense of sound quality, the latter 2 at the expense of latency, though.
User avatar
thetotalchaos
Established Member
Posts: 211
Joined: Mon Sep 29, 2014 8:29 pm
Has thanked: 55 times
Been thanked: 9 times
Contact:

Re: LMMS was kicked by Jack

Post by thetotalchaos »

Set LMMS to output to ALSA. Than you can use some form of ALSA to JACK bridge. As falkTX properly stated LMMS' JACK output is gently said "beta quality"
Regarding the realtime usage, ALSA outputs in approximately 256 frames, but in order to have sort of stable JACK output from LMMS you must go to at least 1024 frames. You do the math.
You can listen to my music at: https://totalchaos-music.bandcamp.com/

Take a journey to wonderland with The Butterfly Effect 2016
https://totalchaos-music.bandcamp.com/a ... fly-effect
rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

Re: LMMS was kicked by Jack

Post by rghvdberg »

I don't really need realtime audio with LMMS. I hardly ever do recording with it.
But the thing that puzzles me is, why did it work without problems in the beta (1.0.99 I think)?
rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

[SOLVED] LMMS was kicked by Jack

Post by rghvdberg »

SOLVED
I believe a borked wine install was the culprit
  • Removed LMMS and wine-rt : followed last post of this thread http://linuxmusicians.com/viewtopic.php?f=47&t=13102
    in hindsight I think removing LMMS wasn't necessary
  • removed ~/wine directory
  • re-installed LMMS
    funny thing is that the LMMS install, which also installed lmms-vst-full, didn't pull in wine, but in LMMS windows vst of course didn't work
  • installed wine-rt
It's working again

yay !
Post Reply