Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 04-15-2021, 04:04 AM   #1
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default [ANN] yabridge 5.1.0, a long-awaited maintenance release

The latest release posts can be found here:

[ANN] yabridge 5.1.0, a long-awaited maintenance release
[ANN] yabridge 5.0, now with Windows CLAP plugin bridging support - 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5
[ANN] yabridge 4.0, with chainloading, overhauled backend, and many UX improvements - 4.0.1, 4.0.2
[ANN] yabridge 3.8.0 - 3.8.1
[ANN] yabridge 3.7.0
[ANN] yabridge 3.6.0, October '21 edition
[ANN] yabridge 3.5.0, with lots of small fixes and a rewritten embedding implementation - 3.5.1, 3.5.2
[ANN] yabridge 3.4.0, with the first-ever Wine->X11 drag-and-drop support, a completely rewritten audio implementation, and many usability improvements
[ANN] yabridge 3.3.0, gotta go fast edition - 3.3.1
[ANN] yabridge 3.2.0, with greatly reduced VST2 bridging overhead and a lot of compatibility improvements and bug fixes

[ANN] yabridge 3.1.0, with 32-bit bitbridging for Windows VST3 plugins

yabridge is a modern and transparent way to use both 32- and 64-bit Windows VST2 and VST3 plugins on Linux as if they were native Linux VST2 and VST3 plugins.

I realize I've never done a proper release announcement for yabridge here outside of the call for testers before yabridge 3.0's release, so here is one! This is mostly a bugfix update, but this release does add a few small features and it also adds support for using 32-bit Windows VST3 plugins. The other important fix is a workaround for a bug present in Wine 6.5 and Wine 6.6 that would prevent yabridge from exiting.

A full changelog with an exhaustive list of changes, improvements and fixes can be found here:

https://github.com/robbert-vdh/yabridge/releases

Last edited by robbert-vdh; 12-23-2023 at 09:01 AM. Reason: yabridge 5.1.0 release
robbert-vdh is offline   Reply With Quote
Old 04-15-2021, 05:53 AM   #2
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Argentina
Posts: 1,303
Default

A fabulous work you're doing with this, Robbert! I'll update it... Thanks for the reminder.
Soli Deo Gloria is offline   Reply With Quote
Old 04-16-2021, 05:11 AM   #3
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Soli Deo Gloria View Post
A fabulous work you're doing with this, Robbert! I'll update it... Thanks for the reminder.
Apparently this change, which was meant as a workaround for a bug in the Algonaut Atlas 2.0 beta, also ended up fixing the loading and saving in Reason Rack. I don't think you've tried using Reason Rack but I know a few others that have, so it's good to know that that now also works! (I don't own the plugin, so I haven't checked it out myself yet)
robbert-vdh is offline   Reply With Quote
Old 04-16-2021, 08:35 AM   #4
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Argentina
Posts: 1,303
Default

Yes, indeed I haven't been affected by the recent Wine bugs since I was on v6.0 for some months and only recently switched to 6.4 after I wrote to you.



One thing : in the AUR repo, the "normal" yabridge is still 3.02. Version 3.1 is yabridge-bin... Is it the same to update with yabridge or yabridge-bin?
Soli Deo Gloria is offline   Reply With Quote
Old 04-16-2021, 08:43 AM   #5
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Soli Deo Gloria View Post
Yes, indeed I haven't been affected by the recent Wine bugs since I was on v6.0 for some months and only recently switched to 6.4 after I wrote to you.



One thing : in the AUR repo, the "normal" yabridge is still 3.02. Version 3.1 is yabridge-bin... Is it the same to update with yabridge or yabridge-bin?
The yabridge and yabridgectl packages are at version 3.1.0!
robbert-vdh is offline   Reply With Quote
Old 04-16-2021, 08:53 AM   #6
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Argentina
Posts: 1,303
Default

Alright... me and my insistence with pamac! Back to yay, then...
Soli Deo Gloria is offline   Reply With Quote
Old 04-16-2021, 08:55 AM   #7
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Soli Deo Gloria View Post
Alright... me and my insistence with pamac! Back to yay, then...
If you Pamac to just update/install those two packages, then it should also work.
robbert-vdh is offline   Reply With Quote
Old 04-16-2021, 01:28 PM   #8
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Argentina
Posts: 1,303
Default

Yes, you're right... Whenever you have it installed, it shows you the current version and you rather have to look in the update section... Those little details that count...


Thanks!
Soli Deo Gloria is offline   Reply With Quote
Old 04-22-2021, 02:14 PM   #9
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

So I messed with Yabridge a little bit today, and while I've locked my WINE at 6.0 stable, it appeared to work. I did see it toss out a message that it didn't like me deciding what WINE I'm running.

Anyway, all my projects with Windows plugins seemed to load up and play fine, so I decided to try a plugin that has never worked with LinVST which is the Leslie FX portion of Native Instruments B4 Organ.

To my surprise, it loaded up with it's interface, and clicking the onscreen Fast/Slow switch worked, so I then linked the switch to midi CC64 which is damper pedal, and again it worked.

Lastly I recorded a short test playing guitar through the Leslie, and switching from slow to fast several times through the recording.

This is where there might be some kind of issue because it is a VST audio plugin that can be controlled by midi. On playback the midi CC64 is not seen at all by the plugin. It sees it when I press the pedal, and I see CC64 in the recorded data, but the plugin only sees live pedal presses and not recorded ones.

Using the VSTi which is The Leslie and the organ as an instrument plugin, the pedal works as do sliders I have assigned to the drawbars, so I know Yabridge can see recorded midi CC data, but evidently not with the VST audio FX Leslie section of the B4. One other item I noticed is that there is a hesitation between hitting play and the counter to start running when using this audio plug that also uses midi data.
__________________
Glennbo
Hear My Music - Click Me!!!
--

Last edited by Glennbo; 04-23-2021 at 08:10 AM.
Glennbo is offline   Reply With Quote
Old 04-22-2021, 04:10 PM   #10
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

I'm not a REAPER expert, but maybe that Leslie FX MIDI CC thing is related to how REAPER normally prebuffers audio processing? If it works with live MIDI then it should work with recorded MIDI, and it could just be that the plugin just has some compatibility issues with the way REAPER handles processing (since REAPER did not even exist yet when the plugin came out).

As for FM7, it seems like the plugin expects the last played MIDI event to stay alive indefinitely. I can't think of a reason why this could be, but the plugin segfaults during an audio processing cycle if there have not been any new MIDI events and the last sent MIDI event (from a previous processing cycle) has already been deallocated. I added a fix for this bug in FM7 in this commit. If you're on Arch or Manjaro, then you can build yabridge from this commit using the yabridge-git AUR package. Otherwise you can grab a binary from the automated builds page. Don't forget to rerun `yabridgectl sync` to finish the upgrade!

Last edited by robbert-vdh; 04-22-2021 at 04:21 PM. Reason: typo
robbert-vdh is offline   Reply With Quote
Old 04-22-2021, 04:44 PM   #11
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
Native Instruments FM7 crashes Yabridge, but not LinVST.
Try the latest commit! It should work there (or at least it does on my machine). Links and instructions are in my last post.
robbert-vdh is offline   Reply With Quote
Old 04-22-2021, 04:55 PM   #12
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
I'm not a REAPER expert, but maybe that Leslie FX MIDI CC thing is related to how REAPER normally prebuffers audio processing? If it works with live MIDI then it should work with recorded MIDI, and it could just be that the plugin just has some compatibility issues with the way REAPER handles processing (since REAPER did not even exist yet when the plugin came out).

As for FM7, it seems like the plugin expects the last played MIDI event to stay alive indefinitely. I can't think of a reason why this could be, but the plugin segfaults during an audio processing cycle if there have not been any new MIDI events and the last sent MIDI event (from a previous processing cycle) has already been deallocated. I added a fix for this bug in FM7 in this commit. If you're on Arch or Manjaro, then you can build yabridge from this commit using the yabridge-git AUR package. Otherwise you can grab a binary from the automated builds page. Don't forget to rerun `yabridgectl sync` to finish the upgrade!
Thanks Robbert. I'm running Xubuntu 20.04. I went to this page,

https://github.com/robbert-vdh/yabri...ranch%3Amaster

but couldn't find the link to the zipped up binary.

Edit: I see this, "yabridge-3.1.0-10-gafefb72.tar.gz 4.6 MB"

after clicking into the Postpone Clearing link, but it is only text on the screen and not a clickable link to the file.
__________________
Glennbo
Hear My Music - Click Me!!!
--

Last edited by Glennbo; 04-22-2021 at 05:09 PM.
Glennbo is offline   Reply With Quote
Old 04-22-2021, 05:04 PM   #13
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
Thanks Robbert. I'm running Xubuntu 20.04. I went to this page,

https://github.com/robbert-vdh/yabri...ranch%3Amaster

but couldn't find the link to the zipped up binary.
On that page you just have to select the latest commit, scroll down to the build artifacts, and download the correct binary (which would be yabridge-3.1.0-10-gafefb72.tar.gz at the time of writing). GitHub does require you to log in in order to download build artifacts like this. If you're not logged in to GitHub and don't want to create an account, then I can also upload the archive here.
robbert-vdh is offline   Reply With Quote
Old 04-22-2021, 05:19 PM   #14
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
On that page you just have to select the latest commit, scroll down to the build artifacts, and download the correct binary (which would be yabridge-3.1.0-10-gafefb72.tar.gz at the time of writing). GitHub does require you to log in in order to download build artifacts like this. If you're not logged in to GitHub and don't want to create an account, then I can also upload the archive here.
Thanks Robbert. I have no account at GitHub and don't really want to give them any of my contact info. If it's a small enough archive to upload here, I'd be happy to grab it and verify that it fixes the issue.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-22-2021, 05:32 PM   #15
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
Thanks Robbert. I have no account at GitHub and don't really want to give them any of my contact info. If it's a small enough archive to upload here, I'd be happy to grab it and verify that it fixes the issue.
The file was too large to upload here on the forum, so I've uploaded it here instead (the link will expire after 24 hours). Oh and I also tried inserting B4 II FX and sending some MIDI with modwheel and expression pedal data to that from some other track and that seems to play back just fine! (I haven't tried that before this change, so maybe it's related)
robbert-vdh is offline   Reply With Quote
Old 04-22-2021, 05:45 PM   #16
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
The file was too large to upload here on the forum, so I've uploaded it here instead (the link will expire after 24 hours). Oh and I also tried inserting B4 II FX and sending some MIDI with modwheel and expression pedal data to that from some other track and that seems to play back just fine! (I haven't tried that before this change, so maybe it's related)
Thanks again Robbert. That does indeed make the FM7 work as expected. I have the older original B4 and the organ/Leslie VSTi works, but the B4fx.dll VST still doesn't respond to recorded midi, but does respond to live midi, and it is processing the audio signal.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-22-2021, 07:15 PM   #17
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
The file was too large to upload here on the forum, so I've uploaded it here instead (the link will expire after 24 hours). Oh and I also tried inserting B4 II FX and sending some MIDI with modwheel and expression pedal data to that from some other track and that seems to play back just fine! (I haven't tried that before this change, so maybe it's related)
Just an update Robbert. I've found that I can get B4fx to read midi CC64 if I use "MIDI Link" rather than going into the FX Parameters List and using Learn. That makes it not function live any more, but if the midi track that will be recording the midi pedal data is in record, it will pass it on through to the B4fx.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-23-2021, 04:39 AM   #18
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
Thanks again Robbert. That does indeed make the FM7 work as expected. I have the older original B4 and the organ/Leslie VSTi works, but the B4fx.dll VST still doesn't respond to recorded midi, but does respond to live midi, and it is processing the audio signal.
Awesome! And yeah B4 probably just doesn't like the way REAPER processes audio. I'm not a REAPER expert so I'm not quite sure where to look for the correct setting, but when you right click on a track and go to performance options, there's a 'Prevent anticipative FX' option. Does that help? I know REAPER has had some compatibility issues with plugins in the past because of how it tries to prefetch audio to process things in advance when it can (e.g. when not processing live audio or MIDI), so that may be at play here. And if that also doesn't work, could you check if the plugin does work correctly in Ardour or Bitwig? If it does, then it must be related to REAPER itself (and if it does not, then your current workaround is probably the best solution at the moment).
robbert-vdh is offline   Reply With Quote
Old 04-23-2021, 08:08 AM   #19
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
Awesome! And yeah B4 probably just doesn't like the way REAPER processes audio. I'm not a REAPER expert so I'm not quite sure where to look for the correct setting, but when you right click on a track and go to performance options, there's a 'Prevent anticipative FX' option. Does that help? I know REAPER has had some compatibility issues with plugins in the past because of how it tries to prefetch audio to process things in advance when it can (e.g. when not processing live audio or MIDI), so that may be at play here. And if that also doesn't work, could you check if the plugin does work correctly in Ardour or Bitwig? If it does, then it must be related to REAPER itself (and if it does not, then your current workaround is probably the best solution at the moment).
Thanks again Robbert for all your help. The VSTi B4 Organ with Leslie seems fine, and this morning after a fresh boot, the lagginess of startup when using the B4fx VST (Leslie Only Part) seems almost non-existent.

I suspect that all the attempts of my trying to get the Leslie part of the plugin to read recorded midi CC64 might have exacerbated the issue. Lots of trying things and then undoing them.

I still see a very slight hesitation on the counter in REAPER to get rolling, but it is an insignificant amount now.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-27-2021, 04:38 PM   #20
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Doesn't affect the bridging of plugins, they are all working fine, but I was getting an error at the end of running "yabridgectl sync" with winhq-stable so I installed winehq-staging.

Running it now with winehq-staging, I get this message which I believe is the same message as before, but now saying wine 6.7 (staging) instead of 6.0 (stable).

Quote:
Finished setting up 47 plugins using copies (0 new), skipped 0 non-plugin .dll files

Warning: Could not run 'yabridge-host.exe'. Wine reported the following error:

00a4:err:rpc:I_RpcReceive we got fault packet with status 0x1c010003

This can happen when using a version of Wine that is much older than the version that has been used to compile yabridge with. Your current Wine version is '6.7 (Staging)'. See the troubleshooting section of the readme for more information on how to upgrade your installation of Wine
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-27-2021, 04:51 PM   #21
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
Doesn't affect the bridging of plugins, they are all working fine, but I was getting an error at the end of running "yabridgectl sync" with winhq-stable so I installed winehq-staging.

Running it now with winehq-staging, I get this message which I believe is the same message as before, but now saying wine 6.7 (staging) instead of 6.0 (stable).
Are you by any chance using PipeWire? Yabridgectl will warn you when running ~/.local/share/yabridge/yabridge-host.exe fails, and it will print the warning you're seeing along with the last line of Wine's output. That's the warning you're seeing right now. It seems weird that running yabridge-host.exe would fail when running standalone when it runs just fine during actual plugin bridging though. Can you try running just ~/.local/share/yabridge/yabridge-host.exe (without wine in front of it) to see if that prints any errors? If everything's working correctly, the output should contain a line starting with 'Usage: yabridge-host.exe '. The reason I asked if you were using PipeWire is because I've only seen these 00a4:err:rpc:I_RpcReceive errors from PipeWire users. PipeWire/rtkit sets a limit on the amount of time a real time thread may spend without yielding to the scheduler, and certain plugins will thus get killed by the scheduler when they take too long to initialize from the audio thread. This is probably not what's happening here, but I've only ever seen those particular errors in the context of PipeWire. So I'd just try running yabridge-host.exe in a terminal to see if that prints the usage string as expected, and if you're using PipeWire then you could also try to see what happens when you disable that.
robbert-vdh is offline   Reply With Quote
Old 04-27-2021, 05:28 PM   #22
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
Are you by any chance using PipeWire? Yabridgectl will warn you when running ~/.local/share/yabridge/yabridge-host.exe fails, and it will print the warning you're seeing along with the last line of Wine's output. That's the warning you're seeing right now. It seems weird that running yabridge-host.exe would fail when running standalone when it runs just fine during actual plugin bridging though. Can you try running just ~/.local/share/yabridge/yabridge-host.exe (without wine in front of it) to see if that prints any errors? If everything's working correctly, the output should contain a line starting with 'Usage: yabridge-host.exe '. The reason I asked if you were using PipeWire is because I've only seen these 00a4:err:rpc:I_RpcReceive errors from PipeWire users. PipeWire/rtkit sets a limit on the amount of time a real time thread may spend without yielding to the scheduler, and certain plugins will thus get killed by the scheduler when they take too long to initialize from the audio thread. This is probably not what's happening here, but I've only ever seen those particular errors in the context of PipeWire. So I'd just try running yabridge-host.exe in a terminal to see if that prints the usage string as expected, and if you're using PipeWire then you could also try to see what happens when you disable that.
No PipeWire installed here. Running yabridge-host.exe by itself is producing the following. I am on Xubuntu 20.04.2 and WineHQ's 6.7 staging.


Quote:
002c:fixme:winediag:LdrInitializeThunk wine-staging is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00a8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00a8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:actctxarse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:ntdll:EtwRegisterTraceGuidsA (01B8379F, 01BC1CF8, {0cfe0455-93ba-440d-a3fe-553973d0b723}, 1, 0066E918, (null), (null), 01BC1D00): stub
002c:fixme:ntdll:EtwRegisterTraceGuidsA (01B8379F, 01BC1D18, {797fabac-7b58-4796-b924-d51178a59ce4}, 1, 0066E918, (null), (null), 01BC1D20): stub
002c:fixme:ntdll:EtwEventRegister ({43d1a55c-76d6-4f7e-995c-64c711e5cafe}, 01BACE28, 00000000, 01BC1500) stub.
002c:fixme:ntdll:EtwEventRegister ({9e3b3947-ca5d-4614-91a2-7b624e0e7244}, 01B83C41, 01BC3258, 01BC3180) stub.
002c:fixme:ntdll:EtwEventEnabled (deadbeef, 01B3B3C0): stub
002c:fixme:ntdll:EtwEventEnabled (deadbeef, 01B30688): stub
002c:fixme:ver:GetCurrentPackageId (0066FEA4 00000000): stub
002c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:errrocess:NtCreateUserProcess 64-bit application L"\\??\\H:\\.local\\share\\yabridge\\yabridge-host.exe.so" not supported in 32-bit prefix
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.

0104:fixme:ver:GetCurrentPackageId (0068FEA4 00000000): stub
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-28-2021, 03:24 AM   #23
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
No PipeWire installed here. Running yabridge-host.exe by itself is producing the following. I am on Xubuntu 20.04.2 and WineHQ's 6.7 staging.
Ah, yes, that was the other possibility haha. You've (accidentally) set WINEARCH=win32 when you created your default Wine prefix over at ~/.wine. WINEARCH=win32 should not be needed anymore in recent years, but it forces your prefix to behave as if it was a 32-bit installation of Windows and you thus cannot run 64-bit applications, like yabridge-host.exe. Do you actively use the 32-bit applications/plugins installed in ~/.wine? If not, then you can move/remove it and Wine will create a fresh 64-bit prefix there. Otherwise you can just ignore the warning for now (or alternatively, run yabridgectl with WINEPREFIX pointing to a 64-bit prefix).
robbert-vdh is offline   Reply With Quote
Old 04-28-2021, 07:02 AM   #24
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
Ah, yes, that was the other possibility haha. You've (accidentally) set WINEARCH=win32 when you created your default Wine prefix over at ~/.wine. WINEARCH=win32 should not be needed anymore in recent years, but it forces your prefix to behave as if it was a 32-bit installation of Windows and you thus cannot run 64-bit applications, like yabridge-host.exe.
It was no accident. When I setup Kontakt, Superior Drummer and all my other Windows plugins almost three years ago, 64 bit WINE was buggy and not recommended.

Quote:
Do you actively use the 32-bit applications/plugins installed in ~/.wine? If not, then you can move/remove it and Wine will create a fresh 64-bit prefix there. Otherwise you can just ignore the warning for now (or alternatively, run yabridgectl with WINEPREFIX pointing to a 64-bit prefix).
Every plugin and the two actual Windows apps I run are all 32 bit. There is not one 64 bit Windows thing on my machine. Sounds like I should just leave it alone since it is working. I don't want to trip the triggers on copy protection which evidently happened to my copy of EZ-Drummer after switching to Yabridge.

I tested every Windows plugin I have and they all work but EZ-Drummer needed to re-authorize, and Toontrack only lets you do that 4 times before you have to contact them.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-28-2021, 07:05 AM   #25
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
It was no accident. When I setup Kontakt, Superior Drummer and all my other Windows plugins almost three years ago, 64 bit WINE was buggy and not recommended.
Ouch. Yeah in the past (like five years ago)) WINEARCH=win32 was a good idea when running 32-bit applications, but Wine's WoW64 implementation now works flawlessly. But of course, if it ain't broke don't fix it. You can disable these warnings permanently by running `yabridgectl set --no-verify=true` (without the backticks of course).
robbert-vdh is offline   Reply With Quote
Old 04-28-2021, 07:11 AM   #26
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
Ouch. Yeah in the past (like five years ago)) WINEARCH=win32 was a good idea when running 32-bit applications, but Wine's WoW64 implementation now works flawlessly. But of course, if it ain't broke don't fix it. You can disable these warnings permanently by running `yabridgectl set --no-verify=true` (without the backticks of course).
Thanks Robbert. I'm guessing Yabridge must be making two passes through plugins then. Once for 32 bit and a second pass for 64 bit or something, and mine fails the second pass since there is no 64 bit WINE.

It doesn't bother me to see the error at the end of doing a sync, especially since I'll never buy or download any free Windows plugins ever again. All the Windows plugins I need are already working, and any new plugins I get will only be native Linux.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 04-28-2021, 07:14 AM   #27
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by Glennbo View Post
Thanks Robbert. I'm guessing Yabridge must be making two passes through plugins then. Once for 32 bit and a second pass for 64 bit or something, and mine fails the second pass since there is no 64 bit WINE.

It doesn't bother me to see the error at the end of doing a sync, especially since I'll never buy or download any free Windows plugins again. I have all the Windows plugins I need, and any new plugins I get will only be native Linux.
No, yabridgectl just runs a couple of checks after the sync to check for common issues, so you can fix those before opening your DAW (and then having to spend an hour pulling your hair out trying to understand what's wrong haha). And one of those checks is to make sure that yabridge-host.exe runs correctly. If your default Wine prefix is 32-bit, then running a 64-bit yabridge-host.exe in that prefix will of course fail. But if everything's already working fine anyways, then it doesn't hurt to just disable those checks.
robbert-vdh is offline   Reply With Quote
Old 04-28-2021, 07:25 AM   #28
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,013
Default

Quote:
Originally Posted by robbert-vdh View Post
No, yabridgectl just runs a couple of checks after the sync to check for common issues, so you can fix those before opening your DAW (and then having to spend an hour pulling your hair out trying to understand what's wrong haha). And one of those checks is to make sure that yabridge-host.exe runs correctly. If your default Wine prefix is 32-bit, then running a 64-bit yabridge-host.exe in that prefix will of course fail. But if everything's already working fine anyways, then it doesn't hurt to just disable those checks.
Okay, I went ahead and set the option and now running sync just comes back with this.

Quote:
Setting up VST2 and VST3 plugins using:
- /home/glennbo/.local/share/yabridge/libyabridge-vst2.so
- /home/glennbo/.local/share/yabridge/libyabridge-vst3.so

Finished setting up 47 plugins using copies (0 new), skipped 0 non-plugin .dll files
At some point I plan to stick an M.2 Gen4 NVMe in my machine and give Manjaro a try again. When that finally happens, and it's not very urgent, I'll try setting up a 64 bit WINE only and see how it goes. I'm not loading sample sets are ever going to exceed the confines of running in 32 bit, and there's no real performance difference, so it might be a cool minute before I change anything.

I'd rather be working on music than working on my computer.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 05-03-2021, 04:42 AM   #29
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default [ANN] yabridge 3.2.0, with greatly reduced VST2 bridging overhead and a lot of fixes

(I'll just reuse this thread for new major release announcements)

This was supposed to be a small bug fix update, but here we are. First and foremost, this update considerably reduces the overhead of bridging VST2 plugins. If you have the choice I would still recommend preferring the VST3 version of a plugin over the VST2 version for the additional features and better out of the box scaling, but especially when using plugin groups VST2 plugins should outperform VST3 plugins by a decent margin now. I'll take a look at further optimizing VST3 plugin bridging in a next update. This update also comes with a lot of compatibility improvements and bug fixes, particularly concerning plugins that don't quite implement the plugin spec correctly or that make false assumptions about their environment. In addition, VST3 plugin compatibility with Ardour and Mixbus has also improved greatly.

On a side note, it may be a good idea to be aware of the fact that Wine 6.7 has broken the Spitfire LABS and BBC Symphony Orchestra Discover plugins (wine bug #51063). I would recommend pinning Wine Staging 6.4 for the time being.

A full changelog with an exhaustive list of changes, improvements and fixes can be found here: (and yes, this time the list sure is exhaustive)

https://github.com/robbert-vdh/yabridge/releases

Last edited by robbert-vdh; 05-03-2021 at 04:49 AM.
robbert-vdh is offline   Reply With Quote
Old 06-03-2021, 08:46 AM   #30
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default [ANN] yabridge 3.3.0, gotta go fast edition

This is the gotta go fast edition. Yabridge's priorities have always been user experience, compatibility, and then performance. In that order. Now that the first two are in a decent place, it was time to take a closer look at improving performance. This new update considerably reduces the overhead of bridging Windows VST2 and VST3 plugins with yabridge. More importantly, all of these optimizations should make this overhead much more stable and reliable, meaning that you will be less likely to run into xruns. In addition, this update also fixes a few important edge cases issues. Most notably, it is now possible to use ujam and LoopCloud plugins through a new yabridge.toml option, and crashes can no longer leave JACK and Ardour in unusable states.

A full changelog with an exhaustive list of changes, improvements and fixes can be found here:

https://github.com/robbert-vdh/yabri...ases/tag/3.3.0

Last edited by robbert-vdh; 06-09-2021 at 08:05 AM.
robbert-vdh is offline   Reply With Quote
Old 06-03-2021, 10:09 AM   #31
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,636
Default

Sounds GREAT !
Thanks !

Are you familiar with JUCE ? I did some investigations and tests on doing JUCE based VST2 and VST3 plugins (for Win 64).

If you want to do certain specific tests, I might be able to provide test objects.

Moreover I found a bug with JUCE based VST3s in Reaper (see -> https://forum.cockos.com/showthread.php?t=253540 ) It might be interesting to see what happens with Reaper on Linux regarding this issue...

-Michael

Last edited by mschnell; 06-03-2021 at 10:20 AM.
mschnell is offline   Reply With Quote
Old 06-03-2021, 10:36 AM   #32
Held
Human being with feelings
 
Held's Avatar
 
Join Date: Nov 2019
Posts: 538
Default

This update is amazing!!!. My MeldaProduction plugins have always been a little sluggish, but there's no noticeable delay anymore. It's so faaaast! 🥰

Thank you so much, Robbert. Outstanding work!
Held is online now   Reply With Quote
Old 06-03-2021, 11:02 AM   #33
fsynth
Human being with feelings
 
Join Date: Sep 2020
Posts: 119
Default

Thanks for the work on this, after learning that I can get WinVst plugins to run on Linux with LinVst and Ubuntu Studio 18.04. Was about to do a fresh install with v20 so it will be fun to try Yabridge

Big thanks to all who make our lives much better as a musician, damn wish I was 40 years younger
fsynth is offline   Reply With Quote
Old 06-09-2021, 08:05 AM   #34
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default [ANN] yabridge 3.3.1

This is just a small bugfix release. The most important fixes in this release are for compatibility issues with Shattered Glass Audio plugins, as well as mouse clicks being offset vertically for VST2 plugins in Tracktion Waveform.

A full list of changes and fixes can be found here:

https://github.com/robbert-vdh/yabri...ases/tag/3.3.1
robbert-vdh is offline   Reply With Quote
Old 06-22-2021, 04:39 PM   #35
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,640
Default

I got a VirtulBox Ubuntu image to try this and I'm just trying to work it all out.
I don't use Linux but getting there with it, but I get this error:
Could not find yabridge's files files: Could not locate 'yabridge-host.exe'
If someone could give me a Dummy's Guide

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 06-22-2021, 04:49 PM   #36
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by MusoBob View Post
I got a VirtulBox Ubuntu image to try this and I'm just trying to work it all out.
I don't use Linux but getting there with it, but I get this error:
Could not find yabridge's files files: Could not locate 'yabridge-host.exe'
If someone could give me a Dummy's Guide

It somehow took me longer to spot the error from the screenshot than it should have taken, but the issue is that you're running yabridgectl under sudo. That means you're running yabridgectl as root, and not as your own user. Never ever run things as root unless you know what you're doing or why it needs to be run as root! Depending on your distro's configuration there could now be some files in your home directory that your user is not able to modify. If running `~/.local/share/yabridge/yabridgectl sync` as your own user (so running just that, no sudo) gives any errors complaining about permissions then that would be the case here.

And thanks to your screenshot I also spotted a typo in an error message, so thanks!
robbert-vdh is offline   Reply With Quote
Old 06-22-2021, 05:17 PM   #37
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,640
Default

Thanks !
I think I missed a step as I get this now and still no Plugs in Reaper

ubuntu@ubuntu2104:~/Desktop$ '/home/ubuntu/.local/share/yabridge/yabridgectl' sync

Setting up VST2 and VST3 plugins using:

- /usr/lib/libyabridge-vst2.so

- /usr/lib/libyabridge-vst3.so



Found 1 leftover file, rerun with the '--prune' option to remove them:

- /home/ubuntu/.wine/drive_c/Program Files/Common Files/VST3/Band-in-a-Box DAW VST3 Plugin.so



Finished setting up 2 plugins using copies (1 new), skipped 0 non-plugin .dll files

ubuntu@ubuntu2104:~/Desktop$ '/home/ubuntu/.local/share/yabridge/yabridgectl' status

yabridge path: <auto>

libyabridge-vst2.so: '/usr/lib/libyabridge-vst2.so'

libyabridge-vst3.so: '/usr/lib/libyabridge-vst3.so'



installation method: copy



/home/ubuntu/.wine/drive_c/Program Files/Common Files/VST3/

Band-in-a-Box DAW VST3 Plugin.vst3 :: VST3, legacy, 64-bit, copy



/home/ubuntu/.wine/drive_c/Program Files/VSTplugins64/

Band-in-a-Box DAW VST Plugin.dll :: VST2, 64-bit, copy



/home/ubuntu/.wine/drive_c/Program Files (x86)/VSTplugins/

ubuntu@ubuntu2104:~/Desktop$
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 06-22-2021, 05:20 PM   #38
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Did you add `~/.vst3` and `~/.wine/drive_c/Program Files/VSTplugins64` to REAPER's plugin search paths and rescanned for plugins? (~/.vst3 should be a default in every Linux DAW, but perhaps not in REAPER)
robbert-vdh is offline   Reply With Quote
Old 06-22-2021, 06:13 PM   #39
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,640
Default

I had the VST3 path then added VST2

reaper-vstplugins64.ini
[vstcache]
Band_in_a_Box_DAW_VST3_Plugin.so=00C8AD5C3D5DD701
Band_in_a_Box_DAW_VST3_Plugin.vst3=00C44FEB9163D70 1
Band_in_a_Box_DAW_VST_Plugin.so=00C8AD5C3D5DD701
reacast.vst.so=8071781D5667D701,1919246691,ReaCast (Cockos)
reacomp.vst.so=8071781D5667D701,1919247213,ReaComp (Cockos)

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 06-22-2021, 06:19 PM   #40
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,640
Default

I had the wine vst3 folder added to the list, when I removed that it shows. Just got to get the support files for that VST sorted.
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob 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 03:32 AM.


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