Calf plugin pack silently crashes when attempting to start

All your LV2 and LADSPA goodness and more.

Moderators: khz, MattKingUSA

Lech123
Established Member
Posts: 32
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Calf plugin pack silently crashes when attempting to start

Postby Lech123 » Sun Mar 17, 2019 9:33 am

Like it says in the title.
I'm running a reasonably fresh Fedora 29, XFCE desktop, I'm in the audio group, and Jack2 is running.
The application menu shortcut does nothing, so I've also tried running the calf GUI from the terminal, but "calf -v -a" just produces an output that appears nonsensical to me:

Code: Select all

Usage: calf [-v] [-a] [-n] [-p <projdir>] [-c <cname>] [-<i>] <libname>[:<label>] [...]

  -v        Verbose mode
  -a        Don't autoconnect outputs to JACK physical outputs
  -n        Don't automatically start plugin GUIs
  <projdir> Project directory to pass to plugin and UI
  <cname>   Client name to use for ALSA and JACK
  <i>       Number of instances of each plugin to run (max 16 total, default 1)
  <libname> DSSI plugin library .so to load (searched for in $DSSI_PATH)
  <label>   Label of plugin to load from library
  [...]     Optionally more instance counts, plugins and labels

Example: calf -2 lib1.so -1 lib2.so:fuzzy
  run two instances of the first plugin found in lib1.so, assigned to MIDI
  channels 0 and 1 and connected to the first available JACK outputs, and one
  instance of the "fuzzy" plugin in lib2.so with MIDI channels 2 and 3 and
  connected to the next available JACK outputs.

As a special case, if this program is started with a name other than
jack-dssi-host, and if that name (plus .so suffix) can be found in the DSSI path
as a valid plugin library, and if no further command line arguments are given,
then the first plugin in that library will be loaded automatically.

[lech@localhost ~]$ calf -1 lib1.so

calf: Error: Failed to load plugin library "lib1.so"
[lech@localhost ~]$ calf -v -a
calf: No plugin specified


Normally the plugins are available in a drop-down GUI list. How can I specify a plugin if there's no information about what they are called, or where they're meant to be located?
Does anybody have any ideas for getting some working filters in a GUI environment?

User avatar
sysrqer
Established Member
Posts: 1758
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: Calf plugin pack silently crashes when attempting to start

Postby sysrqer » Sun Mar 17, 2019 10:05 am

Try

Code: Select all

calfjackhost

Lech123
Established Member
Posts: 32
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: Calf plugin pack silently crashes when attempting to start

Postby Lech123 » Mon Mar 18, 2019 11:20 am

Hmm.
To me it looks like it's trying to start its own instance of the jack server, even though it was already running via qjackctl.

Code: Select all

$ calfjackhost
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
JACK error: Cannot connect to server socket err = No such file or directory
JACK error: Cannot connect to server request channel
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Failed to open server
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
JACK error: Cannot connect to server socket err = No such file or directory
JACK error: Cannot connect to server request channel
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
JACK error: Cannot connect to server socket err = No such file or directory
JACK error: Cannot connect to server request channel
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
JACK error: Cannot connect to server socket err = No such file or directory
JACK error: Cannot connect to server request channel
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
JACK error: Cannot connect to server socket err = No such file or directory
JACK error: Cannot connect to server request channel
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_init: could not connect to server 'localhost' - disabling LASH

** (calfjackhost:21477): WARNING **: 12:13:44.326: Failed to create a LASH connection
JACK error: Cannot connect to server socket err = No such file or directory
JACK error: Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Failed to open server
JACK error: jack server is not running or cannot be started
JACK error: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JACK error: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
jack_mgr_init_jack: could not connect to jackd, exiting
loader_run: server closed socket; exiting
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
^C

User avatar
bluebell
Established Member
Posts: 997
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Calf plugin pack silently crashes when attempting to start

Postby bluebell » Mon Mar 18, 2019 11:36 am

calfjackhost thinks that jackd is not running and tries to start it.

Are you sure that jackd is running?

If it's running, does it run with another name (-n ...)?

Lech123
Established Member
Posts: 32
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: Calf plugin pack silently crashes when attempting to start

Postby Lech123 » Sun Apr 14, 2019 12:53 pm

bluebell wrote:calfjackhost thinks that jackd is not running and tries to start it.

Are you sure that jackd is running?

Yes. Qjackctl would fail without it.

If it's running, does it run with another name (-n ...)?

I wouldn't even know how to check. And I'm goddamn sick and tired of constantly using Google as a go-to database-for-everything because lazy-arse developers refuse to do proper walk-throughs and user-friendly set-up.

Inside Qjackctl, even the damn options are greyed out. The server prefix there is stuck on "jackd -s" and the server name "test1". But whether or not that's the same as the mysterious ID that calf fails to find, is another question.

User avatar
sysrqer
Established Member
Posts: 1758
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: Calf plugin pack silently crashes when attempting to start

Postby sysrqer » Sun Apr 14, 2019 1:50 pm

Are you able to run other programs that use jack? It does look like you have a problem with jack running rather than with the calf host.

Can you screenshot the qjackctl settings and greyed out parts?

Might be worth deleting the qjackctl settings and starting again, just choose your soundcard and try running it.

Lech123
Established Member
Posts: 32
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: Calf plugin pack silently crashes when attempting to start

Postby Lech123 » Thu Apr 25, 2019 1:17 pm

I think I've figured it out (sorry about the fuss).
I had the "Enable Jack DBus interface" option checked in the Miscellaneous tab, which was -- without warning -- disabling several of the options in the Settings | Advanced tab. One of the disabled options was the server name, which was stuck as something other than "(default)". Changing it back fixed it.


Return to “Plugins, Effects and Instruments”

Who is online

Users browsing this forum: No registered users and 1 guest