Arch based audio distro

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

User avatar
funkmuscle
Established Member
Posts: 2806
Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 131 times
Been thanked: 33 times

Re: Arch based audio distro

Post by funkmuscle »

thetotalchaos wrote:Hello Archies,

I am using Arch, or its 100% free software version - Parabola GNU/Linux-libre, since 2014.
And this is the only Linux distribution that never feel like a compromise.
https://www.linuxmusicians.com/viewtopi ... =4&t=14907

A some time ago i made two useful applications aimed to make Parabola GNU+Linux-libre suitable choice for Linux musicians. Those are Parabola ProAudio metapackage and Parabola Proaudio settings, which fine tune your system for out of the box proaudio work.
https://www.parabola.nu/packages/?q=parabola-proaudio
(Un)Fortunately i switched back to vanilla Archlinux distro soon after, and left both packages unmantained, although they still doing their job in the Parabola ecosystem.

:!: If someone wants to help me repack and update those apps for Archlinux (AUR or even in 'Community' repo) please contact me

The good news is that since a week or two both Cadence and Carla are part of the official Archlinux repositories.
Core apps like Ardour are also getting better support and up-to-date versions.

The default Archlinux kernel has the PREEMPT option enabled (like ubuntu' Linux-Lowlatency). And although my system is heavily tweaked to prioritize both Audio Performance and Audio quality, it seems that the default Linux kernel is getting the job done. The only modification i have done is to add threadirqs as a kernel boot option.

Here are a few tips to minimize the headaches when choosing the modern Cadence to administrate the Jack server https://www.linuxmusicians.com/viewtopi ... 27&t=17780

Best regards, Totalchaos
good to see you back Biser. Yep you've helped me set up things your way and it's been great. Thanx Bud!
User avatar
wayneward
Established Member
Posts: 38
Joined: Wed Oct 29, 2014 8:47 pm
Contact:

Re: Arch based audio distro

Post by wayneward »

after getting it all setup on antergos with gnome i started running into problems with xruns and the system halting and crashing but i see its doing quite a lot
i think i solved it by running mate desktop cut right down and getting more air to the bottom of the laptop as it runs hotter in performance mode..

i ran this and got this below

i have to manually type in sudo /sbin/sysctl -w vm.swappiness=10 after a reboot to find out how to set this permanant
and also this part increase max_user_watches by adding 'fs.inotify.max_user_watches = 524288' to /etc/sysctl.conf and rebooting
but i dont have a /etc/sysctl.conf ?! but i read that it maybe depreciated so maybe the realtimechecker script wants updating to this?


[wayneward@shanghai ~]$ realTimeConfigQuickScan
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 4.14.18 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU 2: 'performance' CPU 3: 'performance' - good
Checking swappiness... 10 - good
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... < 524288 - not good
increase max_user_watches by adding 'fs.inotify.max_user_watches = 524288' to /etc/sysctl.conf and rebooting
For more information, see http://wiki.linuxaudio.org/wiki/system_ ... sysctlconf
Checking access to the high precision event timer... readable - good
Checking access to the real-time clock... readable - good
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
Checking the ability to prioritize processes with chrt... yes - good
Checking kernel support for high resolution timers... found - good
Kernel with Real-Time Preemption... found - good
Checking if kernel system timer is high-resolution... found - good
Checking kernel support for tickless timer... found - good
== Other checks ==
Checking filesystem types... ok.
ok.
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.
jonathanbrickman0000
Established Member
Posts: 8
Joined: Sun Nov 27, 2011 10:03 pm
Location: Topeka, Kansas, USA
Contact:

Re: Arch based audio distro

Post by jonathanbrickman0000 »

Do you have a folder /etc/sysctl.d or something close? If so, inside that folder create a file custom.conf , and put the lines in. I have been using the set below for a while, optimizes a number of things:

Code: Select all

net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_workaround_signed_windows=1
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_low_latency=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_mtu_probing=1
net.ipv4.tcp_frto=2
net.ipv4.tcp_frto_response=2
net.ipv4.tcp_congestion_control=illinois
net.core.rmem_default = 31457280
net.core.rmem_max = 12582912
net.core.wmem_default = 31457280
net.core.wmem_max = 12582912
net.core.somaxconn = 4096
net.core.netdev_max_backlog = 65536
net.core.optmem_max = 25165824
net.ipv4.tcp_mem = 65536 131072 262144
net.ipv4.udp_mem = 65536 131072 262144
net.ipv4.tcp_rmem = 8192 87380 16777216
net.ipv4.udp_rmem_min = 16384
net.ipv4.tcp_wmem = 8192 65536 16777216
net.ipv4.udp_wmem_min = 16384
net.ipv4.tcp_max_tw_buckets = 1440000
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_synack_retries = 2
net.ipv4.ip_local_port_range = 2000 65535
net.ipv4.tcp_rfc1337 = 1
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_keepalive_time = 300
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_intvl = 15
vm.swappiness=20
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
fs.file-max = 2097152
fs.inotify.max_user_watches = 524288
Jonathan E. Brickman
http://lsn.ponderworthy.com
CrocoDuck
Established Member
Posts: 1133
Joined: Sat May 05, 2012 6:12 pm
Been thanked: 17 times

Re: Arch based audio distro

Post by CrocoDuck »

wayneward wrote:but i dont have a /etc/sysctl.conf ?! but i read that it maybe depreciated so maybe the realtimechecker script wants updating to this?
It is deprecated on Arch, probably working on other distributions. See here:

https://www.archlinux.org/news/deprecat ... ysctlconf/

That explains that now, on Arch, /etc/sysctl.d is the way to go, as explained by
jonathanbrickman0000 wrote:Do you have a folder /etc/sysctl.d or something close? If so, inside that folder create a file custom.conf , and put the lines in. I have been using the set below for a while, optimizes a number of things:
User avatar
Capoeira
Established Member
Posts: 1321
Joined: Tue May 12, 2009 1:01 pm
Location: Brazil
Has thanked: 3 times
Been thanked: 2 times

Re: Arch based audio distro

Post by Capoeira »

funkmuscle wrote:dunno if this was posted but y'all familiar with this?
http://www.audio-linux.com/
It's Arch based.

Code: Select all

AudioLinux is the first plug & play realtime audio system based on Archlinux with Xfce 4.x desktop and programmed IRQ and application priority
Audio latency at 192 kHz < 2,67 ms on Intel i5 processor and high quality USB audio interface
Audio latency at 44.1 kHz < 1 ms depending on hardware configuration.
Incredibly low processor latency (average 4-6 microseconds on recent Intel i7 processor )
Boot time 10/15 s
Minimize option for optimal audio system
Maximize option for audio/video
Choice between two realtime process priority configurations (Standard or Extreme)
RTIRQ for automatic IRQ priority assignement
RTAPP for automatic audio priority assignement
Compatible audio applications: HQPlayer and HQPlayer embedded (with optional CUDA acceleration), HQPlayer Network Audio Daemon, MPD (with optional upmpdcli UPnP media renderer), Logitech Media Server + Squeezelite-R2 with C-3PO plugin, Minimserver UPnP server, Kodi (XBMC), Deadbeef, Jriver Media Center, Roon.
Audiolinux can be configured as headless server (also with HQPlayer embedded)
Remote control with Unified Remote for smartphone
NoMachine and VNC server included for remote Desktop control. Now you can start headless without graphical Desktop and access audiolinux from smartphone or PC in a virtual Desktop identical to the default one!
AirPlay support with Shairport-sync (audio only)
Support for MCE remote 
seams you only need this to transform an Arch instal into Audio-Linux: https://aur.archlinux.org/packages/?SeB=m&K=blackhole
Post Reply