Windows VST2/3 plugins in Carla (revisited)

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

Moderators: MattKingUSA, khz

asbak
Established Member
Posts: 897
Joined: Thu Sep 11, 2014 3:04 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Windows VST2/3 plugins in Carla (revisited)

Post by asbak »

I see! interesting, thanks
Some Focal / 20.04 audio packages and resources https://midistudio.groups.io/g/linuxaudio
User avatar
sadko4u
Established Member
Posts: 987
Joined: Mon Sep 28, 2015 9:03 pm
Has thanked: 2 times
Been thanked: 360 times

Re: Windows VST2/3 plugins in Carla (revisited)

Post by sadko4u »

falkTX wrote:The source is the same, just built with a different compiler (mingw) and winegcc to handle the bridge.
See the ArchLinux PKGBUILD for more details:
https://aur.archlinux.org/cgit/aur.git/ ... -win32-git

Does openSUSE provide wine and mingw?
openSUSE has wine in it's distribution but MinGW, i think, should be installed separately under wine.
So, do I right understand that after I build it under Wine+Mingw, I can connect it to JACK?
LSP (Linux Studio Plugins) Developer and Maintainer.
stanlea
Established Member
Posts: 700
Joined: Wed Apr 25, 2012 9:49 pm
Has thanked: 41 times
Been thanked: 23 times

Re: Windows VST2/3 plugins in Carla (revisited)

Post by stanlea »

Latest NI Reaktor 6 crashes Wine (I tried with Aiwave, but the result is the same).

Wine log :

Code: Select all

Unhandled exception: unimplemented function msvcp120.dll.??0_Pad@std@@QAE@XZ called in 32-bit code (0x7b83c3ae).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b83c3ae ESP:009ef614 EBP:009ef688 EFLAGS:00000283(   - --  I S - - -C)
 EAX:7b827a69 EBX:7b8c0000 ECX:00000008 EDX:009ef63c
 ESI:80000100 EDI:00bddbb0
Stack dump:
0x009ef614:  009ef6b0 00000008 00000000 80000100
0x009ef624:  00000001 00000000 7b83c3ae 00000002
0x009ef634:  7d6317e0 7d631f51 00000000 7d760000
0x009ef644:  00bddbb0 009ef67c 7d6ebd37 4d430003
0x009ef654:  00000000 00000000 00000000 00000000
0x009ef664:  00000000 4d430001 00bddbb0 00000008
000c: sel=0067 base=00000000 limit=00000000 32-bit rw-
Backtrace:
=>0 0x7b83c3ae in kernel32 (+0x2c3ae) (0x009ef688)
  1 0x7d631458 in msvcp120 (+0x61457) (0x009ef6c0)
  2 0x7d5d254d in msvcp120 (+0x254c) (0x009ef6fc)
  3 0x01b62193 in reaktor 6 (+0xf52192) (0x009ef6fc)
  4 0x01b618da in reaktor 6 (+0xf518d9) (0x009ef78c)
  5 0x01b967ab in reaktor 6 (+0xf867aa) (0x009ef7b8)
  6 0x01bf2cd2 in reaktor 6 (+0xfe2cd1) (0x009ef7f8)
  7 0x01ba17b7 in reaktor 6 (+0xf917b6) (0x009ef8d4)
  8 0x01be8eec in reaktor 6 (+0xfd8eeb) (0x009ef910)
  9 0x00c7e965 in reaktor 6 (+0x6e964) (0x009ef9f4)
  10 0x01db568b in reaktor 6 (+0x11a568a) (0x009efa20)
  11 0x10001386 in reaktor 6 fx (+0x1385) (0x009efa38)
  12 0x00420a42 in carla-discovery-win32 (+0x20a41) (0x009efc68)
  13 0x00784148 in carla-discovery-win32 (+0x384147) (0x009efd88)
  14 0x004013de in carla-discovery-win32 (+0x13dd) (0x009efe60)
  15 0x7b861e8c call_process_entry+0xb() in kernel32 (0x009efe78)
  16 0x7b862f63 in kernel32 (+0x52f62) (0x009efeb8)
  17 0x7bc83e70 call_thread_func_wrapper+0xb() in ntdll (0x009efed8)
  18 0x7bc8703d call_thread_func+0x7c() in ntdll (0x009effa8)
  19 0x7bc83e4e RtlRaiseException+0x21() in ntdll (0x009effc8)
  20 0x7bc5619e call_dll_entry_point+0x3fd() in ntdll (0x009effe8)
  21 0xf760e45d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  22 0xf760e51b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffd69a98)
  23 0x7bc5c4d9 LdrInitializeThunk+0x238() in ntdll (0xffd69ad8)
  24 0x7b869853 __wine_kernel_init+0xa12() in kernel32 (0xffd6abf8)
  25 0x7bc5d403 __wine_process_init+0x192() in ntdll (0xffd6ac88)
  26 0xf760bbd0 wine_init+0x2bf() in libwine.so.1 (0xffd6ace8)
  27 0x7bf00d8c main+0x8b() in <wine-loader> (0xffd6b138)
  28 0xf742ba63 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x7b83c3ae: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (111 modules)
PE	  400000-  7e4000	Export          carla-discovery-win32
PE	  c10000- 3c6d000	Export          reaktor 6
PE	10000000-1000c000	Export          reaktor 6 fx
ELF	7b800000-7ba6a000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba6a000	\               kernel32
ELF	7bc00000-7bcf2000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf2000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7d3df000-7d525000	Deferred        oleaut32<elf>
  \-PE	7d400000-7d525000	\               oleaut32
ELF	7d525000-7d58e000	Deferred        dbghelp<elf>
  \-PE	7d530000-7d58e000	\               dbghelp
ELF	7d58e000-7d69c000	Dwarf           msvcp120<elf>
  \-PE	7d5d0000-7d69c000	\               msvcp120
ELF	7d69c000-7d771000	Deferred        msvcr120<elf>
  \-PE	7d6b0000-7d771000	\               msvcr120
ELF	7d871000-7d8c8000	Deferred        libdbus-1.so.3
ELF	7d8c8000-7d957000	Deferred        libgmp.so.10
ELF	7d957000-7d988000	Deferred        libhogweed.so.2
ELF	7d988000-7d9bd000	Deferred        libnettle.so.4
ELF	7d9bd000-7da93000	Deferred        libkrb5.so.3
ELF	7da93000-7dbd5000	Deferred        libgnutls-deb0.so.28
ELF	7dc47000-7dc4f000	Deferred        libffi.so.6
ELF	7dc4f000-7dc63000	Deferred        libtasn1.so.6
ELF	7dc63000-7dca6000	Deferred        libp11-kit.so.0
ELF	7dca6000-7dcbd000	Deferred        libresolv.so.2
ELF	7dcbd000-7dcc2000	Deferred        libkeyutils.so.1
ELF	7dcc2000-7dccf000	Deferred        libkrb5support.so.0
ELF	7dccf000-7dd03000	Deferred        libk5crypto.so.3
ELF	7dd03000-7dd54000	Deferred        libgssapi_krb5.so.2
ELF	7dd54000-7ddd2000	Deferred        libcups.so.2
ELF	7ddd3000-7ddea000	Deferred        powrprof<elf>
  \-PE	7dde0000-7ddea000	\               powrprof
ELF	7ddea000-7ddfe000	Deferred        psapi<elf>
  \-PE	7ddf0000-7ddfe000	\               psapi
ELF	7ddfe000-7de37000	Deferred        uxtheme<elf>
  \-PE	7de00000-7de37000	\               uxtheme
ELF	7de37000-7de3e000	Deferred        libxfixes.so.3
ELF	7de3e000-7de4a000	Deferred        libxcursor.so.1
ELF	7de4a000-7de5d000	Deferred        libxi.so.6
ELF	7de5d000-7de61000	Deferred        libxcomposite.so.1
ELF	7de61000-7de6d000	Deferred        libxrandr.so.2
ELF	7de6d000-7de79000	Deferred        libxrender.so.1
ELF	7de79000-7de80000	Deferred        libxxf86vm.so.1
ELF	7de80000-7de84000	Deferred        libxinerama.so.1
ELF	7de84000-7de8a000	Deferred        libxdmcp.so.6
ELF	7de8a000-7de8e000	Deferred        libxau.so.6
ELF	7de8e000-7deb4000	Deferred        libxcb.so.1
ELF	7deb4000-7e006000	Deferred        libx11.so.6
ELF	7e006000-7e01b000	Deferred        libxext.so.6
ELF	7e01d000-7e022000	Deferred        libcom_err.so.2
ELF	7e022000-7e036000	Deferred        libavahi-client.so.3
ELF	7e036000-7e045000	Deferred        libavahi-common.so.3
ELF	7e047000-7e0db000	Deferred        winex11<elf>
  \-PE	7e050000-7e0db000	\               winex11
ELF	7e117000-7e140000	Deferred        libexpat.so.1
ELF	7e140000-7e182000	Deferred        libfontconfig.so.1
ELF	7e182000-7e1af000	Deferred        libpng12.so.0
ELF	7e1af000-7e261000	Deferred        libfreetype.so.6
ELF	7e28d000-7e2b6000	Deferred        iphlpapi<elf>
  \-PE	7e290000-7e2b6000	\               iphlpapi
ELF	7e2b6000-7e2d2000	Deferred        wsock32<elf>
  \-PE	7e2c0000-7e2d2000	\               wsock32
ELF	7e2d2000-7e38d000	Deferred        winmm<elf>
  \-PE	7e2e0000-7e38d000	\               winmm
ELF	7e38d000-7e3c9000	Deferred        ws2_32<elf>
  \-PE	7e390000-7e3c9000	\               ws2_32
ELF	7e3c9000-7e3f1000	Deferred        mpr<elf>
  \-PE	7e3d0000-7e3f1000	\               mpr
ELF	7e3f1000-7e40e000	Deferred        libz.so.1
ELF	7e40f000-7e43a000	Deferred        msacm32<elf>
  \-PE	7e410000-7e43a000	\               msacm32
ELF	7e43a000-7e4b7000	Deferred        wininet<elf>
  \-PE	7e440000-7e4b7000	\               wininet
ELF	7e4b7000-7e53b000	Deferred        rpcrt4<elf>
  \-PE	7e4c0000-7e53b000	\               rpcrt4
ELF	7e53b000-7e680000	Deferred        ole32<elf>
  \-PE	7e550000-7e680000	\               ole32
ELF	7e680000-7e735000	Deferred        msvcrt<elf>
  \-PE	7e6a0000-7e735000	\               msvcrt
ELF	7e735000-7e75a000	Deferred        imm32<elf>
  \-PE	7e740000-7e75a000	\               imm32
ELF	7e75a000-7e79d000	Deferred        winspool<elf>
  \-PE	7e760000-7e79d000	\               winspool
ELF	7e79d000-7e8a9000	Deferred        comctl32<elf>
  \-PE	7e7a0000-7e8a9000	\               comctl32
ELF	7e8a9000-7e9ca000	Deferred        gdi32<elf>
  \-PE	7e8c0000-7e9ca000	\               gdi32
ELF	7e9ca000-7eb27000	Deferred        user32<elf>
  \-PE	7e9e0000-7eb27000	\               user32
ELF	7eb27000-7eba2000	Deferred        shlwapi<elf>
  \-PE	7eb30000-7eba2000	\               shlwapi
ELF	7eba2000-7edf0000	Deferred        shell32<elf>
  \-PE	7ebb0000-7edf0000	\               shell32
ELF	7edf0000-7eee0000	Deferred        comdlg32<elf>
  \-PE	7ee00000-7eee0000	\               comdlg32
ELF	7eee0000-7ef5c000	Deferred        advapi32<elf>
  \-PE	7eef0000-7ef5c000	\               advapi32
ELF	7ef5c000-7ef69000	Deferred        libnss_files.so.2
ELF	7ef69000-7ef75000	Deferred        libnss_nis.so.2
ELF	7ef75000-7ef8e000	Deferred        libnsl.so.1
ELF	7ef8e000-7efd4000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f7403000-f740c000	Deferred        libnss_compat.so.2
ELF	f740d000-f7412000	Deferred        libdl.so.2
ELF	f7412000-f75bc000	Dwarf           libc.so.6
ELF	f75bd000-f75d9000	Deferred        libpthread.so.0
ELF	f7605000-f77bb000	Dwarf           libwine.so.1
ELF	f77bd000-f77de000	Deferred        ld-linux.so.2
ELF	f77e0000-f77e1000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001e    0
	0000001d    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001a    0
	00000019    0
	00000018    0
	00000013    0
0000001b plugplay.exe
	00000020    0
	0000001f    0
	0000001c    0
00000021 explorer.exe
	00000025    0
	00000024    0
	00000023    0
	00000022    0
0000000b (D) Z:\usr\lib\carla\carla-discovery-win32.exe
	00000047    0 <==
System information:
    Wine build: wine-1.8
    Platform: i386 (WOW64)
    Version: Windows 10
    Host system: Linux
    Host version: 4.3-3.dmz.4-liquorix-amd64
Blindekinder
Established Member
Posts: 112
Joined: Sat Jan 26, 2013 11:42 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Windows VST2/3 plugins in Carla (revisited)

Post by Blindekinder »

Hi!
doesn't work for me. While scanning, it opens many Wine windows saying "cant load '...' module" but also have some Acousmodules in the directory. No bridged plugins are load. I need this one.
running on KX 14.04 up do date, wine 1.6.2.
Kubuntu 22.04
KX repositories
KDE Plasma Version: 5
Kernel Version: 5.15-lowlatency (64-bit)
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 31.1 Gio of RAM
Graphics Processor: Mesa Intel® Xe Graphics / Nvidia Quadro T500 Mobile
Jack2
Blindekinder
Established Member
Posts: 112
Joined: Sat Jan 26, 2013 11:42 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Windows VST2/3 plugins in Carla (revisited)

Post by Blindekinder »

yes, with reaper it seems to work (UI load...)
Kubuntu 22.04
KX repositories
KDE Plasma Version: 5
Kernel Version: 5.15-lowlatency (64-bit)
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 31.1 Gio of RAM
Graphics Processor: Mesa Intel® Xe Graphics / Nvidia Quadro T500 Mobile
Jack2
Gps
Established Member
Posts: 1137
Joined: Mon Mar 09, 2015 3:09 pm
Has thanked: 332 times
Been thanked: 112 times

Re: Windows VST2/3 plugins in Carla (revisited)

Post by Gps »

sadko4u wrote:
falkTX wrote:The source is the same, just built with a different compiler (mingw) and winegcc to handle the bridge.
See the ArchLinux PKGBUILD for more details:
https://aur.archlinux.org/cgit/aur.git/ ... -win32-git

Does openSUSE provide wine and mingw?
openSUSE has wine in it's distribution but MinGW, i think, should be installed separately under wine.
So, do I right understand that after I build it under Wine+Mingw, I can connect it to JACK?
Does this help ?

https://software.opensuse.org/package/mingw32-cross-gcc
Blindekinder
Established Member
Posts: 112
Joined: Sat Jan 26, 2013 11:42 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Windows VST2/3 plugins in Carla (revisited)

Post by Blindekinder »

do I have to compile the bridge with mingw? I don't know how to do that... There are more than 20 mingw packages in the repositories.
edit: I installed gcc-mingw, i will install carla-bridges sources packages, but then can you help me?
Kubuntu 22.04
KX repositories
KDE Plasma Version: 5
Kernel Version: 5.15-lowlatency (64-bit)
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 31.1 Gio of RAM
Graphics Processor: Mesa Intel® Xe Graphics / Nvidia Quadro T500 Mobile
Jack2
thomble
Posts: 2
Joined: Sat Nov 25, 2017 5:58 am

Re: Windows VST2/3 plugins in Carla (revisited)

Post by thomble »

Hi there,
I'm having a problem getting carla to find windows VST plugins. On a previous install of ubuntu with kxstudio, when I went to refresh the plugins in carla I had the option of checking for windows plugins (this was probably a month or so ago). On my fresh install those checkboxes seems to be missing from that dialog, and when I scan for new plugins my windows VST isn't found.

I have carla-git carla-bridge-wine64 carla-bridge-win64 carla-bridge-win32 carla-bridge-wine32 installed from the kxstudio repositories.
I'm running wine-rt, version 2.0.1. Carla reports itself as version 1.9.7 (2.0-beta5).

If I run carla-single from the command line, I can get the windows VST I have installed to run, using the following command

Code: Select all

carla-single win64 vst /home/tomb/.wine/drive_c/Program\ Files/VstPlugins/SsdSampler.dll
Have I missed something that enables carla to scan for windows plugins?
thomble
Posts: 2
Joined: Sat Nov 25, 2017 5:58 am

Re: Windows VST2/3 plugins in Carla (revisited)

Post by thomble »

falkTX wrote:Yes, you missed the latest news.
Thank you! Sorry I didn't find that. I spent a few hours googling and even read through this thread, but didn't find that information.

So I have Steven Slate Drums 4 working through carla. I've only spent about 5min with it so far, but everything appears to be working well. Thanks again!
darkkhaine
Posts: 2
Joined: Sun Nov 26, 2017 9:00 pm

Re: Windows VST2/3 plugins in Carla (revisited)

Post by darkkhaine »

Hi

I have a problem with Carla, it doesn't display the few vst i have installed in /.vst folder, i did enable the experimental and bridges before doing a scan. Any ideas what can be causing this ? i'm using carla V1.9.7 (2.0-beta5).
stanlea
Established Member
Posts: 700
Joined: Wed Apr 25, 2012 9:49 pm
Has thanked: 41 times
Been thanked: 23 times

Re: Windows VST2/3 plugins in Carla (revisited)

Post by stanlea »

Did you set correctly the paths in Carla ? If you don't specify ~/.vst in the pathlist, Carla won't look in this folder. And normally .vst is for native vst, not for windows ones. It's better not to put windows and native linux together.
darkkhaine
Posts: 2
Joined: Sun Nov 26, 2017 9:00 pm

Re: Windows VST2/3 plugins in Carla (revisited)

Post by darkkhaine »

Yes, the /.vst path is added. When i press the scan button, i can see that the dll files from this folder are scanned, but the plugin are not added after.
Taika-Kim
Established Member
Posts: 20
Joined: Mon Sep 07, 2015 3:16 pm

Re: Windows VST2/3 plugins in Carla (revisited)

Post by Taika-Kim »

I have the same problem with Windows VSTs not showing up in the list, in logs I can see:
"env: ‘/usr/bin’: Permission denied" several times, I guess when Carla was trying to execute Wine. I'm quite new to Linux, I'm not sure what permissions to set since the user already has permission to use /usr/bin.

I will try to figure this out and edit this post as I progress...
User avatar
protozone
Established Member
Posts: 181
Joined: Tue May 08, 2018 9:02 pm
Contact:

Synaptic's hidden menus for Carla's Win32 VSTs

Post by protozone »

If anybody is still having trouble with Carla finding Windows 32-bit VST's, these four tips might help a bit...

First, read this forum discussion... there's a lot of stuff in the preceding posts.

Secondly, in synaptic, do a keyword search for Carla, then check the list to see what is installed.
For each listed entry of the results, there is a hidden drop-down menu to show the thing that's sorta like "--install-recommends" (recommended) additional installation options. What this means is that there are other files that need to be downloaded perhaps, but to apt, they aren't mandatory, but some of them are for Carla! Be sure to "Apply" the changes to initiate the downloads.

On my system, by fiddling with this, I was able to get the missing software parts needed to scan for Windows 32-bit VST's.

Third, each VST needs to be pointed to specifically almost. That is, the VST's can't be found if the folders are nested. This is a pain, but good to know.

Fourth, as a workaround, you could create a specific folder for Carla's Win32 VST's via Thunar or whatever your desktop manager is. Then, copy every *.DLL of the VST type you need there along with their accompanying stuff. It's labor intensive, but it could help perhaps. Then point Carla to that main directory and scan it. Know what I mean?

I hope this helps. It's hard to describe.
Post Reply