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

Reply
 
Thread Tools Display Modes
Old 05-28-2020, 08:43 PM   #1
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Buenos Aires, Argentina
Posts: 1,052
Default Kontakt in Ubuntu Studio - some stutter

I've just installed Kontakt 6.2.2 with Native Access. Previously, I installed Winetricks and did the override setting (native) of the mscvp140.dll in the /.wine/drive_c/Windows/System32 folder. I also set the Windows mode in Wine to Windows 10. After all of this NA worked OK.


Now, with Kontakt, I see a very similar performance to the Windows install, except for one important thing : there is some stutter when I play live with a patch from LASS 2.5, or the Oboe 1 from Berlin Woodwinds Legacy libraries, which are the first instruments I tested. The CPU usage and RAM are just fine (I even tried setting multi-core processing off and increasing the pre-load buffer size). This seems to be something related to disk streaming xruns, which is strange since all my libraries are on a dedicated SSD. The buffer size in Reaper changed from 128 to 1024, with similar results, so I can't attribute the problem to a low block size.

Am I missing some Wine setting or anything similar to get proper disk access?


Thanks in advance!

Last edited by Soli Deo Gloria; 05-28-2020 at 08:49 PM.
Soli Deo Gloria is offline   Reply With Quote
Old 05-29-2020, 06:01 AM   #2
SmajjL
Human being with feelings
 
SmajjL's Avatar
 
Join Date: Nov 2013
Location: Sweden
Posts: 2,355
Default

You can always "cheat" and try the Liquorix Kernel, was very good for playback and removed lots of "hair" spikes on the Graph i was eyeballing, should be easy to install and try on Ubuntu if you are curious and in the mood

During startup, press (left?) SHIFT, so you can end up chosing what ever kernel you have installed, you can also try install, use Grub Customizer.

Also, if you check run the program Htop, you can see if your specific scenario likes SWAP or , what..
I am not on Liquorix anymore because all is good now, just a tip and because, if it even lags on Liquorix, then something else is up, kind'a-thing.

Ooops, https://liquorix.net/#install
Type: uname -sr in the Terminal and you should see what kernel is in use
__________________
:)

Last edited by SmajjL; 05-29-2020 at 06:10 AM.
SmajjL is offline   Reply With Quote
Old 05-30-2020, 06:44 AM   #3
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 585
Default

I usually install jackd2 (sets up some realtime things by choosing yes when prompted, and jackd2 gets installed with the Ardour install as well) and rtirq-init and irqbalance and the Liquorix or Debian rt kernel for Debian or the Ubuntu low-latency kernel is ok for Ubuntu.
osxmidi is offline   Reply With Quote
Old 05-30-2020, 11:05 PM   #4
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Buenos Aires, Argentina
Posts: 1,052
Default

Quote:
Originally Posted by SmajjL View Post
You can always "cheat" and try the Liquorix Kernel, was very good for playback and removed lots of "hair" spikes on the Graph i was eyeballing, should be easy to install and try on Ubuntu if you are curious and in the mood

I'll certainly try it, and will even test AV Linux, to see if it makes any difference at all...


Quote:
Originally Posted by osxmidi View Post
I usually install jackd2 (sets up some realtime things by choosing yes when prompted, and jackd2 gets installed with the Ardour install as well) and rtirq-init and irqbalance and the Liquorix or Debian rt kernel for Debian or the Ubuntu low-latency kernel is ok for Ubuntu.

I've got those covered in Ubuntu Studio. Evidently, is not easy at all to get a reasonable performance from Kontakt in Linux, at least similar to Windows. I'll do more tests and then will post here the results and will make a bunch of other questions...
Soli Deo Gloria is offline   Reply With Quote
Old 05-31-2020, 05:55 AM   #5
Peevy
Human being with feelings
 
Peevy's Avatar
 
Join Date: May 2008
Location: Ireland
Posts: 550
Default

I haven't had any problems with kontakt stuttering while playing live. The only time I had a similar problem was with Drumgizmo & I found out it was related to the cpu scaling which on Manjaro was set to powersave. Changing this to performance fixed my problem. Not sure how this is set in Ubuntu Studio but you can find out more about here on the arch wiki.
__________________
System: Mobo-Asus Prime Z370P II, CPU-i7 8700K, RAM-48gb DDR4 3000mhz, GPU AMD RX580 OS: Manjaro Linux
Soundcard:
Komplete Audio 6 Monitors: Adam A5X
Peevy is offline   Reply With Quote
Old 05-31-2020, 06:09 AM   #6
SmajjL
Human being with feelings
 
SmajjL's Avatar
 
Join Date: Nov 2013
Location: Sweden
Posts: 2,355
Default

I'm not sure how Ubuntu does things, but i think the Manjaro devs actually patch their Kernels abit, how much Vs Liquorix, i don't know, but
So, i don't really need a low-latency Kernel on Manjaro. (speaking for myself)
Main standard Kernels (https://www.kernel.org/) feel much better this year than the year before i think, also

--

i'm using the,

echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

thing'ie
__________________
:)

Last edited by SmajjL; 05-31-2020 at 06:22 AM.
SmajjL 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 01:47 AM.


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