|
07-08-2017, 11:54 AM | #1 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
(old pre-release thread) REAPER for Linux: general discussion/setup/bugs
This thread is for the general discussion of setup, bugs, issues, tips & tricks, etc, regarding REAPER for Linux only. Please refrain from polluting it with other topics or pro/anti-OS discussion.
Please check out: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux for further details. Use https://forum.cockos.com/showthread.php?t=193791 to discuss the use of Linux plug-ins, and https://forum.cockos.com/showthread.php?t=193761 for Windows plug-ins
__________________
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; 09-20-2017 at 05:38 AM. |
07-08-2017, 12:02 PM | #2 | |
Human being with feelings
Join Date: Jan 2012
Location: North East UK
Posts: 493
|
Quote:
__________________
http://librewave.com - Freedom respecting instruments and effects http://xtant-audio.com/ - Purveyor of fine sample libraries (and Kontakt scripting tutorials) |
|
07-08-2017, 12:09 PM | #3 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Don't I wish
__________________
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-08-2017, 08:15 PM | #4 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
Updated the original post with some more information/etc.
Might post more info here eventually: (but not today) |
07-08-2017, 09:30 PM | #5 |
Human being with feelings
Join Date: Jun 2006
Location: Finland, Kuopio
Posts: 911
|
IMHO audio optimizations for linux should be gathered here?
|
07-09-2017, 12:12 AM | #6 |
Human being with feelings
Join Date: Jun 2009
Location: Wuppertal
Posts: 211
|
I would add LV2 plugins to the not supported features of Linux Reaper too.
Hint: There are a lot of great LV2 plugins avialable!!! ;-) |
07-15-2017, 05:03 AM | #7 | |
Human being with feelings
Join Date: Mar 2009
Posts: 85
|
Quote:
|
|
07-15-2017, 10:55 AM | #8 | |
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
Quote:
The low latency kernel is optional, but will yield better performance for cpu-intensive music-making. If you don't notice performance issues, follow your normal workflow regarding such changes/upgrades. And the old adage, 'if it ain't broke, don't fix it', should be on page 1 of the manual. Your cpufreq settings are also a factor, If they are not set to scale on demand, or to run at maximum speed, you won't get your monies worth, when the system is under heavy load. Cheers |
|
07-15-2017, 11:29 AM | #9 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,690
|
A bad idea regarding performance issues, as the next urgent project will be more demanding.
-Michael |
07-15-2017, 12:59 PM | #10 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I'd tend to agree. My modus operandi is to pound the system as hard as I can, if it's xrun free, then I know that a lighter project won't cause problem.
__________________
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-26-2017, 09:07 AM | #11 |
Human being with feelings
Join Date: Mar 2015
Location: Mainland China
Posts: 157
|
Can Reaper display Chinese?
Reaper can not display Chinese. When I paste Chinese in Reaper, i get squares. And i can't type Chinese in reaper using Fcitx. It just can't swich to Fcitx in Reaper
Maybe i missing something in setup? |
07-16-2017, 02:06 AM | #12 | |
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
Quote:
and my reply itself. The questions are those of someone new to linux audio, and my reply was to proceed based on existing conditions and experience. Most people won't ever have a string of 'urgent projects', each more demanding than the last, but will develope a routine and workflow that evolves with increasing knowledge and experience. The most bitter linux haters were new linux users once, were promised a fanboi's treasure, rushed in blindly, were then poorly supported, and staggered away from the trainwreck, never to return. If_it's_broke,_fix_it If_it_ain't_broke,_don't_fix_it,_write_a_song... Cheers |
|
07-15-2017, 12:28 PM | #13 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
I'll try to explain in a simplified manner, but I'll probably ramble and get long winded. I might edit this post again later to make it more comprehensible Linux low latency audio is based on POSIX real time threads. A thread of a higher priority will preempt threads of lower priority and will run until it's finished. The idea is to order the priority of the threads, so that the soundcard IRQ has the highest, then the audio threads, and below that the threads dealing with hardware like the screen, disk io, etc, and lowest of all the other programs running on the computer. Kernels: Kernels can be of several different types types of scheduling models, the ones we are interested in are capable of preempting a running thread to run one of a higher priority. If the kernel can't do this, you can still run reaper but you will have to use bigger buffers and you risk dropouts. The kernels of interest are referred to as lowlatency and realtime. A lowlatency kernel can preempt threads. The realtime kernel in addition tries to maximize the surface of the kernel itself that can be preempted, so it can achieve a lower kernel scheduling latency (the maximum time it takes the kernel to start running a thread). If you have a deadline of 1.4ms, and it takes the kernel 10ms to schedule your audio, you get a dropout. The only relevant difference is that the realtime kernel can achieve a lower scheduling latency than the lowlatency kernel. To see what kernel you have, if the output of "uname -a" contains "PREEMPT" then it's a lowlatency kernel, and if it contains "PREEMPT RT" then it's a realtime kernel. Computer hardware can cause problems in scheduling, as can software drivers. Things like NMI/SMI hardware interrupts or wifi, bt, video, or other software drivers. User privileges: To be able to schedule threads real time, the user running reaper (or a group he belongs to) has to be able to use "rtprio". The max value is 99, but there are some kernel threads running there, so I'd suggest setting rtprio to 98. It would also be bad for low latency if the system discarded or swapped RAM containing reaper/plugin code/data to disk, thus the reason to give the user the capability to set "memlock". My suggestion is to set it to unlimited, but you can set a smaller size if you want to. Normally there are very few programs using memlock on linux, basically only your audio programs, so it seems wise to make sure that it all stays in RAM, but if you go too far you can swap out the entire OS (user space) and might have to do a hard reset. To check what your user capabilities are run "ulimit -a". Soundcard IRQ priorities: The realtime kernel exports most of the interrupt handlers to run as threads in user space, as does the lowlatency kernel when booted with the "threadirq" boot flag. The IRQ handlers will run at priority 50, with some kernel house keeping threads at 99 and some software timers at 1. Setting the thread handling the soundcard or the usb hub IRQ to a high priority will make sure that it runs before most of the other interrupt handlers. Reccomended priorities: 99 kernel threads 95 sound card interrupt handler 80 jackd/or reaper (ALSA) 50 hardware interrupt handlers 1 software timers 0 most threads This pretty much covers the configuration of low latency audio on Linux. Hope it's useful and that I didn't ramble too much
__________________
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-15-2017 at 12:53 PM. |
|
07-15-2017, 03:15 PM | #14 | |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,690
|
Quote:
Regarding the other Thread here: 1) What about the VSTs ? (I suppose Reaper handles them as (Audio) threads with the appropriate priority setting 2) What about Windows VST running in Wine ? Can the the "bridged" processes running via Wine be assigned decent priorities ? -Michael Last edited by mschnell; 07-16-2017 at 02:17 PM. |
|
07-16-2017, 04:57 AM | #15 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
The interesting problem is with windows vsts, as they run as a different process with their own threads. I wrote a patch for wine many years ago called wine-rt, which allows windows programs that ask for elevated thread priorities to get their threads scheduled as realtime threads. Been using this for years to run reaper in wine with good success. With some plugins I can see them using this functionality to set a high priority thread. This patch is not part of normal wine, but you could patch wine and build it yourself to get this capability. Some distros (kxstudio, maybe others) might have a wine-rt package, and the functionality has been added to wine-staging, but it needs to be activated by setting a couple of environment variables. For wine-rt it's WINE_RT and WINE_SRV_RT, and for wine-staging it's STAGING_RT_PRIORITY_BASE and STAGING_RT_PRIORITY_SERVER. Regarding LinVst both me and osxmidi have recently added realtime support, albeit in different ways. To add osxmidi's realtime support you have to build it with a special makefile, and it will try to run lin-vst-server with all threads as realtime. I submitted a patch that hasn't made it into the main LinVst repo, but which is available on my github fork: https://github.com/jhernberg/LinVst/tree/realtime This patch takes a different approach. When reaper calls the plugin, it asks for the priority of the calling thread, then sends that info over the named pipes and finally sets the same priority of thread handling the request in wine. This means if reaper is asking linvst to process audio from a realtime thread, then the corresponding thread in lin-vst-server.exe will get the same priority. I suppose one could even combine the two patches and run them at the same time. But haven't had much time to play with this, as I need to work on music and not hack code So to sum it up, linux vsts ought to work fine even at low latencies. Windows vsts will work fine in LinVst without doing anything special, but for lower latency it could benefit from: 1. Use and configure realtime support in either wine-rt or wine-staging. 2. Use either osxmidi's or my recent realtime support in LinVst I'll try to get around to cleaning up my linvst github and write a howto in the other thread.
__________________
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-16-2017 at 05:05 AM. |
|
07-16-2017, 02:21 PM | #16 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,690
|
Really interesting stuff, indeed !!!
-Michael |
07-20-2017, 02:54 PM | #17 |
Human being with feelings
Join Date: Jul 2017
Posts: 23
|
Thank You!
Just want to say thank you for doing Reaper in Linux to all those involved.
I was notified by a friend who is still on Windows, "hey dude I think Reaper is on Linux now." I was like, "no man that is some stuff that has been sitting for years, that is not a real build." Then I started searching. Then I found a .deb file for Reaper here: http://www.bandshed.net/packages/reaper-linux/ Not sure who is posting these .deb files for us Linux dummies who don't know that package and library trickery but thanks!! For those not familiar a .deb file will click and install on Ubuntu (and others I think) like a Windows install program. I downloaded, clicked and Unbutu studio loaded it up fast!, I selected JACK audio (had it running already) and BAM instant Reaper on my Ubuntu system!!! Also, had an issue with an audio stuttering start and it was fixed before I could even comment here! Reaper in the past has alway "just worked" for me. It just works. Who is running the beta testing and where do we comment if we find anything? I would post on you main Download page that Beta Reaper Linux is here!! |
07-21-2017, 12:09 PM | #18 |
Human being with feelings
Join Date: Apr 2017
Posts: 5
|
not enough recursion
5.50rc6, Debian 9
I can't load JSFX. The directories themselves are presented to me as the scripts. Likewise, the VST search path in Preferences -> VST doesn't appear to be searched recursively on Linux as it was in Windows. Possibly the same bug? (btw, great job on loading VSTs once found, especially @osxmidi . All my Windows plugs load great.) |
09-01-2017, 01:27 AM | #19 |
Human being with feelings
Join Date: Jan 2014
Location: Miami, Florida USA
Posts: 32
|
This works?
I tried this but audio was choppy
https://www.youtube.com/watch?v=Zpnfg-urzR0 but many swear that it works he did not expand on step 5 though
__________________
Licensed User - installed in Windows 10 Pro 16g RAM - AMD Ryzen 5 1600X - ASRock AB350 Pro4 Samsung 240 SSD / PNY 240 SSD for data |
09-01-2017, 04:04 AM | #20 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
The good thing is that by following the video a few basic tasks have been taken care of, and kxstudio normally improves the audio experience on debian distros! I'm sorry that I can't offer much help about the specifics of debian/kxstudio, as I use a different distro myself, something that could be seen analogous to a different but closely related operating system. I'd also prefer if we could keep this thread focused on reaper and not on how to configure linux distros, but a good and friendly place to get help with linux audio is: https://linuxmusicians.com My recommendation would be to stay with the above, and then to install the linux version of reaper, as I explained before. Download the pre release tarball and unpack it. That said choppy/crackling audio is normally due to too low buffering settings, and possibly a few other configuration issues. What kind of cpu/soundcard do you have? What settings did you use when starting jack from cadence?
__________________
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. :) |
|
09-01-2017, 11:22 AM | #21 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Good news!
Cockos just uploaded a 32 bit version to landoleet!
__________________
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. :) |
09-01-2017, 07:32 PM | #22 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
We're also going to move to a newer gcc version (6.3) for the builds, I think, which means some older linux distributions will no longer work. e.g. Debian requires stretch, Ubuntu 16.04+ (14.04 is no good, at least, in between I'm not sure).
|
09-02-2017, 10:21 AM | #23 |
Human being with feelings
Join Date: Mar 2017
Posts: 859
|
Regarding 32 bit linux reaper, people tend to forget,
or new vst users who are unfamiliar with the various histories, that some of the really great sound designers and dsp coders were pushing the envelope in 32bit, and quite a few plugin experiments were successfully pulled off, by creating plugins with synthedit/synthmaster, that are as useful and delightful now, as they were in the days when sound was only _half_ as good as 64 bit sound. Some of these oldies will work better in a 32 bit system, sans any bridging, so linux Reaper in 32 bit will be most welcome, and worthy of it's own ssd. Thankyou! Hope it is not difficult to maintain. Cheers |
09-09-2017, 01:02 PM | #24 |
Human being with feelings
Join Date: Jul 2017
Posts: 2
|
this is a regrettable decision. i am running a release of devuan from this april, which i would hardly class as particularly old, and it fails with CXXABI_1.3.9 not found. sigh. i have visions of upgrade hell
|
09-13-2017, 08:07 AM | #25 | |
Human being with feelings
Join Date: Feb 2007
Posts: 99
|
Quote:
i've have python 3.6.2 from the anaconda distribution. Is there a work around? .Floris |
|
09-13-2017, 10:06 AM | #26 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Maybe try to install python2 too? I have both p2 & p3 installed and reaper picks p2.
__________________
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. :) |
09-13-2017, 11:05 AM | #27 |
Human being with feelings
Join Date: Feb 2007
Posts: 99
|
|
09-13-2017, 11:28 AM | #28 |
Human being with feelings
Join Date: Sep 2007
Location: trondheim, norway
Posts: 363
|
not sure if here and now is the best time for reporting linux bugs, but.. if i change the default pitch shifter mode (for example, to elastique 3.2.3 efficient) in projet settings (and click save as default project settings), it won't 'stick'.. next time reaper starts, it's back to soundtouch..
(latest v5.50 from lol, 64bit) - tor-helge
__________________
torhelgeskei.com |
09-13-2017, 11:39 AM | #29 | |
Human being with feelings
Join Date: Feb 2008
Location: Finland
Posts: 160
|
Quote:
|
|
05-09-2018, 12:02 AM | #30 |
Human being with feelings
Join Date: Oct 2017
Location: Oslo Norway
Posts: 53
|
JACK transport
JACK transport is supported now, it seems. Maybe Jack Winter should put it in his fantastic wiki? excellent work
|
05-09-2018, 03:22 AM | #31 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Yes I will, there are a few things I ought to update/fix. Just a question of time... Note that afaik it can only slave to jack transport, master support is still missing. I also don't know how well it would be able to loop, as there is no provision in the jack API for looping..
__________________
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. :) |
05-10-2018, 12:47 AM | #32 | |
Human being with feelings
Join Date: Oct 2017
Location: Oslo Norway
Posts: 53
|
Quote:
|
|
05-12-2018, 02:53 PM | #33 |
Human being with feelings
Join Date: Apr 2018
Location: Karlsruhe
Posts: 486
|
|
05-14-2018, 09:40 PM | #34 |
Human being with feelings
Join Date: May 2017
Posts: 95
|
I had updated ffmpeg to 4.0 and REAPER could not play video files, reverting back to 3.4.2 fixes the issue
i'm using arch linux, is there any other info on my system that could be useful for debugging? |
05-15-2018, 02:37 AM | #35 |
Human being with feelings
Join Date: Dec 2012
Posts: 13,333
|
Reaper doesn't support ffmpeg 4.0 for a while.
|
05-15-2018, 03:23 AM | #36 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
FWIW, I just played a mp4 file with h264/aac content in reaper with 4.0-2 on Archlinux. VLC v3 as always not working.
Edit: I just saw that I have ffmpeg2.8 installed too.. Try installing that to see if it starts working again.
__________________
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; 05-15-2018 at 09:44 AM. |
05-25-2018, 12:07 AM | #37 |
Human being with feelings
Join Date: Oct 2017
Location: Oslo Norway
Posts: 53
|
|
Thread Tools | |
Display Modes | |
|
|