falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.62k stars 146 forks source link

some UIs won't launch. #65

Closed funkmuscle closed 11 years ago

funkmuscle commented 11 years ago

some UIs won't launch. The calf and the invada and the guitarix lv2 UIs. They could be more. I do get some working. I'm using Arch64 and both binary and AUR build. Even uninstalled, make clean, etc.

Here is a read out from Carla's log: Error opening file /usr/lib/lv2/carla.lv2/manifest.ttl (No such file or directory) lilv_world_load_bundle(): error: Error reading file:///usr/lib/lv2/carla.lv2/manifest.ttl Error opening file /usr/lib/lv2/jg_zitareverb.lv2/manifest.ttl (Permission denied) lilv_world_load_bundle(): error: Error reading file:///usr/lib/lv2/jg_zitareverb.lv2/manifest.ttl Error opening file /usr/lib/lv2/tapiir.lv2/manifest.ttl (Permission denied) lilv_world_load_bundle(): error: Error reading file:///usr/lib/lv2/tapiir.lv2/manifest.ttl CarlaPluginThread::run() - GUI crashed while opening

I tried to run Calf Reverb.

falkTX commented 11 years ago

Thanks for the report. (You can ignore the lilv errors).

I bet the UIs that fail are all Gtk2. Can you try removing the carla configs? (delete ~/.config/falkTX/Carla folder).

Ans send me a screenshot of the Carla engine settings please.

In any case, let's try with a simple plugin UI first. Does vocproc UI show correctly?

funkmuscle commented 11 years ago

no, the vocproc UI crashes too. I did delete the config files also.

CarlaPluginThread::run() - GUI crashed while opening

more info from Carla's log: CALF DEBUG: instance (nil) data (nil) Configuration not available because of lack of instance-access/data-access CarlaPluginThread::run() - GUI crashed while opening

falkTX commented 11 years ago

If you run this: $ /usr/lib/carla/carla-bridge-lv2-gtk2 null http://hyperglitch.com/dev/VocProc http://hyperglitch.com/dev/VocProc/gui UiTest

Do you get the UI?

funkmuscle commented 11 years ago

yep, /usr/lib/carla/carla-bridge-lv2-gtk2 null http://hyperglitch.com/dev/VocProc http://hyperglitch.com/dev/VocProc/gui UiTest

I get a UI.

falkTX commented 11 years ago

This is weird.

Please build carla in debug mode, re-try this and post the console output. (To build carla in debug mode simply use "make debug" instead of "make")

funkmuscle commented 11 years ago

sorry for the late reply, had to run out for a bit.

this is with debug: it spat out a lot of things so I had to stop it.. here is part of it:

arlaEngineJackAudioPort::~CarlaEngineJackAudioPort() CarlaEngineAudioPort::~CarlaEngineAudioPort() CarlaEnginePort::~CarlaEnginePort() CarlaEngineJackAudioPort::~CarlaEngineJackAudioPort() CarlaEngineAudioPort::~CarlaEngineAudioPort() CarlaEnginePort::~CarlaEnginePort() CarlaEngineJackEventPort::~CarlaEngineJackEventPort() CarlaEngineEventPort::~CarlaEngineEventPort() CarlaEnginePort::~CarlaEnginePort() CarlaEngineJackEventPort::~CarlaEngineJackEventPort() CarlaEngineEventPort::~CarlaEngineEventPort() CarlaEnginePort::~CarlaEnginePort() Lv2Plugin::clearBuffers() - end CarlaPlugin::~CarlaPlugin() CarlaEngineClient::isActive() CarlaEngineClient::isActive() CarlaEngineClient::~CarlaEngineClient() CarlaEngine::callback(CALLBACK_PATCHBAY_CLIENT_REMOVED, 0, 5, 0, 0.000000, "(null)") Disconnect: can't disconnect named semaphore name = jack_sem.1000_default_Calf Saturator err = Invalid argument CarlaEngineClient::~CarlaEngineClient() CarlaPluginThread::~CarlaPluginThread() CarlaEngineThread::startNow() CarlaEngine::removeAllPlugins() - END CarlaEngineThread::run()

falkTX commented 11 years ago

the debug is not very useful.

Here's what you should do:

  1. run carla and get everything ready to show the UI, but don't click on the button
  2. on the terminal, press enter several times to make unused space
  3. press the show-gui button on carla
  4. DONT close carla, simply copy the output from the 'unused space' you created before until the end.

thanks!

funkmuscle commented 11 years ago

if I run the debug build and do what you said, as soon as I launch the plugin continues with the:

CarlaEngineAudioPort::~CarlaEngineAudioPort() CarlaEnginePort::~CarlaEnginePort() CarlaEngineJackAudioPort::~CarlaEngineJackAudioPort() CarlaEngineAudioPort::~CarlaEngineAudioPort() CarlaEnginePort::~CarlaEnginePort() CarlaEngineJackEventPort::~CarlaEngineJackEventPort() CarlaEngineEventPort::~CarlaEngineEventPort() CarlaEnginePort::~CarlaEnginePort() CarlaEngineJackEventPort::~CarlaEngineJackEventPort() CarlaEngineEventPort::~CarlaEngineEventPort() CarlaEnginePort::~CarlaEnginePort() Lv2Plugin::clearBuffers() - end

running the binary or a regular build the terminal stays blank.

EDIT: you reminded of trying something earlier when you said you bet it was gtk2 plugins. So I uninstalled the calf-git and used calf-kxstudio-git and not the calf plugins work.. so it's a gtk2 thing.

falkTX commented 11 years ago

hmm, I don't know where to go from there. Those printed messages are not in any way related, can you check it again please?

funkmuscle commented 11 years ago

I think it's a gtk2 thing. Your version of calf works but the calf git doesn't.

falkTX commented 11 years ago

I know it's a gtk2 thing, I just have no idea why the non-carla-bridged approach works but not when used in carla. Also, it works fine for me but not you (both on ArchLinux).

Please run the carla debug build like this: $ carla &> LOG.txt Try to make the plugins UIs show, as reported in this ticket, and pastebin the complete output file.

Thanks

funkmuscle commented 11 years ago

okay I will have to do that tomorrow as here in Toronto Canada we are completely in a blackout state. We had a major thunderstorm and the power's out so when its back on tomorrow I will run those tests.

falkTX commented 11 years ago

ok, I understand.

I'm waiting to see how this bug goes before 1.0.1 is released. So when you have time, you know what to do... ;)

thanks again

funkmuscle commented 11 years ago

ran $ carla &> LOG.txt absolutely no feedback in the terminal.

lv2 plugins like invada, the guitarix lv2 and abgate are not working.. also tried the dssi plugins for calf, they don't work either.

falkTX commented 11 years ago

I know the logs provide no feedback, it goes into the LOG.txt file. That's why I said "pastebin the complete output file".

Are you saying no DSSI UIs work right now? That would not be surprising though, given that archlinux recently updated liblo but not rebuilt all dependent packages (0.26 to 0.27 is not binary compatible).

funkmuscle commented 11 years ago

http://pastebin.com/DzWU5DUi

falkTX commented 11 years ago

Thanks for the pastebin. Can you try with Rui's samplv1 plugin? It's a Qt UI, but it uses the ui-bridge as well. Wherever it works or not will tell me if the error is in the ui-bridge code or just purely Gtk2.

Also, do any DSSI UIs work right now?

funkmuscle commented 11 years ago

no probs. Rui's plugins do work. http://pastebin.com/GKQReaGe

falkTX commented 11 years ago

sorry, I meant you to try synthv1 plugin. That's the one that can be used in ui-bridge mode.

Also, do DSSI UIs work right now or not?

funkmuscle commented 11 years ago

no probs.. the dssi are not loading and same with the synthv1 plugin. http://pastebin.com/FG4WhY6M

falkTX commented 11 years ago

ah, so it's liblo that is failing then. this means you have a problem in your system setup - localhost not defined properly.

Please fix your system so that "localhost" is properly defined. /etc/hosts file must have something wrong.

funkmuscle commented 11 years ago

yep. I missed that.. Had to reinstall a while back as I messed up my box and had to get a song finished and never paid attention to the details.. thanx man.

falkTX commented 11 years ago

you're welcome.

I'm pretty sure this issue is all about localhost and hosts file setup (so I closed the bug), but I'd love to know if you can fix the issue. If you're able to get it sorted out, please let me know!

funkmuscle commented 11 years ago

heck yeah you fixed it.. thanx a million.. having some fun with it.. the klangfalter doesn't work in Ardour but kinda works in Qtractor.. dunno if this is the place to mention it.. If I load a guitar cab IR file when KlangFalter is loaded in Carla, it works great but issue in the DAW.

falkTX commented 11 years ago

ah cool, nice to know it works now.

for klangfalter issues, use the distrho project bug reports: https://github.com/falkTX/DISTRHO/issues

Although I suspect this is an Ardour issue.