Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rominator1983 opened this issue Sep 22, 2022 · 8 comments
Closed

Comments

@rominator1983
Copy link

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
Copy link
Author

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.

@GuitarML
Copy link
Owner

GuitarML commented Sep 22, 2022

@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.

@rominator1983
Copy link
Author

@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.

@GuitarML
Copy link
Owner

@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.

@rominator1983
Copy link
Author

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.

@cwerstak
Copy link

cwerstak commented Sep 22, 2022 via email

@GuitarML
Copy link
Owner

GuitarML commented Sep 22, 2022

@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.

@rominator1983
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants