Loading Windows VSTs within Carla

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: MattKingUSA, khz

Locked
User avatar
Qualitymix
Established Member
Posts: 274
Joined: Tue Apr 02, 2013 6:45 pm

Re: Loading Windows VSTs within Carla

Post by Qualitymix »

So I'm used to have the development version of wine on my desktop, would upgrading to that version have any impact on how my windows vsts run?
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: Loading Windows VSTs within Carla

Post by autostatic »

User avatar
funkmuscle
Established Member
Posts: 2806
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 131 times
Been thanked: 33 times

Re: Loading Windows VSTs within Carla

Post by funkmuscle »

falkTX wrote:
AutoStatic wrote:New kid in town: https://github.com/abique/vst-bridge
It allocates memory during processing, ouch...
It also requires the real VST SDK, so at least we can't put it in PPAs for now.

I think it will have the same issues that other bridges had before with big plugins, because this also uses winelib directly (which I try to stay away in my implementation).

I'll just let time go by and see if users get interested on it or not.
as Jeremy just lead me to this thread he started I had one going
http://linuxmusicians.com/viewtopic.php?f=48&t=11103

the source build needed the real VST SDK but the binary tarball didn't as I don't have the real VST SDK on my system but I got 2 vsts running with vst-bridge..

thanx Auto
User avatar
Qualitymix
Established Member
Posts: 274
Joined: Tue Apr 02, 2013 6:45 pm

Re: Loading Windows VSTs within Carla

Post by Qualitymix »

Hey falkTX... just a quick question. Carla seems to have stopped loading one of my favorite plugs, ( the problem may exist with more plugs, i'm not sure)

Code: Select all

DSSIVSTPluginInstance::DSSIVSTPluginInstance(jb_barricade_pro.dll)
Returning file identifiers: YOcGbLg9S4AWf4eLd70LcGie
RemoteVSTClient: executing /usr/lib/dssi/dssi-vst/dssi-vst-server.exe jb_barricade_pro.dll,YOcGbLg9S4AWf4eLd70LcGie
DSSI VST plugin server v0.986
Copyright (c) 2004-2010 Chris Cannam
Loading "jb_barricade_pro.dll"... done
Testing VST compatibility... Initialising Windows subsystem... done
Incompatible shm registry, are jackd and libjack in sync?
Map shared memory segments exception
cannot create dummy timer window
DSSIVSTPluginInstance::DSSIVSTPluginInstance(jb_barricade_pro.dll) construction complete
client sized shm to 32
sized shm to 32, 2 inputs and 2 outputs
dssi-vst-server[1]: reset
client sized shm to 16384
wine: Unhandled page fault on write access to 0x7e59d000 at address 0x10001bc3 (thread 0027), starting debugger...
Unhandled exception: page fault on write access to 0x7e59d000 in 32-bit code (0x10001bc3).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:10001bc3 ESP:004be8c8 EBP:7e59d000 EFLAGS:00010212(  R- --  I   -A- - )
 EAX:00000000 EBX:7e59c004 ECX:0013e2f8 EDX:ffffffff
 ESI:0013e2f8 EDI:7e59b004
Stack dump:
0x004be8c8:  7d8afe80 7de00518 004be928 7edddff4
0x004be8d8:  00000000 100075ab 7e59e000 00000400
0x004be8e8:  00000000 7edce4ce 0013e55c 7de00508
0x004be8f8:  7de00518 00000400 7edde58c 0000000c
0x004be908:  00000000 00000001 00000000 00000000
0x004be918:  00000000 7edddff4 7d8afe80 7edddff4
000c: sel=0067 base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x10001bc3 in jb_barricade_pro (+0x1bc3) (0x7e59d000)
0x10001bc3: fstps	0x0(%ebp)
Modules:
Module	Address			Debug info	Name (69 modules)
PE	10000000-104b5000	Export          jb_barricade_pro
ELF	7b800000-7ba29000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba29000	\               kernel32
ELF	7bc00000-7bcc3000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcc3000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7dfcd000-7e001000	Deferred        uxtheme<elf>
  \-PE	7dfd0000-7e001000	\               uxtheme
ELF	7e001000-7e08e000	Deferred        msvcrt<elf>
  \-PE	7e010000-7e08e000	\               msvcrt
ELF	7e08e000-7e104000	Deferred        rpcrt4<elf>
  \-PE	7e0a0000-7e104000	\               rpcrt4
ELF	7e104000-7e20c000	Deferred        ole32<elf>
  \-PE	7e120000-7e20c000	\               ole32
ELF	7e20c000-7e305000	Deferred        comctl32<elf>
  \-PE	7e210000-7e305000	\               comctl32
ELF	7e305000-7e36f000	Deferred        shlwapi<elf>
  \-PE	7e310000-7e36f000	\               shlwapi
ELF	7e36f000-7e582000	Deferred        shell32<elf>
  \-PE	7e380000-7e582000	\               shell32
ELF	7e582000-7e588000	Deferred        libxfixes.so.3
ELF	7e588000-7e593000	Deferred        libxcursor.so.1
ELF	7e602000-7e62c000	Deferred        libexpat.so.1
ELF	7e62c000-7e660000	Deferred        libfontconfig.so.1
ELF	7e660000-7e670000	Deferred        libxi.so.6
ELF	7e670000-7e674000	Deferred        libxcomposite.so.1
ELF	7e674000-7e67d000	Deferred        libxrandr.so.2
ELF	7e67d000-7e687000	Deferred        libxrender.so.1
ELF	7e687000-7e68d000	Deferred        libxxf86vm.so.1
ELF	7e68d000-7e6af000	Deferred        imm32<elf>
  \-PE	7e690000-7e6af000	\               imm32
ELF	7e6af000-7e6d0000	Deferred        libxcb.so.1
ELF	7e6d0000-7e6ea000	Deferred        libice.so.6
ELF	7e6ea000-7e81e000	Deferred        libx11.so.6
ELF	7e81e000-7e830000	Deferred        libxext.so.6
ELF	7e830000-7e8c4000	Deferred        winex11<elf>
  \-PE	7e840000-7e8c4000	\               winex11
ELF	7e8c4000-7e95e000	Deferred        libfreetype.so.6
ELF	7e982000-7e9e4000	Deferred        advapi32<elf>
  \-PE	7e990000-7e9e4000	\               advapi32
ELF	7e9e4000-7eaa1000	Deferred        gdi32<elf>
  \-PE	7e9f0000-7eaa1000	\               gdi32
ELF	7eaa1000-7ebe1000	Deferred        user32<elf>
  \-PE	7eab0000-7ebe1000	\               user32
ELF	7ebe1000-7ec2a000	Deferred        libdbus-1.so.3
ELF	7ec2a000-7ec48000	Deferred        libgcc_s.so.1
ELF	7ed2d000-7ed7f000	Deferred        libjack.so.0
ELF	7ed7f000-7ed95000	Deferred        libz.so.1
ELF	7ed95000-7ed99000	Deferred        libxinerama.so.1
ELF	7ed99000-7eda0000	Deferred        libxdmcp.so.6
ELF	7eda0000-7edb9000	Deferred        version<elf>
  \-PE	7edb0000-7edb9000	\               version
ELF	7edb9000-7edeb000	Deferred        dssi-vst-server<elf>
  \-PE	7edc0000-7edeb000	\               dssi-vst-server
ELF	7ef74000-7ef81000	Deferred        libnss_files.so.2
ELF	7ef81000-7ef8d000	Deferred        libnss_nis.so.2
ELF	7ef8d000-7efa7000	Deferred        libnsl.so.1
ELF	7efa7000-7efb0000	Deferred        libnss_compat.so.2
ELF	7efb0000-7efdc000	Deferred        libm.so.6
ELF	7efdd000-7efe1000	Deferred        libxau.so.6
ELF	7efe1000-7efe7000	Deferred        libuuid.so.1
ELF	7efe7000-7eff0000	Deferred        libsm.so.6
ELF	7eff0000-7eff9000	Deferred        librt.so.1
ELF	f7423000-f7428000	Deferred        libdl.so.2
ELF	f7428000-f75d1000	Deferred        libc.so.6
ELF	f75d2000-f75ed000	Deferred        libpthread.so.0
ELF	f7611000-f7753000	Dwarf           libwine.so.1
ELF	f7755000-f7777000	Deferred        ld-linux.so.2
ELF	f7777000-f7778000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 dssi-vst-server.exe
	00000024    0
	00000023    0
	00000009    0
0000000e services.exe
	0000001f    0
	0000001e    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000014    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001d    0
	0000001b    0
00000021 explorer.exe
	00000022    0
00000025 (D) Z:\usr\lib\dssi\dssi-vst\dssi-vst-server.exe
	00000028    0
	00000027    0 <==
	00000026    0
DSSI VST plugin GUI controller v0.986
Copyright (c) 2004-2010 Chris Cannam
created lo server (url is osc.udp://Studio:18189/) - update path is /Carla/1/update
Warning: unhandled OSC message in GUI:
arg 0: type 'f': 44100.000000
(path is </dssi/sample-rate>)
dssi-vst_gui: program_handler
dssi-vst_gui: show_handler
CarlaPlugin::waitForOscGuiShow()
CarlaPlugin::updateOscData(0x7f3638002830, "osc.udp://Studio:18189/dssi")
CarlaPlugin::updateOscData() - source: host "127.0.0.1", port "18189"
CarlaPlugin::updateOscData() - target: host "Studio", port "18189", path "/dssi"
CarlaPlugin::updateOscData() - done
CarlaPlugin::waitForOscGuiShow() - got response, asking UI to show itself now
DSSIVSTPlugin::configure(guiVisible,/tmp/rplugin_gui_C4bw6w)
DSSIVSTPluginInstance::configure(guiVisible,/tmp/rplugin_gui_C4bw6w)
DSSIVSTPluginInstance::configure: show gui: value /tmp/rplugin_gui_C4bw6w
Write failed on fd 43 at remotepluginclient.cpp:500: Broken pipe
dssi-vst_gui: No contact from plugin -- timed out on startup
dssi-vst_gui[1]: exiting
User avatar
Qualitymix
Established Member
Posts: 274
Joined: Tue Apr 02, 2013 6:45 pm

Re: Loading Windows VSTs within Carla

Post by Qualitymix »

Hey falkTX....any teaser as to when Carla will be fully unleashed?
User avatar
Qualitymix
Established Member
Posts: 274
Joined: Tue Apr 02, 2013 6:45 pm

Re: Loading Windows VSTs within Carla

Post by Qualitymix »

I was talking about the sweet sweet code that will free me from dssi-vst slavery. I want to be able to use the win32-discovery.
User avatar
AnthonyCFox
Established Member
Posts: 393
Joined: Mon Apr 22, 2013 3:50 pm
Been thanked: 1 time

Re: Loading Windows VSTs within Carla

Post by AnthonyCFox »

Hah! My WinVST sampler is working in Carla. :D

Now I just need AmpliTube to work in Carla and I'll be home free. Though I expect it would work with fsthost as it runs great in Festige and I'd be satisfied with fsthost + nsm-proxy. I just need to be able to install fsthost with wine 1.4...
War, crime, disease, starvation, extreme poverty; these are serious things.
Music? Not so serious. Have some fun! :D
User avatar
AnthonyCFox
Established Member
Posts: 393
Joined: Mon Apr 22, 2013 3:50 pm
Been thanked: 1 time

Re: Loading Windows VSTs within Carla

Post by AnthonyCFox »

falkTX wrote:
AnthonyCFox wrote:Hah! My WinVST sampler is working in Carla. :D
By using dssi-vst, right?
Yeah I guess, under "Type" it says DSSI and I can run that vst in vsthost.
falkTX wrote:
AnthonyCFox wrote:I just need to be able to install fsthost with wine 1.4...
I uploaded a new source package just minutes ago. If all goes well, a new fixed + updated fsthost will appear in ~1h.
Great. Thanks!
War, crime, disease, starvation, extreme poverty; these are serious things.
Music? Not so serious. Have some fun! :D
DepreTux
Established Member
Posts: 135
Joined: Tue Jul 23, 2013 9:36 am

Re: Loading Windows VSTs within Carla

Post by DepreTux »

Sorry to revive an old thread, but...

Where can I download carla-discovery-win32's source code from?

I'm on archlinux, and I've been through falktx's github, but haven't had any luck...

Thanks a lot!
DepreTux
Established Member
Posts: 135
Joined: Tue Jul 23, 2013 9:36 am

Re: Loading Windows VSTs within Carla

Post by DepreTux »

falkTX wrote:
DepreTux wrote:Sorry to revive an old thread, but...

Where can I download carla-discovery-win32's source code from?
It's the same exact source used for the linux discovery, but simply built with mingw32.

Currently that discovery exe doesn't do much anyway, Carla will use dssi-vst to load win32 vsts in the end.
Thanks. I'll fiddle with it and see what it gives!
DepreTux
Established Member
Posts: 135
Joined: Tue Jul 23, 2013 9:36 am

Re: Loading Windows VSTs within Carla

Post by DepreTux »

falkTX wrote:You might want to wait until the end of this week.
I'm working on plugin bridges for Carla 2.0 right now, and (hopefully) will have a 2.0-beta to show off by then.
win32-vsts are *kinda* working... lots of things can go wrong so I have to be extra careful. We'll see how it goes soon anyway.
I'll have to be patient, then xD

This is all about having zyn's parameters exposed to a host. Currently, I am using festige and the vst version of zyn, but it's unstable, and only 32 bits.
I can't wait to see the thing working natively.

Anyway, it's great to know you're improving carla support of vsts!

Thanks!
User avatar
AnthonyCFox
Established Member
Posts: 393
Joined: Mon Apr 22, 2013 3:50 pm
Been thanked: 1 time

Re: Loading Windows VSTs within Carla

Post by AnthonyCFox »

falkTX wrote:Obligatory screenshot:
http://i.imgur.com/pwMwe7b.png :mrgreen:
A picture is worth a thousand words. That's fantastic.
War, crime, disease, starvation, extreme poverty; these are serious things.
Music? Not so serious. Have some fun! :D
User avatar
sysrqer
Established Member
Posts: 2523
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 320 times
Been thanked: 152 times
Contact:

Re: Loading Windows VSTs within Carla

Post by sysrqer »

That screen shot seriously makes me miss those Variety of Sound plugins. Might have to install wine and use this when it's ready.
stanlea
Established Member
Posts: 700
Joined: Wed Apr 25, 2012 9:49 pm
Has thanked: 42 times
Been thanked: 23 times

Re: Loading Windows VSTs within Carla

Post by stanlea »

Reaktor, Helix and Vielklang for me.
stanlea
Established Member
Posts: 700
Joined: Wed Apr 25, 2012 9:49 pm
Has thanked: 42 times
Been thanked: 23 times

Re: Loading Windows VSTs within Carla

Post by stanlea »

I just installed carla from git in my Debian Jessie and it works fine, but I can't actually find dssi-vst. Where is the good .deb ?
Locked