|
|
|
07-06-2017, 02:37 AM
|
#2121
|
Human being with feelings
Join Date: Mar 2012
Posts: 610
|
Quote:
Originally Posted by osxmidi
I've added a realtime audio LinVst version (LinVst-rt) which may help with xruns in some cases https://github.com/osxmidi/LinVst/releases
I've been testing with Linux Ardour, Bitwig, Tracktion and Reaper and on my old dual core laptop Linux Reaper is often running Linux and Windows vst's at around half the cpu usage then Ardour, Bitwig and Tracktion.
So, Linux Reaper wins, at least on my system.
|
Awesome! Thanks so much for your hard work
Is there any reason to not use the LinVst-rt version all the time? I assume so if you include 2 versions...
|
|
|
07-06-2017, 03:25 AM
|
#2122
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by David Else
Awesome! Thanks so much for your hard work
Is there any reason to not use the LinVst-rt version all the time? I assume so if you include 2 versions...
|
The non realtime version is just in case some plugin might have trouble with the real time version.
If things are ok with the real time version then that will be the main version and I'll drop the other version, but there are a lot of plugins around and some could have some problems with the real time version.
The plugins that I encountered that were not running well with real time were Mercurial Spark Amp Sim and EZDrummer (there could be others), but I think I have a solution for them with this new real time version.
The real time version should theoretically have better latency as well (I can get lower latency on my test setup).
Last edited by osxmidi; 07-06-2017 at 03:31 AM.
|
|
|
07-06-2017, 05:02 AM
|
#2123
|
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Hi osxmidi,
Great, how do I build it? I just pulled from the linvst github, and don't really see any rt changes there. Never mind, I found it. Will test when I have some time tomorrow.
__________________
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-06-2017 at 05:18 AM.
|
|
|
07-06-2017, 05:09 AM
|
#2124
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by Jack Winter
Hi osxmidi,
Great, how do I build it? I just pulled from the linvst github, and don't really see any rt changes there. Also are you going to accept my PR, am waiting for you to accept it as I also finished a rt patch that I wanted to submit
|
The rt makefile is Makefile-embed6432-rt
I've got a lot of conflicting files/changes issues with the pull and I'll try to work it out somehow.
I want to see your fifo changes, maybe they can improve some things.
|
|
|
07-06-2017, 05:37 AM
|
#2125
|
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
Originally Posted by osxmidi
The rt makefile is Makefile-embed6432-rt
I've got a lot of conflicting files/changes issues with the pull and I'll try to work it out somehow.
I want to see your fifo changes, maybe they can improve some things.
|
Yeah, we seem to get our wires crossed It's bad when the cleanup changes are so big. I left you a PM too, so let's discuss there how to go about this. I do think my realtime patch does work wonders, it really does reduce xruns dramatically, but I don't know how far you can take it yet.
Yours I haven't had time to test yet. Will let you know how well it works.
__________________
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-06-2017, 06:37 AM
|
#2126
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by Jack Winter
Yeah, we seem to get our wires crossed It's bad when the cleanup changes are so big. I left you a PM too, so let's discuss there how to go about this. I do think my realtime patch does work wonders, it really does reduce xruns dramatically, but I don't know how far you can take it yet.
Yours I haven't had time to test yet. Will let you know how well it works.
|
All fixed.
|
|
|
07-06-2017, 08:16 AM
|
#2127
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
So far with the rt version I've been able to get 5.3ms latency (48000hz 128 frames/period 2 periods/buffer) with Guitar Rig and Mecuriall Spark Amp Sims on my old dual core Dell with a crap inbuilt sound device.
Obxd, Podolski and Cobalt synths are getting the same latency.
Before, I could get 10.7 ms latency (48000hz 256 frames/period 2 periods/buffer).
Occasionally the pulseaudio/jack daemon might pop up and interrupt the audio.
I'd personally disable pulseaudio if I was being serious about latency and use a rt kernel as well and use a quad core or more modern system (i9 or threadripper bring it on) and of course the sound hardware.
Last edited by osxmidi; 07-06-2017 at 08:54 AM.
|
|
|
07-06-2017, 08:35 AM
|
#2128
|
Human being with feelings
Join Date: Jul 2006
Posts: 20,859
|
osxmidi, that sounds like cool stuff. I'm wondering if you can explain a bit to us plebs how this realtime version of linvst goes about lowering latency. I'm assuming that running an rt kernel is required to take advantage of it. Thanks for your work!
__________________
It's time to take a stand against the synthesizer.
|
|
|
07-06-2017, 08:43 AM
|
#2129
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by brainwreck
osxmidi, that sounds like cool stuff. I'm wondering if you can explain a bit to us plebs how this realtime version of linvst goes about lowering latency. I'm assuming that running an rt kernel is required to take advantage of it. Thanks for your work!
|
It sets the audio thread at a higher priority level.
But I've had the audio thread enabled at a higher priority level before but with problems that made some plugins lock the host (Reaper) up but this new rt version (hopefully) gets around that problem.
If the audio thread gets too much priority then it can lock out the GUI and host (Reaper) and maybe even threads that the plugin is using (Wine is running those threads), but the audio thread needs to be at a higher priority to get lower latencies, so it was a problem especially for some plugins.
A real time kernel isn't essential, but it will help.
Last edited by osxmidi; 07-06-2017 at 08:56 AM.
|
|
|
07-06-2017, 11:21 AM
|
#2130
|
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
Quote:
Originally Posted by osxmidi
I've added a realtime audio LinVst version (LinVst-rt) which may help with xruns in some cases https://github.com/osxmidi/LinVst/releases
I've been testing with Linux Ardour, Bitwig, Tracktion and Reaper and on my old dual core laptop Linux Reaper is often running Linux and Windows vst's at around half the cpu usage then Ardour, Bitwig and Tracktion.
So, Linux Reaper wins, at least on my system.
|
I'm all for winning! And thanks for the link to the download,
it will help musicians not heavy into git, to get
up and running easier.
Cheers
|
|
|
07-06-2017, 03:36 PM
|
#2131
|
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
Gave 1.05rt what I reckoned to be a difficult try,
using a pad From Absynth, an e-piano sound from Prism in Reactor5,
and an ensemble from the user library in Reaktor6,
playing a roiling sequence preset, but it was a
pretty enjoyable little band. Then I fired up BigTick's Rhino,
to play some syncopated sequence presets, followed by oldies
like Oatmeal, Abakos and Auger, Rob Papens RG_Muted_CM and SQ8L.
Surpisingly, FM8 was really glitchy, it's been far pickier
on, and then off, when used with vst wrapping, than the other NI apps I use.
A coder at NI must have had a bad hair week or three...
32bit synthedit plugins scan and display OK, but still
lock up reaper gui immediately, this being a previous issue not
native of this new release. Hoping for a 32bit linux reaper,
willing to buy a separate license, should it matter.
Cheers
|
|
|
07-06-2017, 04:38 PM
|
#2132
|
Human being with feelings
Join Date: Sep 2015
Posts: 16
|
I just tried the latest release and it works flawlessly so far. Sincere thanks to all people involved, this is really appreciated.
Was able to load up my free VSTs and the Toontrack things with LinVst. Unfortunately, I wasn't able to get any custom UI on the VSTs, which makes selecting effects extremely hard, especially without the Toontrack software UI. That didn't prevent me though from loading old projcts with preset effects and what can I say, it works well.
Haven't encountered any errors so far, although I'm a bit disappointed that the native version did not solve the loud clipping noise spike that I hear every couple of minutes out of nowhere. I don't know where this comes from, as it produces no Xrun, but it doesn't seem to be related to Wine, apperently.
Anyhow, very excited about this!
|
|
|
07-06-2017, 08:56 PM
|
#2133
|
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
https://www.kvraudio.com/forum/viewt...?f=31&t=424953
If you don't yet have the free U-he Podolski synth, get it at the link,
osxmidi is very familiar with it, post your linux distro, kernel version,
video chip or card, and it should be easy to troubleshoot the lack
of normal gui. Did you compile linvst, or use the binary? Which version
of reaper is installed?
Cheers
|
|
|
07-07-2017, 12:24 AM
|
#2134
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by Aliumhunter
I just tried the latest release and it works flawlessly so far. Sincere thanks to all people involved, this is really appreciated.
Was able to load up my free VSTs and the Toontrack things with LinVst. Unfortunately, I wasn't able to get any custom UI on the VSTs, which makes selecting effects extremely hard, especially without the Toontrack software UI. That didn't prevent me though from loading old projcts with preset effects and what can I say, it works well.
Haven't encountered any errors so far, although I'm a bit disappointed that the native version did not solve the loud clipping noise spike that I hear every couple of minutes out of nowhere. I don't know where this comes from, as it produces no Xrun, but it doesn't seem to be related to Wine, apperently.
Anyhow, very excited about this!
|
Could be Wine, maybe try to upgrade Wine or reinstall it.
Could be some library problem if you are using the the LinVst I made on my system (Ubuntu Studio 16.10)
|
|
|
07-07-2017, 12:26 AM
|
#2135
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by 4duhwinnn
Gave 1.05rt what I reckoned to be a difficult try,
using a pad From Absynth, an e-piano sound from Prism in Reactor5,
and an ensemble from the user library in Reaktor6,
playing a roiling sequence preset, but it was a
pretty enjoyable little band. Then I fired up BigTick's Rhino,
to play some syncopated sequence presets, followed by oldies
like Oatmeal, Abakos and Auger, Rob Papens RG_Muted_CM and SQ8L.
Surpisingly, FM8 was really glitchy, it's been far pickier
on, and then off, when used with vst wrapping, than the other NI apps I use.
A coder at NI must have had a bad hair week or three...
32bit synthedit plugins scan and display OK, but still
lock up reaper gui immediately, this being a previous issue not
native of this new release. Hoping for a 32bit linux reaper,
willing to buy a separate license, should it matter.
Cheers
|
I'm running the FM8 demo at the moment.
I've only got the FM7 and FM8 to play with but it seems to be ok with 5.3ms latency on my dual core Dell (inbuilt sound).
But as you say there is static but I'm getting no xruns, pretty strange, I'll look into it.
I'm using Wine Staging 2.11 fwiw.
Last edited by osxmidi; 07-07-2017 at 12:45 AM.
|
|
|
07-07-2017, 02:51 AM
|
#2136
|
Human being with feelings
Join Date: Jun 2009
Location: Wuppertal
Posts: 212
|
Does anybody else got problems moving a Reaper project to another computer?
When I zip a Reaper project folder, copy it to a usb stick, copy the zip file to another computer with the same Reaper setup and then open the project with Reaper all my volume settings are gone (reset to zero, the fader is down) and the media item positions and length are moved/changed. The funny part: when I open the project after reediting and saving it is wrong again when I open it again. :-)
|
|
|
07-07-2017, 03:46 AM
|
#2137
|
Human being with feelings
Join Date: Sep 2015
Posts: 16
|
Quote:
Originally Posted by osxmidi
Could be Wine, maybe try to upgrade Wine or reinstall it.
Could be some library problem if you are using the the LinVst I made on my system (Ubuntu Studio 16.10)
|
Oh hey, yes I am using your recently linked build, thanks.
Are you referring to the missing UI or the clipping sound?
Anyhow, I am also using Ubuntu Studio (16.04, however) and the wine-rt and wineasio-amd64 packages from the KXStudio repository, since I wasn't able to get Wine Staging to work correctly, so I can't really update it that way.
Do you recommend something different? Or how would you go about installing Wine for the native Reaper installation?
Kind regards!
|
|
|
07-07-2017, 04:11 AM
|
#2138
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by Aliumhunter
Oh hey, yes I am using your recently linked build, thanks.
Are you referring to the missing UI or the clipping sound?
Anyhow, I am also using Ubuntu Studio (16.04, however) and the wine-rt and wineasio-amd64 packages from the KXStudio repository, since I wasn't able to get Wine Staging to work correctly, so I can't really update it that way.
Do you recommend something different? Or how would you go about installing Wine for the native Reaper installation?
Kind regards!
|
It would probably be wine-rt that is causing some incompatibilities with my binary versions.
Maybe if LinVst was made on the KXStudio distro then wine-rt might be ok but I havn't tried it.
Any of the wine 2.0 or over versions should work ok, wine-stable, wine-devel or wine-staging.
|
|
|
07-07-2017, 04:38 AM
|
#2139
|
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
AFAIK, kxstudio has pretty old versions 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. :)
|
|
|
07-07-2017, 09:08 AM
|
#2140
|
Human being with feelings
Join Date: Mar 2012
Posts: 610
|
Quote:
Originally Posted by Aliumhunter
Oh hey, yes I am using your recently linked build, thanks.
Are you referring to the missing UI or the clipping sound?
Anyhow, I am also using Ubuntu Studio (16.04, however) and the wine-rt and wineasio-amd64 packages from the KXStudio repository, since I wasn't able to get Wine Staging to work correctly, so I can't really update it that way.
Do you recommend something different? Or how would you go about installing Wine for the native Reaper installation?
Kind regards!
|
I would recommend the official stable version. Here is the link for Ubuntu:
If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.
https://wiki.winehq.org/Ubuntu
(I am on Fedora, so I just assumes it works well for Ubuntu too)
|
|
|
07-07-2017, 09:08 AM
|
#2141
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
Quote:
Originally Posted by 4duhwinnn
Gave 1.05rt what I reckoned to be a difficult try,
using a pad From Absynth, an e-piano sound from Prism in Reactor5,
and an ensemble from the user library in Reaktor6,
playing a roiling sequence preset, but it was a
pretty enjoyable little band. Then I fired up BigTick's Rhino,
to play some syncopated sequence presets, followed by oldies
like Oatmeal, Abakos and Auger, Rob Papens RG_Muted_CM and SQ8L.
Surpisingly, FM8 was really glitchy, it's been far pickier
on, and then off, when used with vst wrapping, than the other NI apps I use.
A coder at NI must have had a bad hair week or three...
32bit synthedit plugins scan and display OK, but still
lock up reaper gui immediately, this being a previous issue not
native of this new release. Hoping for a 32bit linux reaper,
willing to buy a separate license, should it matter.
Cheers
|
I've changed a few things and updated LinVst-rt 1.05
Another general thing is that pre-zero output buffers being set to off makes a latency difference on my test system but it might be hardware dependent.
This option tells REAPER to zero the output buffers of the hardware BEFORE rendering to them, which on some hardware can reduce "stuck buffer sounds" in certain instances. If you do not hear anything wrong, leave this option disabled (since it uses extra CPU). If you have occasional blips in your output, you can try enabling this. This option is especially useful for RME hardware.
Last edited by osxmidi; 07-07-2017 at 09:21 AM.
|
|
|
07-07-2017, 12:51 PM
|
#2142
|
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
Thanks for the tips. I got an occasional stuck note
in the Absynth session I mentioned, but using the new 1.5-rt
with the reaper prefs modification you suggest has cleaned that up.
I also did a little cpu scaling check using Massive, running the command
below each time a new instance was added.
cat /sys/devices/system/cpu/*/cpufreq/scaling_cur_freq
Adding each of five instances, the command showed increased
cpu use, and also when changing from a three finger chord, to a six finger,
and then holding down the sustain pedal, were all reflected.
All that to affirm that various things under the hood,
are functioning well.
Cheers
|
|
|
07-07-2017, 10:40 PM
|
#2143
|
Human being with feelings
Join Date: Feb 2014
Posts: 620
|
|
|
|
07-08-2017, 12:05 PM
|
#2144
|
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I've created two new threads, one for discussing reaper on linux and the other for discussing how to use windows plugins on linux. I think this huge thread has probably outlived it's usefulness and won't be the best starting point for users looking for information about running reaper on linux.
__________________
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. :)
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 01:17 AM.
|