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

Reply
 
Thread Tools Display Modes
Old 08-26-2023, 04:11 PM   #41
xeityrj
Human being with feelings
 
Join Date: Jul 2023
Posts: 5
Default

Quote:
Originally Posted by chmaha View Post
You can definitely try. However, I just know that the default Arch/Majaro (etc) kernels are ready to go and that Ubuntu requires low-latency/liquorix for best results. Debian doesn't have a low-latency option in the repositories therefore I jump straight to liquorix.

The thing I like to repeat is that, sure, no modifications might allow you to record a handful of tracks. But what about when you want to add a sampler, some reverb(s), yabridged plugins etc? Best to get your system ready for any eventuality with the only limits being your own particular CPU, RAM and HD specifications.

Others say start with no modifications but I'd hate to lose a critical take because I didn't optimize my computer as well as I could have done. Don't forget to run some stress tests too to make sure that the x-run counter really does remain at zero.
Greetings! I noticed an update to your Debian pro audio guide, so I've tested (briefly) the stock Ubuntu kernel with "preempt=full" as a kernel parameter, and was surprised to see a match in performance in terms of xruns, comparing it to the low-latency kernel. Thanks
xeityrj is offline   Reply With Quote
Old 08-27-2023, 11:54 AM   #42
chmaha
Human being with feelings
 
chmaha's Avatar
 
Join Date: Feb 2021
Posts: 2,055
Default

Quote:
Originally Posted by xeityrj View Post
Greetings! I noticed an update to your Debian pro audio guide, so I've tested (briefly) the stock Ubuntu kernel with "preempt=full" as a kernel parameter, and was surprised to see a match in performance in terms of xruns, comparing it to the low-latency kernel. Thanks
Good to hear! I suppose it has been technically possible since Ubuntu 21.10 (with kernels >=5.12) but my only experience recently has been with Debian 12. I guess depends when the CONFIG_PREEMPT_DYNAMIC compile option was set by the Ubuntu team...
__________________
reaclassical.org -- Open Source Classical Music Editing Tools for REAPER | Donate
airwindows JSFX Ports | Arch Pro Audio Guide | Debian Pro Audio Guide

Last edited by chmaha; 08-27-2023 at 02:50 PM.
chmaha is offline   Reply With Quote
Old 09-03-2023, 07:08 PM   #43
sonicman
Human being with feelings
 
sonicman's Avatar
 
Join Date: May 2020
Posts: 38
Default

Quote:
Originally Posted by chmaha View Post
I have popOS 22.04 which uses systemd-boot instead of grub.

I can't complete the two below items in your guide.

4. Kernel tweaks
5. Swappiness: "/etc/sysctl.d/99-sysctl.conf" E166: Can't open linked file for writing

Thanks for the guide. It's a great help.

Note: Im not experiencing any issues but it's always better to have a nicely configured system.
sonicman is offline   Reply With Quote
Old 09-04-2023, 01:18 AM   #44
chmaha
Human being with feelings
 
chmaha's Avatar
 
Join Date: Feb 2021
Posts: 2,055
Default

Quote:
Originally Posted by sonicman View Post
I have popOS 22.04 which uses systemd-boot instead of grub.

I can't complete the two below items in your guide.

4. Kernel tweaks
5. Swappiness: "/etc/sysctl.d/99-sysctl.conf" E166: Can't open linked file for writing

Thanks for the guide. It's a great help.

Note: Im not experiencing any issues but it's always better to have a nicely configured system.
OK, I'll look into it soon. I've only ever used grub...
__________________
reaclassical.org -- Open Source Classical Music Editing Tools for REAPER | Donate
airwindows JSFX Ports | Arch Pro Audio Guide | Debian Pro Audio Guide
chmaha is offline   Reply With Quote
Old 09-06-2023, 01:05 PM   #45
s wave
Human being with feelings
 
Join Date: Sep 2018
Location: Colorado
Posts: 413
Default

ALSA (asoundlib)interacts with the Kernel - but it is not ABSOLUTELY necessary? I think it was everyone just defaults to it; because it works. Many make their own method.

TinyALSA that interfaces with kernel using ioctl WITHOUT help of alsa-lib: https://github.com/tinyalsa/tinyalsa

here is a little thread... with a few good tidbits... https://handmade.network/forums/t/77...x_without_alsa
s wave is offline   Reply With Quote
Old 09-06-2023, 06:07 PM   #46
krahosk
Human being with feelings
 
krahosk's Avatar
 
Join Date: Jul 2009
Location: French Canada
Posts: 2,320
Default

Quote:
Originally Posted by chmaha View Post
OK, I'll look into it soon. I've only ever used grub...
There's another top tier distro that doesn't use grub: EndeavourOS.
krahosk is offline   Reply With Quote
Old 09-07-2023, 12:34 AM   #47
chmaha
Human being with feelings
 
chmaha's Avatar
 
Join Date: Feb 2021
Posts: 2,055
Default

Quote:
Originally Posted by krahosk View Post
There's another top tier distro that doesn't use grub: EndeavourOS.
I'll test in a VM at some point but the following should work for you (from the EndeavourOS installation notes):

Copy and paste:

Code:
preempt=full threadirqs cpufreq.default_governor=performance
into the file /etc/kernel/cmdline. Then run:

Code:
sudo reinstall-kernels
which is the equivalent of the update-grub command. If it works for you, I'll add the instructions to both of my guides.
__________________
reaclassical.org -- Open Source Classical Music Editing Tools for REAPER | Donate
airwindows JSFX Ports | Arch Pro Audio Guide | Debian Pro Audio Guide
chmaha is offline   Reply With Quote
Old 09-18-2023, 01:06 PM   #48
xeityrj
Human being with feelings
 
Join Date: Jul 2023
Posts: 5
Default

Quote:
Originally Posted by chmaha View Post
Good to hear! I suppose it has been technically possible since Ubuntu 21.10 (with kernels >=5.12) but my only experience recently has been with Debian 12. I guess depends when the CONFIG_PREEMPT_DYNAMIC compile option was set by the Ubuntu team...
Whats's up! I've also tried your Arch guide on Manjaro - it seemed to be done easier than Debian one, because it didn't left no unsitisfied "rtcqs" points! In Ubuntu, I had to refer to linux audio website from rtcqs to satisfy (if I recall it correctly) the last point, which is "Power Management", Also there was something else unsitisfied besides "Power Management", but I don't recall what it was, and if is important (probably Filesystems).
In Manjaro everything worked easily right away! I didn't do the Spectre/Meltdown because I'm a little afraid to do it after getting acquainted on the topic, although I think it could give quite significant increase in performance.

Anyway, I also tested my computer's performance in Reaper on Windows and Manjaro using low latencies by playing back and audio file and measuring how many ReaEQ instances I could drop on the track without audio dropouts/glitches and being able to tweak any of them. And damn, Manjaro outperformed Windows! Especially with ALSA, the difference was significant. Not such a noticable difference using higher latencies (with Jack) though, sometimes it seemed to perform quite equally. In general, I'm very happy about my switch. Both Linux and Reaper gave my laptop a new life. I had to learn both (didn't quite learn Linux tho, still doing everything from GUI), and Reaper is fantastic. Used to work in Ableton before. Today tried it again - shocked about how much less efficient it was.

Thank you again for your guides. Cheers!

btw, regarding "Power Management" - in both Ubuntu and Manjaro after performing "sudo make install" command it said that there is no such command as "make". In Ubuntu I manually downloaded the udev rule from github, moved it to an appropriate folder, and used commands from linuxaudio to reload udev. In Manjaro it worked out by itself, idk how. Anyways, just a little observation.

Last edited by xeityrj; 09-18-2023 at 01:37 PM.
xeityrj is offline   Reply With Quote
Old 09-18-2023, 02:48 PM   #49
/AND/
Human being with feelings
 
Join Date: Aug 2022
Posts: 491
Default

Quote:
Originally Posted by xeityrj View Post
...(didn't quite learn Linux tho, still doing everything from GUI), ...
Luckily we have reached a point where you don't need the terminal for more than 99% of stuff we do in Linux.

BTW regarding 'make' command, you need to install a package for it to be available, probably try (in terminal): 'sudo apt-get install make' (or use Synaptic package manager to install it in a GUI).
/AND/ 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 04:29 PM.


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