I have several projects that use the Kontakt plugin running under yabridge/wine on Linux/Arch. Everything worked pretty well until I upgraded yabridge to version 4. This version has changed the way plugins are loaded and keeps the .so libraries them in a different location (i.e, ~/.vst/yabridge).
I followed the instruction from yabridge’s developer and changed the overall setup. Tested it with carla and verified that the plugin can be loaded and used correctly.
I then proceeded to update Ardour’s configuration as well, and added the new path. However, Ardour can no longer see it. Here is the log that plugin manager reports after the failed scan:
[Info]: Scanning: /home/stefano/.vst/yabridge/Kontakt.so
13:28:12 [Kontakt-CVXgjprw] Initializing yabridge version 4.0.2
13:28:12 [Kontakt-CVXgjprw] library: '/usr/lib/libyabridge-vst2.so'
13:28:12 [Kontakt-CVXgjprw] host: '/usr/bin/yabridge-host.exe'
13:28:12 [Kontakt-CVXgjprw] plugin: '/home/stefano/.wine/drive_c/Program Files/Native Instruments/VSTPlugins 64 bit/Kontakt.dll'
13:28:12 [Kontakt-CVXgjprw] plugin type: 'VST2'
13:28:12 [Kontakt-CVXgjprw] realtime: 'yes'
13:28:12 [Kontakt-CVXgjprw] sockets: '/run/user/1001/yabridge-Kontakt-CVXgjprw'
13:28:12 [Kontakt-CVXgjprw] wine prefix: '/home/stefano/.wine'
13:28:12 [Kontakt-CVXgjprw] wine version: '7.12 (Staging)'
13:28:12 [Kontakt-CVXgjprw]
13:28:12 [Kontakt-CVXgjprw] config from: '<defaults>'
13:28:12 [Kontakt-CVXgjprw] hosting mode: 'individually, 64-bit'
13:28:12 [Kontakt-CVXgjprw] other options: '<none>'
13:28:12 [Kontakt-CVXgjprw]
13:28:12 [Kontakt-CVXgjprw] Enabled features:
13:28:12 [Kontakt-CVXgjprw] - bitbridge support
13:28:12 [Kontakt-CVXgjprw] - VST3 support
13:28:12 [Kontakt-CVXgjprw]
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] Initializing yabridge host version 4.0.2
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] Preparing to load VST2 plugin at '/home/stefano/.wine/drive_c/Program Files/Native Instruments/VSTPlugins 64 bit/Kontakt.dll'
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EBD8 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EBA0 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EA90 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011E6F0 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011ECE0 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:file:NtLockFile I/O completion on lock not implemented yet
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002CFEBB0 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002CFEDC0 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002CFE5A0 1 C) semi-stub
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
13:28:13 [Kontakt-CVXgjprw] [Wine STDERR] 0320:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
[Info]: Callback opcode = 32 (ignored)
[Info]: Callback opcode = 33 (ignored)
[Info]: Callback opcode = 34 (ignored)
[Info]: Callback CanDo 'sendVstEvents': yes
[Info]: Callback CanDo 'sendVstMidiEvent': yes
[Info]: Callback CanDo 'sendVstTimeInfo': yes
[Info]: Callback CanDo 'receiveVstEvents': yes
[Info]: Callback CanDo 'receiveVstMidiEvent': yes
[Info]: Callback CanDo 'receiveVstTimeInfo': no
[Info]: Callback CanDo 'reportConnectionChanges': no
[Info]: Callback CanDo 'acceptIOChanges': no
[Info]: Callback CanDo 'sizeWindow': no
[Info]: Callback CanDo 'asyncProcessing': no
[Info]: Callback CanDo 'offline': no
[Info]: Callback CanDo 'supplyIdle': yes
[Info]: Callback CanDo 'supportShell': yes
[Info]: Callback CanDo 'openFileSelector': no
[Info]: Callback CanDo 'editFile': no
[Info]: Callback CanDo 'closeFileSelector': no
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:ntdll:NtPowerInformation semi-stub: SystemPowerCapabilities
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:ole:CoInitializeSecurity 0000000000000000, -1, 0000000000000000, 0000000000000000, 0, 3, 0000000000000000, 0, 0000000000000000 stub
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:wbemprox:client_security_SetBlanket 00000002419BEE40, 000000000136A610, 10, 0, (null), 3, 3, 0000000000000000, 0
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] 030c:fixme:wbemprox:client_security_Release 00000002419BEE40
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] X Error of failed request: BadValue (integer parameter out of range for operation)
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] Major opcode of failed request: 152 (GLX)
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] Minor opcode of failed request: 3 (X_GLXCreateContext)
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] Value in failed request: 0x0
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] Serial number of failed request: 534
13:28:14 [Kontakt-CVXgjprw] [Wine STDERR] Current serial number in output stream: 535
13:28:14 [error]
13:28:14 [error] Error during initialization:
13:28:14 [error] read: End of file
13:28:14 [error]
[ERROR]: ** ERROR ** VSTFX : Kontakt could not be instantiated :(
[WARNING]: Cannot get VST information from '/home/stefano/.vst/yabridge/Kontakt.so': instantiation failed.
Scan Failed.
Help appreciated.