[SOLVED] Ardour and Drumkv1 - failed to instantiate LV2 GUI

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
User avatar
BerlinBayBand
Established Member
Posts: 3
Joined: Fri May 12, 2017 12:19 am
Location: Berlin, Germany
Contact:

[SOLVED] Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by BerlinBayBand »

When I add Drumkv1 to an Ardour midi channel I can't launch the gui via double klick. Too bad, I created some nice bongo samples and now I can't play with them :? :wink:

Ok, I've seen some posts with this issue e. g. here https://community.ardour.org/node/13450
but they seem either outdated or don't point to solutions.

Any suggestions how to go about this? Or what logs to post for support?

some details:
The build configuration reads: "LV2 UI embedding: True"
The Ardour log window reads: "failed to instantiate LV2 GUI"
Ardour 5.8.0 "Music for Airplay" (rev 5.8) Intel 64-bit
qmake --version reads: QMake version 2.01a Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu
ubuntu 16.10 / Intel® Core™ i3 CPU 540 @ 3.07GHz × 4 / 64-bit
Last edited by BerlinBayBand on Tue May 23, 2017 7:44 am, edited 2 times in total.
User avatar
sysrqer
Established Member
Posts: 2527
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 320 times
Been thanked: 153 times
Contact:

Re: Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by sysrqer »

Are you using kxstudio repo? I saw something that sounds like this in a recent update there - viewtopic.php?f=47&t=17028#p81209
rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

Re: Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by rghvdberg »

Yes, big PITA.
For now a work around would be either fabla or the lsp sampler.

The v1 suite of plugins are really good tools though :-(
User avatar
BerlinBayBand
Established Member
Posts: 3
Joined: Fri May 12, 2017 12:19 am
Location: Berlin, Germany
Contact:

Re: Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by BerlinBayBand »

sysrqer wrote:Are you using kxstudio repo?
Ok, so it's very likely a QT framework issue ... no, installed from source drumkv1-0.8.2.tar.gz :(
User avatar
rncbc
Established Member
Posts: 1071
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 279 times
Contact:

Re: Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by rncbc »

sysrqer wrote:Are you using kxstudio repo? I saw something that sounds like this in a recent update there - viewtopic.php?f=47&t=17028#p81209
it seems the latest ardour5.8+git is a dang PITA when dealing with LV2 plugins Qt5 UIs, being all of the vee-ones one fine example
well, just a different day, same sh*t all over again
byee

ps. you can try to build drumkv1 (and the othe other v1s) from source again, but now with ./configure --enable-qt4 ... hope it works. but then it is plain outrageous why ardour5 is shipping with unbelievable broken code to start with.
User avatar
rncbc
Established Member
Posts: 1071
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 279 times
Contact:

Re: Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by rncbc »

falkTX wrote:The code is not broken, that's not the problem. I tested that qt5 embed thing and it works fine.
There's one problem that ardour official gcc5 builds use debian stretch, which contain a newer version than some other gcc5 systems include - like Ubuntu 16.04.

@BerlinBayBand: just run this:

Code: Select all

sudo sed -i "s/drumkv1_lv2:ui, drumkv1_lv2:ui_external/drumkv1_lv2:ui_external/" /usr/lib/lv2/drumkv1.lv2/drumkv1.ttl
which disables the qt5 ui, leaving the external.
should make it work once again.
and why the fsck have you to fix it on the v1 lv2ui .ttl side at all? ain't that enough evidence that ardour's is gone fubar?
nm. i'm outta here :/
User avatar
BerlinBayBand
Established Member
Posts: 3
Joined: Fri May 12, 2017 12:19 am
Location: Berlin, Germany
Contact:

Re: Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by BerlinBayBand »

Well - aside from code astheics - it worked. The Drumkv1 is nice, spent two hours hacking around the bongo samples.
Can I mark the thread as [SOLVED] simply by changing the name?

Thanks falk, thanks guys!
falkTX wrote:@BerlinBayBand: just run this:

Code: Select all

sudo sed -i "s/drumkv1_lv2:ui, drumkv1_lv2:ui_external/drumkv1_lv2:ui_external/" /usr/lib/lv2/drumkv1.lv2/drumkv1.ttl
Note on this solution:
make sure that your LV2 plugin path actually is /usr/lib/lv2
They might just be stored in /usr/local/lib/lv2
carpiphile
Posts: 1
Joined: Wed Aug 30, 2017 8:58 am

Re: [SOLVED] Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by carpiphile »

I have yet to attempt this fix fro Ardour 5.8.0 on 14.04, but will test it out tomorrow. I have a simular issue with the newest Calf-audio-gear plugins. Is it possible this fix would also work for them and will I have to apply it on a per-plugin basis?
folderol
Established Member
Posts: 2083
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 232 times
Been thanked: 400 times
Contact:

Re: [SOLVED] Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by folderol »

That seems rather bad. How does one package type affect another?
The Yoshimi guy {apparently now an 'elderly'}
folderol
Established Member
Posts: 2083
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 232 times
Been thanked: 400 times
Contact:

Re: [SOLVED] Ardour and Drumkv1 - failed to instantiate LV2 GUI

Post by folderol »

Thanks for that. Makes sense now.
The Yoshimi guy {apparently now an 'elderly'}
Post Reply