|
07-08-2017, 12:01 PM | #1 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
REAPER for Linux: how to use windows plug-ins
I've created this thread to discuss running Windows VST(I)s in REAPER on Linux.
Any discussions on various solutions, programs, development, bugs, feature requests, tips and tricks, etc are on topic. REAPER so far has no builtin bridge to run Windows VST(I)s on Linux, but there are several third party utilities that can help. I'll try to list them here, if any are missing, please let me know and I'll add them to the list:
All of the above solutions use Wine https://www.winehq.org/ to provide the OS support needed by the plug-ins, though they differ in how they are implemented and how they can be used in REAPER. Note that this still is not a perfect solution and results will vary depending on what plug-ins you are trying to use. Some will work perfectly, others partially, and some won't work at all. Mostly this is due to Wine not fully implementing the support needed by a plug-in, bugs, or possibly the need for a special configuration of wine.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) Last edited by Jack Winter; 07-09-2017 at 05:53 AM. |
07-08-2017, 02:03 PM | #2 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,687
|
While I hope (and suppose) that in the end a "Windows VST-Bridge" (supposedly based on Wine) will be an integral part of Reaper Linux Native (in a similar way as Reaper 64 nowadays features an automatic 32 Bit VST Bridge), I totally agree with doing the multiple current experiments with dedicated "per VST" means to run Windows VSTs in Linux, by encapsulating them in appropriate Linux VSTs. I am very thankful to those doing this work and I am sure it will be provide extremely helpful information, once the core developers might start implementing such a "Bridge".
-Michael Last edited by mschnell; 07-10-2017 at 10:05 PM. |
07-08-2017, 05:43 PM | #4 |
Human being with feelings
Join Date: Sep 2013
Location: Maine
Posts: 1,153
|
Great, Jack! Looking forward to it. So much to learn. I'm sure I speak for many when I say that all your work on Linux Native is much appreciated. And others here as well. Not to mention the Wielders Of The Sickles.
|
07-08-2017, 08:03 PM | #5 |
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
I think it would be good to retitle the discussion
to also include native-linux vsts, as they are still new to plenty of linux old-timers, and there will no-doubt be windows users needing clarifications along the way. And even some people wanting to use LV2 and other plugins hosted in Reaper by Carla. And maybe a sticky topic containing the most relevant links from the old thread? Cheers |
07-08-2017, 09:59 PM | #6 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,687
|
I totally disagree. This is a very important technical thread about exactly this topic. Native Linux plugins will need very different discussions and trigger different addressees.
-Michael |
07-09-2017, 05:13 AM | #7 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
|
07-15-2017, 02:05 AM | #8 | |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,687
|
Quote:
I understand that all of them are open source community products and the code can be used to enhance their features. Is anybody not only user of those but even involved in the development of same ? If one of those could host not just one but multiple Windows VSTs, support for this from Reaper (via some - maybe propriety - "multi-plugin API" towards such a wrapper utility) would be the next step towards an appropriate bridge built-in in Reaper. (Seemingly Carla already can host multiple VSTs but of course a "multi plugin API" towards Reaper is not yet defined. I don't know if a "dedicated Jack client" is what is appropriate here.) -Michael Last edited by mschnell; 07-15-2017 at 02:12 AM. |
|
07-15-2017, 11:47 AM | #9 |
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
The wrapper only produces a native-linux vst, reaper hosts
those vsts, so the 'multiple' part is handled by your chosen vst host. LinVst can use it's linvstgtk3 app (from the 'convert' folder, found in it's archive to wrap all the plugins in a given folder, very handy to make a folder of your go-to plugins, and have them converted in an instant, then add that folder to reaper vst path list. Also, reading between the lines of their posts, I'll bet osxmidi and phantom-one are both fine musicians, enjoying their their own code works when playing Cheers. Last edited by 4duhwinnn; 07-15-2017 at 12:06 PM. |
07-15-2017, 03:22 PM | #10 | |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,687
|
Quote:
Technically, when done, are these multiple wraps totally independent or is a common "Bridge" process used that does the nasty (Wine-depending / tweaking ) work for all it's children ? This in place, a tight integration in Reaper seems not too far away.... -Michael |
|
07-15-2017, 07:55 PM | #11 |
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Did some more latency testing, this time with a basic Edirol UA-1EX USB device and a M-Audio Transit usb device on a AMD quad core (instead of using the inbuilt motherboard sound).
FM8 and the Mercuriall Spark amp sim get no xruns at 48000Hz/64 samples (16 bit) 2.6ms latency on Debian 9 with the realtime kernel. M-Audio Transit usb gets 2.6ms latency at 48000hz (duplex). The M-Audio Transit can either do 96000hz playback or 96000hz record (not duplex) and jackd needs the -P or -C options. jackd --realtime -d alsa -P -d hw:1 -p256 -n2 -r96000 // playback jackd --realtime -d alsa -C -d hw:1 -p256 -n2 -r96000 // record The Edirol UA-1EX USB device can get 2.6ms latency at 96000hz and probably could go lower, I had to work the driver out as it uses a non standard 24 bits in it's advanced mode. The Edirol isn't duplex at 96000hz either. For anyone with the Edirol, setting it up for 96000hz ~/.asoundrc pcm.!default { type plug slave sl3 } ctl.!default { type hw card 1 } pcm_slave.sl3 { pcm "hw:1,0" format S24_3LE channels 2 rate 96000 } pcm.96000 { type plug slave sl3 } then jackd --realtime -d alsa -d hw:1 -p128 -n2 -r96000 Onto one of my Intel quads with M-Audio PCI cards, Audiophile 2496 and Revolution 7.1. I can get 1.3ms latency at 48000Hz/32 samples and 0.6ms at 96000Hz/32 samples with no xruns with Ubuntu Studio 16.10 with the real time kernel. Obviously the hardware matters for latency, but so does the distro/kernel. I'm usng the LinVst-rt version btw. Last edited by osxmidi; 05-29-2018 at 06:49 AM. |
07-16-2017, 11:14 AM | #12 |
Human being with feelings
Join Date: Mar 2012
Posts: 610
|
32bit SQ8L virtual synth is running in LinVST!
http://www.buchty.net/ensoniq/index.html#sq8l It did not even work properly in Windows Reaper... fingers crossed it will run stable, but if it doesn't I won't blame LinVST seeing as it does not even run stable in Windows LOL
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <---------- |
08-27-2018, 06:06 PM | #13 |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Something I'm seeing on a real regular basis is when I add a new plugin using LinVST, the next time I launch REAPER, it always gets hung up at "Initializing", and I have to kill the process with the task manager. Then on the next launch everything is fine and the new plug will be there.
I did add three native U-He plugin instruments somewhere back, and it started doing this around that same time, but I don't know if that had anything to do with it, or just coincidence. |
08-27-2018, 06:20 PM | #14 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I do this in my script
Code:
wineserver -k wineserver -p reaper wineserver -k
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-27-2018, 06:31 PM | #15 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
I have opened the task manager and watched it start up multiple instances of LinVST, which I assume is REAPER traversing all the plugins in the root of VSTPlugins. I also see two instances of Plug-n-Play get started that are highlighted in red on the task manager screen, but they close after a moment or two, where the LinVST instances all remain while stuck. The next try REAPER will start and my new plugin will be there. |
|
08-28-2018, 12:40 AM | #16 | |
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
The new LinVst 2.3 version has some more error reporting included in it. Maybe try reinstalling some things, LinVst, Wine etc. btw, unfortunately, each (new) version of LinVst needs to have all of the plugins name converted to be in sync with that LinVst version as well. Last edited by osxmidi; 08-28-2018 at 12:56 AM. |
|
08-28-2018, 01:47 AM | #17 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
It would know that the windows plugins didn't change (through it's own saved list), and reaper would rescan it when it sees that it has been updated. No more copying the .so to the same name as the .dll. You could even implement a single vst host on the wine side (for each prefix) that the linux side would establish connection to. Probably less overhead, and shorter load/scan times too. In my above post regarding the wineserver I didn't really explain what the commands do. "wineserver -p" preloads the wineserver and "wineserver -k" kills it.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
|
08-28-2018, 07:43 AM | #18 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
I was pleasantly surprised yesterday when I was forced to boot Windows over a stoopid calculator issue, and I decided to see what would happen if I loaded up the Windows version of REAPER and opened one of the projects that I've done in the Linux version. The first one I tried opened as if it were created in the Window version of REAPER. Not one single error or anything, and I'm running all 64-bit plugins in Windows, but 32-bit versions of the same plugins in LinVST. The second project I opened barked about Kontakt not being able to find it's library, but that was expected because I'm running the full version of Kontakt on Windows and the Elements version in Linux, so they have different libraries. I was able to quickly point Kontakt to the full version library for each of the instruments used, and then that project played perfectly too. |
|
08-28-2018, 07:08 PM | #19 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
Edit: After much too long, I gave up. Hand deleted all the .so files that got created by the "linvstconverttree" function, then tried starting REAPER again, and am getting the same repeating error every 28 seconds. Last edited by Glennbo; 10-22-2018 at 04:14 PM. |
|
09-16-2018, 03:45 PM | #20 |
Human being with feelings
Join Date: Nov 2016
Posts: 4
|
lin-vst-servervst not found or linVSt version mismatch
Hi everyone,
I'm not sure if it's appropriate to ask for help in this thread, I'm running Mint 19 Cinnamon. I've followed the steps to use lin-vst, but when I set the folder location for the VST locstion and press scan, I end I recieve this error message; lin-vst-servervst not found or linVSt version mismatch Can anyone point me in the right direction, am I using an incompatible distro? Many thanks, Ryan |
09-16-2018, 03:56 PM | #21 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
|
|
09-16-2018, 04:09 PM | #22 | |
Human being with feelings
Join Date: Nov 2016
Posts: 4
|
Quote:
Cheers man, any other suggestions? |
|
09-16-2018, 05:01 PM | #23 |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Did you also re-run linvstconvert on all your plugins so they would match?
|
09-18-2018, 03:21 AM | #24 |
Human being with feelings
Join Date: Feb 2016
Posts: 2
|
|
11-04-2018, 03:40 PM | #25 |
Human being with feelings
Join Date: Jun 2015
Posts: 17
|
Considering moving to Linux
Hi there i'm thinking about moving over to linux for a number of reasons i wont go into. well im tired of apple and windows haha.But my issue is ive purchased a lot of plugins that im certain wont work on linux for example toontrack ex drummer and waves plugins ect. is there away to get these plugins to work on linux? or should i Kust dual boot linux for day today use and use windows for when i record and edit music.
if anyone has any videos on how they use reaper in linux that would be aweseome thanks. |
11-05-2018, 02:48 AM | #26 | |
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Wine can need some additional bits added to it in order to get a vst plugin to run, things like reg entries (regedit) and dll overrides (which are Windows dll files that get added to Wine). Using LinVst and Wine/Wine Staging, EZ Drummer should be ok from what I remember. Waves and Waves Central should be ok (maybe a few plugins won't run) and the details on how to set it up are on the previous page. Wine has different releases and Wine Staging needs to be used for Waves Central. Last edited by osxmidi; 11-05-2018 at 03:01 AM. |
|
11-05-2018, 03:58 PM | #27 | |
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
Quote:
Products from these devs install and register OK with consistancy for me: IK Multimedia discoDSP (linux ports exist) U-he (linux ports exist) PianoteQ (linux ports exist) Overtone DSP (linux ports exist) KV331 Dimitri Sches Fathom EZDrummer SugarBytes the old Cakewalk synths (Rapture, Dimension Pro, z3ta+ 1.5 Wusikstation V5 and addons AirWindows ---------------------------- Some reading is required to get NI's Native Access going, with a few wine over-rides put in place, and LinVst is used in general, to wrap windows .dlls as linux-native .so vsts. I have Razor and Prism registered from NI along with their freebies, and the Form demo.(others have Kontakt running) and oldies like Massive, FM8, Absynth, run OK and might register OK, with Service Center. Sometimes copying registry data and sneakernet of installed folders to wine counterparts works. This assumes using linux versions of Reaper or Bitwig, a recent wineHQ, and also using windows Reaper in wine. to cover a lot of bases. Harrison Mixbus is also good to get when on sale. About 90% of synthedit plugins will work. Cheers |
|
11-10-2018, 03:19 AM | #28 | ||
Human being with feelings
Join Date: Nov 2018
Posts: 5
|
Quote:
1. Download the product manager & install via Wine 2. Use the product manager to download & install Toontrack software. 3. Create symbolic links to a WindowsVST folder (just so I don't have do keep hunting down $HOME/.wine/drive_c/etc/etc/etc) 4. Copy the linvst.so file. My history looks like this: Quote:
|
||
11-14-2018, 10:43 PM | #29 |
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
There's a bunch of Soundspot effects and mastering plugins for $1 each
at www.pluginboutique.com in case someone has a sweet tooth. Cheers Last edited by 4duhwinnn; 11-14-2018 at 10:57 PM. |
12-31-2018, 05:41 AM | #30 |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
[not a reaper bug] zombie processes w/ VST plugins
if a Win VST plugin is opened via LIN-VST bridge everything is still ok ... until I click the "Remove" button in the FX window a Zombie process is generated,
same thing happens when clear & re-scan VST cache was clicked ... for each vst plugin a zombie process is displayed ... i had about 43 zombie processes ... this does not happen if I open the same plugins in Audacity or via Wine with Soundforge only with Reaper the problem occurs. ### edit ### not related to reaper see: https://forum.cockos.com/showpost.ph...&postcount=210
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII Last edited by monty; 01-02-2019 at 01:25 AM. |
12-31-2018, 06:32 AM | #31 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I doubt that is a problem with reaper itself, most likely something to do with linvst/wine/your system.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
12-31-2018, 07:02 AM | #32 | |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
Quote:
is there a newer version of linvst available? the strange is that I can use the same VSTs (same path) in audacity without zombies ... maybe the close (remove) process was not finished properly?
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
|
12-31-2018, 09:00 AM | #33 |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
hmm, now I have switched from staging to wine-rt, but it does not changed anything ... could be a lin-vst issue but I did not find any error logs or reason ...
Code:
ps ax -o s,pid,comm,ppid | grep '^Z' Z 1959 lin-v <defunct> 1876 is there something I can try in reaper VST the settings? I do not used Reaper firewalled/ bridged stuff it's turned off ...
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
01-01-2019, 05:06 AM | #34 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
A zombie process is actually a process that has already terminated and takes very little resources, but it's parent ought to have cleaned up after it. For all practical purposes more or less a cosmetic problem. In my case the zombie process is called lin-vst-server.exe.so, which points at linvst being the culprit, as it's linvst that started the above process.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
|
01-01-2019, 05:09 AM | #35 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
You can't kill a zombie process as it's already dead.. It's also not a big problem as it uses close to no resources, mostly it's cosmetic, but still shouldn't happen. AFAIK there is nothing you can do about it except wait for an update to linvst or ignore it.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
01-01-2019, 05:14 AM | #36 | |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
Quote:
could you re-produce this w/ arch linux too? thinking about ... moving to manjaro soon
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
|
01-01-2019, 05:24 AM | #37 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Yes I'm on Archlinux, don't think it has anything at all to do with the distro. AFAIK it's just because linvst didn't clean up properly when it shutdown. It's just a temporary state for the process and normal, it's a state that all processes pass through until the parent process has cleaned up after it.
I assume it's lin-vst-server.exe.so for you too?
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
01-01-2019, 05:32 AM | #38 | |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
Quote:
but I thought that many packages & scripts have been fixed in the arch sources: https://aur.archlinux.org/packages/linvst/ thats why I think about moving to manjaro KDE ... My KDE neon is very fast but there are a few things broken from outdated packages.
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
|
01-01-2019, 07:10 AM | #39 |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
@Jack
just running a manjaro test installation in a VM ... it seems there is already a lowlatency kernel installed by default: Code:
4.19.13-1-MANJARO #1 SMP PREEMPT
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII Last edited by monty; 01-01-2019 at 07:44 AM. |
01-01-2019, 07:33 AM | #40 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I've updated my software and it still does it.
AFAIK, linvst needs to use the wait() syscall with fork/exec otherwise the wine process terminates but still keeps a few resources, mainly a PID. This is the reason for the zombie status of the terminated process. This could potentially be a problem if you have a lot of them as you could run out of possible PIDs for the system to use. But like I said it's mainly cosmetic and I'm sure that osxmidi can easily fix it.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) Last edited by Jack Winter; 01-01-2019 at 09:37 AM. |
Thread Tools | |
Display Modes | |
|
|