Compile problem?

Moderators: MattKingUSA, khz, muldjord, deva

Post Reply
valvetubes
Established Member
Posts: 4
Joined: Thu Dec 31, 2020 7:32 am

Compile problem?

Post by valvetubes »

Drumgizmo haven't been working on latest Ardour 6.5.x. I've tried versions 0.9.19 and Git versions. It does not work in Reaper 6.18 either. In both these DAW:s the Drumgizmo plugin hangs when trying to access it. I've tried earlier versions of Drumgizmo but they won't even compile on my distro.

There are no logs that I know of for when the plugin hangs, so I don't know where to begin the search for a solution.

I'm on PCLinuxOS and it's a rolling release distro, so all libs are very new, perhaps too new!? I'm used to compiling and when compiling Git and 0.9.19 there are no erorrs for config and make commands.

I love Drumgizmo and I would be very thankful for some hints and lib-versions and logs to search for errors. I can also edit source code as well, if need be.
On a side note: Reaper does not support lv2 plugins but lv2vst plugin solves that for many lv2 plugins. And Drumgizmo starts under these conditions but hangs when opening the UI. So I do not suspect any problems with Reaper. Especially since Drumgizmo behaved exactly the same in Ardour 6.5.x (and git Ardour too).

Happy New Year!!! :D
User avatar
deva
Established Member
Posts: 285
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 31 times
Contact:

Re: Compile problem?

Post by deva »

First of all happy new-year :-)

When you say "Drumgizmo plugin hangs when trying to access it" do you then mean, when trying to open the UI, or when adding the plugin to a midi track?

Is this something that happened after you upgraded DrumGizmo to 0.9.19 or after you upgraded Ardour to 6.5?
Also, are you using the VST or LV2 version of DrumGizmo?
I only have Ardour 6.2 here, and I cannot re-produce the problem.

Compiling DrumGizmo from sources, you can enable debug information with the '--with-debug' flag to configure. If you then start Ardour from a terminal you should see a lot of debug output form DrumGizmo there. Perhaps it can tell us something useful?

DrumGizmo only depends on libsndfile and lv2 externally, so I'm guessing it shouldn't be a problem with the new libraries.

Cheers // Bent
chaot4
Established Member
Posts: 61
Joined: Sat Apr 16, 2016 9:59 am
Been thanked: 1 time

Re: Compile problem?

Post by chaot4 »

I just checked Ardour 6.5 with DG 0.9.19 compiled under Manjaro (which is also rolling release) and at least loading the GUI works without any issues and nothing hangs.

It must be something specific to your system then.
valvetubes
Established Member
Posts: 4
Joined: Thu Dec 31, 2020 7:32 am

Re: Compile problem?

Post by valvetubes »

Thx guys! I'll try with the debug flag when compiling and then start from the terminal. I'll report back!

It hangs when trying to open the UI and it's lv2.
valvetubes
Established Member
Posts: 4
Joined: Thu Dec 31, 2020 7:32 am

Re: Compile problem?[/code]

Post by valvetubes »

Got some debug messages. Reaper crashes when I try to load the drumgizmo plugin. Reaper does not protest when re-reading the plugin directorys and clearing the plugins cache. There are some language errors, but I don't think they will cause this crash. Or are they? I don't expect drumgizmo in my langauge (swedish). English is 100% OK.

There is one other error about refs.conf. I don't know what that file does and why it is not created automaticly as the other config files in .drumgizmo dir.

At the end you can see the "segmenteringfel" = segmentation fault. That is bad.

Remember that I'm using the plugin lv2vst, which makes lv2 plugins available to Reaper. I do not suspect that at this time, since it seems to be working nicely with Reaper and other lv2 plugins like; AVL Drumkit, Guitarix, Calf and more. Not 100% but reasonably compatible.

Code: Select all

2021-01-01 11:17:20 debug:configfile:open:193 Opening config file '/home/svensson/.drumgizmo/refs.conf'
2021-01-01 11:17:20 err:drumkitparser:loadMidiMap:55 Error reading refs.conf
2021-01-01 11:17:20 debug:mmap:loadMidiMap:61 loadMidiMap(, i.size() == 0)
2021-01-01 11:17:20 debug:loader:thread_main:396 Loader thread finished.
2021-01-01 11:17:20 debug:cache:~AudioCache:45 ~AudioCache() pre
2021-01-01 11:17:20 debug:cache:~AudioCache:50 ~AudioCache() post
2021-01-01 11:17:20 debug:configfile:save:147 Saving configuration...
2021-01-01 11:17:20 debug:configfile:open:193 Opening config file '/home/svensson/.drumgizmo/drumgizmo.conf'
LANG: sv
2021-01-01 11:17:20 err:rc:Resource:94 Could not find ':locale/sv.mo'
Locale not in resources - use default
2021-01-01 11:17:20 debug:configfile:load:123 Loading config file...
2021-01-01 11:17:20 debug:configfile:open:193 Opening config file '/home/svensson/.drumgizmo/drumgizmo.conf'
2021-01-01 11:17:20 debug:configfile:parseLine:359 key['defaultKit'] value['']
2021-01-01 11:17:20 debug:configfile:parseLine:359 key['defaultMidimap'] value['']
2021-01-01 11:17:20 debug:thread:run:39 Thread::run()
2021-01-01 11:17:20 debug:thread:thread_run:63 Thread run
2021-01-01 11:17:20 debug:thread:run:39 Thread::run()
2021-01-01 11:17:20 debug:thread:thread_run:63 Thread run
2021-01-01 11:17:20 debug:dgeditor:setSamplerate:434 void DrumGizmo::setSamplerate(float, float) samplerate: 44100,000000
2021-01-01 11:17:20 debug:configfile:load:123 Loading config file...
2021-01-01 11:17:20 debug:configfile:open:193 Opening config file '/home/svensson/.drumgizmo/drumgizmo.conf'
2021-01-01 11:17:20 debug:configfile:parseLine:359 key['defaultKit'] value['']
2021-01-01 11:17:20 debug:configfile:parseLine:359 key['defaultMidimap'] value['']
2021-01-01 11:17:20 debug:dgeditor:setSamplerate:434 void DrumGizmo::setSamplerate(float, float) samplerate: 44100,000000
2021-01-01 11:17:20 debug:drumgizmo:setFrameSize:97 New framesize: 2048
2021-01-01 11:17:20 debug:dgeditor:setSamplerate:434 void DrumGizmo::setSamplerate(float, float) samplerate: 44100,000000
2021-01-01 11:17:20 debug:drumgizmo:setFrameSize:97 New framesize: 512
2021-01-01 11:17:20 debug:dgeditor:setSamplerate:434 void DrumGizmo::setSamplerate(float, float) samplerate: 44100.000000
2021-01-01 11:17:20 debug:configfile:load:123 Loading config file...
2021-01-01 11:17:20 debug:configfile:open:193 Opening config file '/home/svensson/.drumgizmo/refs.conf'
2021-01-01 11:17:20 err:drumkitparser:loadMidiMap:55 Error reading refs.conf
2021-01-01 11:17:20 debug:mmap:loadMidiMap:61 loadMidiMap(, i.size() == 0)
2021-01-01 11:17:20 debug:configfile:load:123 Loading config file...
2021-01-01 11:17:20 debug:configfile:open:193 Opening config file '/home/svensson/.drumgizmo/plugingui.conf'
2021-01-01 11:17:20 debug:directory:listFiles:149 Listing files in '/home/svensson'
2021-01-01 11:17:20 info:filebrowser:changeDir:209 Changing path to '/home/svensson/'
2021-01-01 11:17:20 debug:filebrowser:changeDir:269 Setting path of lineedit to /home/svensson
2021-01-01 11:17:20 err:rc:Resource:94 Could not find ':../ABOUT.sv'
2021-01-01 11:17:20 err:rc:Resource:94 Could not find ':../BUGS.sv'
2021-01-01 11:17:20 err:rc:Resource:94 Could not find ':../AUTHORS.sv'
2021-01-01 11:17:20 err:rc:Resource:94 Could not find ':../COPYING.sv'
2021-01-01 11:17:20 debug:configfile:load:123 Loading config file...
2021-01-01 11:17:20 debug:configfile:open:193 Opening config file '/home/svensson/.drumgizmo/plugingui.conf'
Segmenteringsfel
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Re: Compile problem?

Post by JamesPeters »

In Reaper for Linux, you should use the Linux VST version instead. I'm currently using it. I've actually built a version with more than 16 outs from the source, and it works fine too.

That is, if you plan to keep using Reaper.
Last edited by JamesPeters on Sat Jan 02, 2021 4:44 pm, edited 1 time in total.
User avatar
deva
Established Member
Posts: 285
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 31 times
Contact:

Re: Compile problem?

Post by deva »

I see nothing out of the ordinary in the debug output.
Is it possible for you to start ardour through gdb? IIRC you can start it through a script in the source folder, if you compiled it yourself.
./gtk2_ardour/ardbg

Then if you type "run" it will start ardour and then you can provoke the crash and send back the output of the 'bt' command. That would be most helpful.
valvetubes
Established Member
Posts: 4
Joined: Thu Dec 31, 2020 7:32 am

Re: Compile problem?

Post by valvetubes »

JamesPeters wrote: Fri Jan 01, 2021 10:52 pm In Reaper for Linux, you should use the Linux VST version instead. I'm currently using it. I've actually built a version with more than 16 outs from the source, and it works fine too.

That is, if you plan to keep using Reaper.

I managed to do just that, build a Linux vst version. And it seems to work great with your drumkit too!

How did you build it with 18 outs?
User avatar
deva
Established Member
Posts: 285
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 31 times
Contact:

Re: Compile problem?

Post by deva »

So you get no crashes with the lxvst? But you do get crashes with the lv2 in Ardour?
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Re: Compile problem?

Post by JamesPeters »

valvetubes wrote: Mon Jan 04, 2021 5:38 pm I managed to do just that, build a Linux vst version. And it seems to work great with your drumkit too!

How did you build it with 18 outs?
I'm glad to help!

During the configure step, add this option:

--enable-custom-channel-count=18

Or whatever number you want.

I like using a version of my kit with lots of outputs so that I can get separate room and overhead channels for each "group" of instruments (snare has its own room/overhead, toms have their own room/overhead, etc.) That way I can have it as a single kit, too. Just one instance of DrumGizmo needed. It's quite handy. :)
Post Reply