KXStudio Application "Carla" - plugin host - VST-Plugins - Wine

Discuss running non-Linux applications and plugins on Linux, for example via wine

Moderators: MattKingUSA, khz

Post Reply
yamyam
Established Member
Posts: 3
Joined: Wed Mar 06, 2024 2:05 pm

KXStudio Application "Carla" - plugin host - VST-Plugins - Wine

Post by yamyam »

Hello everyone,

I am new to this forum, come from Germany and would be happy to get help here.

I use "Carla" (version 2.1 and alternatively 2.0 - https://kx.studio/Applications:Carla ) on a current Linuxmint system. Wine is configured via PlayOnLinux - wineprefix with Wine 6.17 and Windows 10.

I would like to make amplifier-simulations plug-ins for electric guitars for Windows available in Linux via Carla.
A test with an ampsimulation from Kuassa - "Amplifier Clarent" works perfectly.

My problem is with the ampsimulation "Amplitube 5", which I would like to use.
When I want to add this plugin to Carla, I get the error message from Wine analogous "Fatal Error in program carla-bridge-win64.exe ..."".
The log file in Clara shows the following:

wine: Call from 0x7b00fdee to unimplemented function vcruntime140_1.dll.__CxxFrameHandler4, aborting
wine: Unhandled exception 0xc0000409 in thread 2b at address 0000000180D3CEF0 (thread 002b), starting debugger...
CarlaRingBuffer::tryWrite(0x7ffd37731c04, 4): failed, not enough space
Process of pid=002a has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process tid prio (all id:s are in hex)
0000000e services.exe
00000023 0
0000001a 0
00000013 0
00000010 0
0000000f 0
00000011 plugplay.exe
00000017 0
00000016 0
00000012 0
00000018 winedevice.exe
00000020 0
0000001d 0
0000001c 0
0000001b 0
00000019 0
0000001e explorer.exe
00000029 0
00000028 0
00000027 0
0000001f 0
00000021 winedevice.exe
00000026 0
00000025 0
00000024 0
00000022 0

According to my - layman's - understanding, it has something to do with the unimplemented vcruntime140_1.dll.
However, there is a vcruntime140_1.dll in the wineprefix. Does it perhaps have something to do with the correct version? Or what could be the reason?

At this point I would like to ask for your help.

Many thanks in advance!

Translated with DeepL.com (free version)

tseaver
Established Member
Posts: 408
Joined: Mon Mar 13, 2017 6:07 am
Has thanked: 12 times
Been thanked: 102 times

Re: KXStudio Application "Carla" - plugin host - VST-Plugins - Wine

Post by tseaver »

@yamyam

Code: Select all

wine: Call from 0x7b00fdee to unimplemented function vcruntime140_1.dll.__CxxFrameHandler4, aborting

...
According to my - layman's - understanding, it has something to do with the unimplemented vcruntime140_1.dll.
However, there is a vcruntime140_1.dll in the wineprefix. Does it perhaps have something to do with the correct version? Or what could be the reason?

That message says that the ampsim program / plugin made a call to a Windows API function named __CxxFrameHandler4, found inside the vcruntime140_1.dll, but the WINE version of the DLL has that function only as a stub -- it isn't expected to be called.

You are likely to get better support for this issue (maybe even a WINE developer who can implement the stub!) on the winehq.org site. This page does not show that anybody has gotten Amplitube version 5 running (version 4 gets a "gold" rating, though):

https://appdb.winehq.org/objectManager. ... n&iId=9883

The bugzilla shows only one issue related to (older) Amplitube:

https://bugs.winehq.org/buglist.cgi?qui ... =amplitube

Searching the bugzilla for that API function name doesn't bring back any results:

https://bugs.winehq.org/buglist.cgi?qui ... meHandler4

Ubuntu, Mixbus32C; acoustic blues / country / jazz
yamyam
Established Member
Posts: 3
Joined: Wed Mar 06, 2024 2:05 pm

Re: KXStudio Application "Carla" - plugin host - VST-Plugins - Wine

Post by yamyam »

@tseaver, thanks for now!

One more question before I turn to WineHQ:
I forgot to mention that the standalone version of Amplitube 5 - launched in PlayOnLinux - runs fine.

Does this have any significance in the matter?

tseaver
Established Member
Posts: 408
Joined: Mon Mar 13, 2017 6:07 am
Has thanked: 12 times
Been thanked: 102 times

Re: KXStudio Application "Carla" - plugin host - VST-Plugins - Wine

Post by tseaver »

@yamyam

I forgot to mention that the standalone version of Amplitube 5 - launched in PlayOnLinux - runs fine.

Does this have any significance in the matter?

It likely means that the "core" functionality is OK: the standalone and plugin likely share those.

Just based on the quick search I did yesterday, the __CxxFrameHandler4 API is likely related to exception handling, which is an area where the two could easily diverge.

Sorry not to be more helpful: my Windows development chops have atrophied away a bunch in the last two decades.

Ubuntu, Mixbus32C; acoustic blues / country / jazz
yamyam
Established Member
Posts: 3
Joined: Wed Mar 06, 2024 2:05 pm

Re: KXStudio Application "Carla" - plugin host - VST-Plugins - Wine

Post by yamyam »

Sorry not to be more helpful...

Thanks tseaver, your help is great!!!

Post Reply