Old 09-09-2019, 03:05 AM   #1
cern.th.skei
Human being with feelings
 
cern.th.skei's Avatar
 
Join Date: Sep 2007
Location: trondheim, norway
Posts: 316
Default vst3 test

i'm working on adding vst3 support to my c++ plugin framework/library.. things are progressing nicely, and i now have a simple, working plugin with a minimal gui.. before i start massaging and cleaning up the code, and combining it with the rest of my plugin framework/library, it would be great to test it a little.. so, i made this little plugin, sonic_maximizer, and hope somebody could be interesterd in helping me test it in various distros and hosts.. i have tested it myself in bitwig and reaper, where they seem to work well.. but there's not many vst3 hosts for linux.. does the linux version of tracktion/waveform support vst3 plugins? anything else? mixbus? also, i have only tested it in linux mint 19.1, but the plugin doesn't have much dependencies (pthread and xcb, mainly), so i guess it should work pretty much everywhere.. in theory..

sonic_maximizer.vst3-08.sep.2019.zip (60 kb)
(source code will be released a little later, together with the full plugin framework/library code)



the gui is pure xlib (xcb) at the moment (but double-buffered).. i also have cairo graphics support in there already, but i need to squash a few bugs before it can be used..

- tor-helge
cern.th.skei is offline   Reply With Quote
Old 09-09-2019, 05:05 AM   #2
lilith93
Human being with feelings
 
lilith93's Avatar
 
Join Date: Apr 2018
Location: Karlsruhe
Posts: 245
Default

Mixbus not yet, Renoise will support it with the next Update.
__________________
https://soundcloud.com/lilith_93

Debian - Stretch / XFCE
lilith93 is offline   Reply With Quote
Old 09-09-2019, 09:44 AM   #3
udaemon
Human being with feelings
 
Join Date: Apr 2011
Posts: 31
Default

hello Tor-Helge,

I would like to try you plugin here on my system (antergos/arch linux with gnome desktop and wayland) within reaper. I guess there is some library missing resp. dependency unsolved since the plugin doesn't show up in reaper's effect's browser. I have put it into the relative vst3-folder.
you mentioned that pthread and xcb is needed. could you tell from the arch's package listing (https://www.archlinux.org/packages/) which are the necessary ones? my system may also be lacking the proper C++ package, at least I remember there was also another plugin which was not recognized due to missing some C++ library.

btw. I also found your other plugins some time ago, but, unfortunately, I was not able to make them work (in reaper). from their names and descriptions they seemed to be interesting. I would like to try them, too.

thanks!
christoph
udaemon is offline   Reply With Quote
Old 09-09-2019, 10:53 AM   #4
cern.th.skei
Human being with feelings
 
cern.th.skei's Avatar
 
Join Date: Sep 2007
Location: trondheim, norway
Posts: 316
Default

@udaemon:

hi!
the idea is to clean up the plugin framework first, then go through the older plugins one by one, updating things, fixing issues, etc.. and then collect the plugins into a nice 'pack' of some sort

the plugin is linked with: pthread, xcb, xcb-util, xcb-image

to see which libraries a plugin needs, you can use ldd..
in this case, it says:

linux-vdso.so.1 (0x00007ffc6dbf6000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcd369ff000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fcd367d7000)
libxcb-util.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-util.so.1 (0x00007fcd365d1000)
libxcb-image.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007fcd363cc000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fcd36043000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcd35ca5000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fcd35a8d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcd3569c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcd36e3e000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fcd35498000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fcd35292000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007fcd3508f000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fcd34e7a000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fcd34c72000)

you also need to copy the entire directory (sonic_maximizer.vst3) to your plugin directory, not just the .so file.. and then tell reaper to scan for new plugins (options, preferences, plug-ins, vst, re-scan)..

hope this helps!

oh, i just saw that you run wayland.. this plugin uses lowlevel xlib only.. but i think there's some kind of xlib emulation in wayland (xwayland?)..

- tor-helge
__________________
later..
cern.th.skei is offline   Reply With Quote
Old 09-10-2019, 08:31 AM   #5
udaemon
Human being with feelings
 
Join Date: Apr 2011
Posts: 31
Default

Quote:
Originally Posted by cern.th.skei View Post
@udaemon:
hi!
the idea is to clean up the plugin framework first, then go through the older plugins one by one, updating things, fixing issues, etc.. and then collect the plugins into a nice 'pack' of some sort
hi Tor-Helge, that sounds good, I'm curious about the grains and other effects.

Quote:
Originally Posted by cern.th.skei View Post
the plugin is linked with: pthread, xcb, xcb-util, xcb-image

to see which libraries a plugin needs, you can use ldd..
in this case, it says:

linux-vdso.so.1 (0x00007ffc6dbf6000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcd369ff000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fcd367d7000)
libxcb-util.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-util.so.1 (0x00007fcd365d1000)
libxcb-image.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007fcd363cc000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fcd36043000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcd35ca5000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fcd35a8d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcd3569c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcd36e3e000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fcd35498000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fcd35292000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007fcd3508f000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fcd34e7a000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fcd34c72000)
I didn't know about ldd; very useful. thanks! and I can tell that everything needed is here.

Quote:
Originally Posted by cern.th.skei View Post
you also need to copy the entire directory (sonic_maximizer.vst3) to your plugin directory, not just the .so file.. and then tell reaper to scan for new plugins (options, preferences, plug-ins, vst, re-scan)..

hope this helps!

oh, i just saw that you run wayland.. this plugin uses lowlevel xlib only.. but i think there's some kind of xlib emulation in wayland (xwayland?)..

- tor-helge
yes, that solved it: to move the whole folder into my vst3-directory.
hence, the plugin works now very well, also under wayland.
thanks for your help and efforts!

christoph
udaemon is offline   Reply With Quote
Old 09-10-2019, 08:48 AM   #6
cern.th.skei
Human being with feelings
 
cern.th.skei's Avatar
 
Join Date: Sep 2007
Location: trondheim, norway
Posts: 316
Default

awesome!
thanks for testing the plugin.

- tor-helge

btw, added vst2 support yesterday.. seems to work perfectly.. but now i need to find out why the cairo graphics version doesn't redraw the editor after i close it, and then reopen it.. :-)
__________________
later..
cern.th.skei is offline   Reply With Quote
Old 09-10-2019, 08:50 AM   #7
JamesPeters
Human being with feelings
 
JamesPeters's Avatar
 
Join Date: Aug 2011
Location: Near a big lake
Posts: 2,668
Default

With your VST3 installation instructions, the plugin works for me in Reaper for Linux, using Linux Mint 19.2 XFCE kernel 5.0.0-27-lowlatency.

Thanks!
__________________
http://petersamplification.com
Using REAPER for Linux
JamesPeters is offline   Reply With Quote
Old 09-10-2019, 11:39 AM   #8
cern.th.skei
Human being with feelings
 
cern.th.skei's Avatar
 
Join Date: Sep 2007
Location: trondheim, norway
Posts: 316
Default

Quote:
Originally Posted by JamesPeters View Post
With your VST3 installation instructions, the plugin works for me in Reaper for Linux, using Linux Mint 19.2 XFCE kernel 5.0.0-27-lowlatency.

Thanks!
great! thanks for testing!

- th
__________________
later..
cern.th.skei is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.