Topic: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

Hi,
I want to upgrade to the latest version on linux, but I cannot load the LV2 plugin. Ardour and Carla simlpy crash. The plugin gets recognised correctly, it's installed correctly, switching to 7.0.5 works as expected. 7.5.1 and 7.5.2 won't load.

The standalone version works and sounds lovely.


Last messages of Carla:

JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
Carla assertion failure: "! lib.canDelete" in file ../../utils/CarlaLibCounter.hpp, line 46

Last message of Ardour:

The program 'ardour-6.9.0' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 54 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I'd love to provide more logs, but there aren't more. If I can provide more information, please feel free to ask! Happy to help.

Best regards,
Oliver

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

Interesting. No problem here with Pianoteq 7.5.2 in both Ardour (6.9.0) or Harrison Mixbus32C (7.2.0) in Linux Mint, XFCE edition.
No crashes. Pianoteq in both DAWs seems to work perfectly. However, I notice in the Plugin Manager window in both Ardour and Mixbus32C (which is based on Ardour), that all of the Carla plugins are listed with status "Error" rather than "OK," but that may be because my Carla installation is older and has not been updated (although updates are available).

Output when launching Ardour6 from a terminal commandline:

Me@Me-Thelio:/usr/local/bin$ Ardour6 
Ardour6.9.0 (built using 6.9 and GCC version 6.3.0 20170516)
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /opt/Ardour-6.9.0/etc/system_config
Ardour: [INFO]: Loading user configuration file /home/Me/.config/ardour6/config
Ardour: [INFO]: CPU vendor: AuthenticAMD
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: AMD Ryzen 7 5700G with Radeon Graphics         
Ardour: [INFO]: Using AVX and FMA optimized routines
Ardour: [INFO]: Loading plugin meta data file /opt/Ardour-6.9.0/share/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading plugin statistics file /home/Me/.config/ardour6/plugin_metadata/plugin_stats
Cannot xinstall SIGPIPE error handler
Ardour: [INFO]: Loading default ui configuration file /opt/Ardour-6.9.0/etc/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /home/Me/.config/ardour6/ui_config
Ardour: [INFO]: Loading 452 MIDI patches from /opt/Ardour-6.9.0/share/patchfiles
Ardour: [INFO]: Loading color file /opt/Ardour-6.9.0/share/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /opt/Ardour-6.9.0/etc/clearlooks.rc
Ardour: [INFO]: Loading bindings from /opt/Ardour-6.9.0/etc/ardour.keys
Loading ui configuration file /opt/Ardour-6.9.0/etc/clearlooks.rc
Found nothing along /home/Me/.config/ardour6/templates:/opt/Ardour-6.9.0/share/templates
Scanning folders for bundled LV2s: /opt/Ardour-6.9.0/lib/LV2
Set cursor set to default
Reading player:Pianoteq 7 took 6 microseconds, final size = 0

I have noticed one anomaly, however. In Ardour, all five Pianoteq (LV2 or VST) outputs are listed in Ardour's audio routing grid (so that individual outputs can be routed to the Master bus or elsewhere), but seem to be numbered in reverse order. That is to say, if a preset is selected in the Pianoteq plugin that has (for example) only outputs 1 and 2 enabled, those outputs correspond to outputs 5 and 4, respectively, in Ardour's routing grid.

And, there may be an issue with the Pianoteq 7.5.x plugin in the Logic DAW in Mac OS which is based on BSD Unix which is a relative of Linux, so, well--

Last edited by Stephen_Doonan (19-12-2021 13:26)
--
Linux, Pianoteq Pro, Organteq

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

Strange but good to know.

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

I tried 7.5.2 LV2 in linux AVL-MXE in Ardour 6.9, Mixbus 7.2, and Carla: no problems found.   What flavor of linux are you running?

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

varpa wrote:

I tried 7.5.2 LV2 in linux AVL-MXE in Ardour 6.9, Mixbus 7.2, and Carla: no problems found.   What flavor of linux are you running?

I'm on Archlinux running SwayWM.

Trying to load the plugin as a VST results in this message in Ardour:

[Info]: Scanning: /home/oliver/.vst/Pianoteq_7.so
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  54
  Current serial number in output stream:  54
Scan Failed.

Same Ardour but Pianoteq 7.0.5:

[Info]: Scanning: /home/oliver/.vst/Pianoteq_7.so
[Info]: Found Plugin: 'q7tP' Pianoteq 7
[Info]: Touch cachefile: set mtime = 1639993577 (2021-12-20 10:46:17), plugin mtime = 1607265022 (2020-12-06 15:30:22)
<VST2Cache version="1" binary="/home/oliver/.vst/Pianoteq_7.so" arch="x86_64">
  <VST2Info id="1349793649" name="Pianoteq 7" creator="Modartt" category="Instrument" version="" n_inputs="0" n_outputs="5" n_midi_inputs="1" n_midi_outputs="0" is_instrument="1" can_process_replace="1" has_editor="1">
  </VST2Info>
</VST2Cache>
[Info]: Saved VST2 plugin cache to /home/oliver/.cache/ardour6/vst/aff1e6ffca32afb0fe0b58ae2a71b68917247758-x64.v2i

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

Well, either the last arch updates or me switching to a Gnome Session fixed the issue. I can now load Pianoteq 7.5.2 in both Ardour and Carla.


Weird but I'm sure the fault is (was?) somewhere on my system.

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

Glad you got the Pianoteq plugin to work again.  I see you are using the VST version of Pianoteq.   Did you know that if you rename the Pianoteq_7.so to Pianoteq_7_2chan.so it will appear with only 2 channels rather than 5, which is useful if you only need stereo output.   Also on linux Pianoteq Pianoteq has a lv2 plugin which is the one I mostly use.    Not completely where Ardour looks for lv2 plugins, but it is typically /usr/lib/lv2, /usr/local/lib/lv2, and ~/.lv2.   Pianoteq\ 7.lv2 is not a single file, but a directory that you need to "cp -r" to one of these locations.

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

oliver wrote:

Well, either the last arch updates or me switching to a Gnome Session fixed the issue. I can now load Pianoteq 7.5.2 in both Ardour and Carla.


Weird but I'm sure the fault is (was?) somewhere on my system.

It's Sway, but I don't know why... The plugins work on Gnome as intended but won't load on sway (yes, xwayland is enabled).

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

I have tried LV2 7.5.2 on Debian current (bullseye).

* ardour 6.5.0 (distributed binary package) crashes.
* ardour 6.9.0 (built from source package in sid) crashes.
* qtractor 0.9.20 (distributed binary package) works fine.

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

I'm getting the same error with Pianoteq VST on Bitwig Studio / Manjaro KDE. Below is the message Bitwig shows on its plugin error window.

stderr:
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  54
  Current serial number in output stream:  54

7.5.1 and 7.5.2 has this issue while 7.4.2 works fine. And on Reaper it works just fine.

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

Latest 7.5.3 seems to solve the issue for me !

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

sohet wrote:

Latest 7.5.3 seems to solve the issue for me !

Yes, for mine too.

Respeito, Esforço e Sabedoria

Re: Latest 7.5.2 LV2 won't load on Linux, standalone works fine

It really does! Amazing!