No native GIU for Calf plugins on Ubuntu-20.04

MusE is a MIDI/Audio sequencer with recording and editing capabilities, aiming to be a complete multitrack virtual studio for Linux. https://muse-sequencer.org/

Moderators: MattKingUSA, khz, spamatica

Post Reply
dailybug2
Established Member
Posts: 44
Joined: Tue May 28, 2019 2:33 pm
Location: Germany
Contact:

No native GIU for Calf plugins on Ubuntu-20.04

Post by dailybug2 »

The menu entry "Show native GUI" is grayed out for all Calf plugins.

MusE built 24.05.2020 from GIT master branch

Calf-pluggins installed from Ubuntu distribution; all dependencies satisfied:
> apt-cache show calf-plugins
(all dependencies installed)
Recommends: gtk2-engines-pixbuf
(is also installed)
> dpkg --listfiles calf-plugins | grep '\.so'
/usr/lib/lv2/calf.lv2/calflv2gui.so
/usr/lib/x86_64-linux-gnu/calf/calf.so
/usr/lib/lv2/calf.lv2/calf.so
> ldd /usr/lib/lv2/calf.lv2/calflv2gui.so
(all libraries present)
> ldd /usr/lib/x86_64-linux-gnu/calf/calf.so
(all libraries present)
> ldd /usr/lib/lv2/calf.lv2/calf.so
(all libraries present)

This used to work on Ubuntu-18.04. Did they screw up the plugins, or does MusE need an adaption? Anybody else seeing the native GUIs?

I'm aware that Ubuntu is not the reference regarding audio plugins; should I compile the plugins on my own, or get them from some other source? It seems a long way to get MusE into an acceptable state for actual use ...
/* Drunk, 'll fix later ... well, usability is anyway only of interest to those who got beyond the crashes! :P */

spamatica
Established Member
Posts: 307
Joined: Mon Feb 08, 2010 10:38 am

Re: No native GIU for Calf plugins on Ubuntu-20.04

Post by spamatica »

dailybug2 wrote:
Wed May 27, 2020 6:45 am
The menu entry "Show native GUI" is grayed out for all Calf plugins.

MusE built 24.05.2020 from GIT master branch

Calf-pluggins installed from Ubuntu distribution; all dependencies satisfied:
> apt-cache show calf-plugins
(all dependencies installed)
Recommends: gtk2-engines-pixbuf
(is also installed)
> dpkg --listfiles calf-plugins | grep '\.so'
/usr/lib/lv2/calf.lv2/calflv2gui.so
/usr/lib/x86_64-linux-gnu/calf/calf.so
/usr/lib/lv2/calf.lv2/calf.so
> ldd /usr/lib/lv2/calf.lv2/calflv2gui.so
(all libraries present)
> ldd /usr/lib/x86_64-linux-gnu/calf/calf.so
(all libraries present)
> ldd /usr/lib/lv2/calf.lv2/calf.so
(all libraries present)

This used to work on Ubuntu-18.04. Did they screw up the plugins, or does MusE need an adaption? Anybody else seeing the native GUIs?

I'm aware that Ubuntu is not the reference regarding audio plugins; should I compile the plugins on my own, or get them from some other source? It seems a long way to get MusE into an acceptable state for actual use ...
If you want a turnkey solution then, yes, MusE has some ways to go, but then again so has all other open source solutions (maybe all linux based solutions) to various extent.

What you are experiencing does not look right though. I recently upgraded a system to 20.04, I will check tonight if there is any related issue
Could you run the cmake step again and see if it reports any issues which might block the UI support?

Tim E. Real
Established Member
Posts: 409
Joined: Sat Sep 15, 2012 12:36 am

Re: No native GIU for Calf plugins on Ubuntu-20.04

Post by Tim E. Real »

I think Calf uses gtk UIs.
You likely did not install the necessary GTK development packages.
Install them and reconfigure MusE then rebuild.
MusE will automatically pick them up since the cmake option 'ENABLE_LV2_GTK2' for them is enabled by default

From our README:
- LV2 Gtk2 User Interface support:

Some LV2 plugins may provide a Gtk2 based graphical User Interface.
To view them, the following is required (development files):
gtkmm-2
http://www.gtkmm.org
gtk+-2
http://www.gtk.org

spamatica
Established Member
Posts: 307
Joined: Mon Feb 08, 2010 10:38 am

Re: No native GIU for Calf plugins on Ubuntu-20.04

Post by spamatica »

It does work on my upgraded installation.

Though since there can be a number of reasons why this differs I went ahead and installed 20.04 in a virtual machine and redid the installation.
In the README in the base folder there is an apt command for installing all dependencies, I used that and then built and installed muse + calf-plugins, the resulting muse could display the guis of the calf plugins.

Tim is probably on the right track, If you didn't use the apt string from the readme it is likely you are missing the 'libgtkmm-2.4-dev' package, then the gtk gui support will not be built.

User avatar
oscillator
Established Member
Posts: 300
Joined: Sat Jan 17, 2015 6:07 pm
Location: SWEDEN
Contact:

Re: No native GIU for Calf plugins on Ubuntu-20.04

Post by oscillator »

dailybug2 wrote:
Wed May 27, 2020 6:45 am
I'm aware that Ubuntu is not the reference regarding audio plugins; should I compile the plugins on my own, or get them from some other source? It seems a long way to get MusE into an acceptable state for actual use ...
I run on Debian 10/Buster with XFCE4 (I have it on all my machines) and the Calf plugins all show their native GUI.

I used to compile all plugins myself, but now that kxstudio is updated again I usually install from https://kx.studio/Repositories:Plugins. Download the deb and install with "sudo dpkg -i <xxx>.deb".
MusE DAW running on Debian 10 Stable/XFCE4.
https://oscillator.se/musik

dailybug2
Established Member
Posts: 44
Joined: Tue May 28, 2019 2:33 pm
Location: Germany
Contact:

Re: No native GIU for Calf plugins on Ubuntu-20.04

Post by dailybug2 »

OK, thanks for your effort. Most likely some auto-cleanup of .deb packages caused the problem. Of course I built MusE from scratch again, but I did not have a look at the config warnings again. Quite a lot of pitfalls ...

Btw; If I would expect a "turnkey solution", I would not be here :wink:
My DAW must run on Linux! I'm a Linux user since 1990 at home and since ~1995 at work. Absolutely no Windows except for remote desktop on the company server.
/* Drunk, 'll fix later ... well, usability is anyway only of interest to those who got beyond the crashes! :P */

dailybug2
Established Member
Posts: 44
Joined: Tue May 28, 2019 2:33 pm
Location: Germany
Contact:

Re: No native GIU for Calf plugins on Ubuntu-20.04

Post by dailybug2 »

Mea culpa once again; the following packets were missing: libgtk2.0-dev libgtkmm-2.4-dev
I guess they had been installed for some other actions on Ubuntu-18.04, so they didn't make it to my list of packets to be installed.

Here my current list (may be yet incomplete):

Code: Select all

# Minimum packets
sudo apt install \
cmake \
g++ \
git \
ladspa-sdk \
libjack-jackd2-dev \
libqt5svg5-dev \
libsamplerate0-dev \
libsndfile1-dev \
qt5-default \
qttools5-dev

# Optional / recommended packetes
sudo apt install \
dssi-dev \
libfluidsynth-dev \
libgtk2.0-dev libgtkmm-2.4-dev \
libinstpatch-dev \
liblilv-dev \
liblo-dev \
liblrdf0-dev \
librtaudio-dev \
librubberband-dev \
libzita-resampler-dev \
lv2-dev
/* Drunk, 'll fix later ... well, usability is anyway only of interest to those who got beyond the crashes! :P */

Post Reply