Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:system_build [2023/12/12 17:22] – [Liquorix kernel] autostaticwiki:system_build [2024/01/12 09:43] (current) – [System settings] autostatic
Line 1: Line 1:
 ====== Build a Linux audio system ====== ====== Build a Linux audio system ======
  
-A minimal, basic and KISS manual on how to build a Linux audio system. This manual comprises installation and configuration of a Linux audio system based on Debian 12 with a XFCE desktop environment and a Liquorix kernel.+A minimal, basic and KISS manual on how to build a Linux audio system. This manual comprises installation and configuration of a Linux audio system based on Debian 12 with a XFCE desktop environment.
 ===== Hardware ===== ===== Hardware =====
 This manual assumes you're on a X86_64 platform. Any notebook or desktop computer using this platform should work but bear in mind that the more powerful your computer, the better it will run a Linux audio system. Linux audio applications and plugins can be very resource intensive so the more CPU and memory, the better. Using an Solid State Drive (SSD) as the main hard drive is also recommended. This manual assumes you're on a X86_64 platform. Any notebook or desktop computer using this platform should work but bear in mind that the more powerful your computer, the better it will run a Linux audio system. Linux audio applications and plugins can be very resource intensive so the more CPU and memory, the better. Using an Solid State Drive (SSD) as the main hard drive is also recommended.
Line 10: Line 10:
  
 ===== Operating system ===== ===== Operating system =====
-{{https://www.debian.org/Pics/debian-logo-1024x576.png?200 }} This manual starts from a standard Debian 12 "Bookworm" installation with XFCE installed from a live CD.+{{https://www.debian.org/Pics/debian-logo-1024x576.png?200 }} This manual starts from a standard Debian 12 "Bookworm" installation with XFCE installed from a live install image.
  
 ==== Download the operating system ==== ==== Download the operating system ====
Line 53: Line 53:
   mitigations=off usbcore.autosuspend=-1 threadirqs   mitigations=off usbcore.autosuspend=-1 threadirqs
  
-You can do this with an editor as root, so with ''sudo vi''''sudo nano'' in a terminal session. Make sure the line looks like this now:+You can do this with an editor as root, so with ''sudo vi'' or ''sudo nano'' in a terminal session. Make sure the line looks like this now:
   GRUB_CMDLINE_LINUX="mitigations=off usbcore.autosuspend=-1 threadirqs"   GRUB_CMDLINE_LINUX="mitigations=off usbcore.autosuspend=-1 threadirqs"
  
Line 92: Line 92:
 ==== User settings ==== ==== User settings ====
 Add your user to the audio group. Add your user to the audio group.
-  sudo usermod -a -G youruser audio+  sudo usermod -a -G audio youruser
   newgrp audio   newgrp audio
  
Line 106: Line 106:
  
 ==== System settings ==== ==== System settings ====
-The easiest option to finish up setting your system when starting it up is with a script in ''/usr/local/bin'' that you call as a service through systemd. Name the script something like ''rt-audio-setup'' and make sure it contains at least the following lines:+The easiest option to finish up setting your system when starting it up is with a script in ''/usr/local/sbin'' that you call as a service through systemd. Name the script something like ''rt-audio-setup'' and make sure it contains at least the following lines:
   # Disable CPU frequency scaling   # Disable CPU frequency scaling
   systemctl mask ondemand   systemctl mask ondemand
Line 118: Line 118:
   [Service]   [Service]
   Type=oneshot   Type=oneshot
-  ExecStart=/usr/local/bin/rt-audio-setup+  ExecStart=/usr/local/sbin/rt-audio-setup
      
   [Install]   [Install]
Line 159: Line 159:
 This will install the latest Liquorix kernel available. Reboot to start your system with the Liquorix kernel. This will install the latest Liquorix kernel available. Reboot to start your system with the Liquorix kernel.
  
-==== KX Studio packages ====+=== KX Studio packages ===
 {{:wiki:kxstudio.jpg?200 }}The KX Studio repositories contain a lot of audio applications and plugins not available in the default repositories. Instructions can be found here: https://kx.studio/Repositories {{:wiki:kxstudio.jpg?200 }}The KX Studio repositories contain a lot of audio applications and plugins not available in the default repositories. Instructions can be found here: https://kx.studio/Repositories
  
 Installing the kxstudio-default-settings package is not necessary, in fact, given the age and content of this package it might be better to not install it at all. Installing the kxstudio-default-settings package is not necessary, in fact, given the age and content of this package it might be better to not install it at all.
 +
 +Bear in mind the KX Studio repositories are showing their age and that the versioning of the packages uses a higher [[https://www.debian.org/doc/debian-policy/ch-controlfields.html#version|epoch]] than their Debian or Ubuntu counterparts (if those exist). This prevents newer versions in the default repositories to not get installed or update over packages already installed from KX Studio.
  
 ===== Wrapping it up ===== ===== Wrapping it up =====
wiki/system_build.1702398145.txt.gz · Last modified: 2023/12/12 17:22 by autostatic