NeuralPi icon indicating copy to clipboard operation
NeuralPi copied to clipboard

Segmentation Fault in mod-host. Not listed in guitarix. Ubuntu 22.04

Open rominator1983 opened this issue 2 years ago • 7 comments

Hi,

I am usingUbuntu 22.04 and the latest deb-file from the releases on this github-project. I checked, that the plugin is installed in my users .lv2 directory. I also tried to move the plugin to /usr/lib/lv2

I get a segmentation fault in mod-host when I drag the plugin into my pedalboard in the constructor pane. Guitarix does not even list me the plugin. I did not check the guitarix logs yet. I suppose that the underlying problem is the same.

Is this plugin fit to be used in those applications or would I have to use it only in standalone form? Anybody experiencing the same issues? Or maybe already fixed somewhere?

I will maybe try to build it on my own and pin the code line where the segfault happens. But could be a waste of time dependending on the answers to above questions.

rominator1983 avatar Sep 22 '22 09:09 rominator1983

when building it myself (from main) I can drag it on the pedalboard in mod-host (mod-ui that is) when deleting the instance mod-host crashes with "failed to import system wisdom file". Guitarix will still not load the plugin.

rominator1983 avatar Sep 22 '22 10:09 rominator1983

@rominator1983 I think there's a misunderstanding here, NeuralPi has not been built to run on any Mod device, at least not by me. Possibly someone else out there has ported it. Mod devices use LV2 plugins, but they still have to be specifically built to run for MOD using the MOD-SDK. NeuralPi has been built to run on a RaspberryPi 4 on Elk OS, or on Win/Mac/Linux in a typical DAW. I'm not familiar with Guitarix and haven't done any testing with that product. If you do get it working however feel free to share here, I'll keep this issue open in case others are interested.

GuitarML avatar Sep 22 '22 13:09 GuitarML

@GuitarML thank you for you answer. I know that about the mod. Interesting thing is, that many LV2 plugins run in the mod just fine and you get some generic UI interface for the LV2 ports. So all plugins are run without their pretty UI. And of course one has to add his/her own GUI for the mod if he is able to. When it comes down to file handling things get more complicated but I thought I would just go ahead and try it out first and maybe add something for the mod later.

The same is basically true for Guitarix as far as I know from making my own LV2 plugin some time ago. Though file handling seems not to be an issue here even for the generic UI guitarix shows for your GUI-less LV2 plugin. So it seems strange that the plugin does not get listed in Guitarix at all.

So if understand you correctly you are mainly supporting running the thing standalone? How would one do that on Linux? Tnat would definitely be some information for the readme.md. I could make a PR if you gave me a starting point on that.

rominator1983 avatar Sep 22 '22 14:09 rominator1983

@rominator1983 For Linux, the .deb installer has a LV2 and VST3 plugin that has been tested in Reaper on Ubuntu 18, as well as the standalone app. NeuralPi was created mainly for the Raspberry Pi 4 project pedal, with the plugin or standalone as a remote controller over WiFi with OSC protocol. Since Raspberry Pi's are hard to come by lately, many people have been simply using NeuralPi as a plugin in their DAW. Likely I'm doing something in the NeuralPi code that Guitarix isn't compatible with or doesn't support. You could try one of my other recent plugins with Guitarix to test out that theory, my latest releases contain LV2's in the .deb linux installer.

GuitarML avatar Sep 22 '22 14:09 GuitarML

I see. Thank you for the information. I got the plugin running (showing some GUI that is since I have not tested the sound) using https://github.com/brummer10/jalv_select and "jalv.qt5" as "jalv interpreter". If all settings are exported as LV2-ports it should be able to run the thing in MOD too (where at least it loads if built from main). As said selecting tone and file handling might be a problem. But if tones are placed in the right directory, things might just work.

I will give that a go and might place my findings here. Thank you again.

rominator1983 avatar Sep 22 '22 14:09 rominator1983

Please unsubscribe me to these emails.

Thanks!

Chuck

On Thu, Sep 22, 2022 at 8:39 AM rominator1983 @.***> wrote:

I see. Thank you for the information. I got the plugin running (showing some GUI that is since I have not tested the sound) using https://github.com/brummer10/jalv_select and "jalv.qt5" as "jalv interpreter". If all settings are exported as LV2-ports it should be able to run the thing in MOD too (where at least it loads if built from main). As said selecting tone and file handling might be a problem. But if tones are placed in the right directory, things might just work.

I will give that a go and might place my findings here. Thank you again.

— Reply to this email directly, view it on GitHub https://github.com/GuitarML/NeuralPi/issues/33#issuecomment-1255125527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBBZWNQ7EV5FOHBXZSK443V7RVTTANCNFSM6AAAAAAQS4CURE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Chuck Werstak @.***

cwerstak avatar Sep 22 '22 18:09 cwerstak

@cwerstak I don't have control over this, I think you're getting the emails because you are following the project. It's a default Github thing. You can unsubscribe by either unwatching the project, unsubscribing, or changing your Github settings.

GuitarML avatar Sep 22 '22 19:09 GuitarML

I'm gonna close this now since I am now using aida-x on mod

rominator1983 avatar Jun 07 '23 07:06 rominator1983