Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:system_build [2023/10/23 09:46] – [Hardware] autostatic | wiki:system_build [2024/07/15 11:29] (current) – [Optional parts] Removed KXStudio bits 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 | + | 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:// | + | {{https:// |
==== Download the operating system ==== | ==== Download the operating system ==== | ||
Line 36: | Line 36: | ||
Install the following packages from the default Debian repositories: | Install the following packages from the default Debian repositories: | ||
* rtirq-init | * rtirq-init | ||
- | * vlc | ||
* a2jmidid | * a2jmidid | ||
- | * htop | ||
- | * usbutils (when using an USB audio interface) | ||
They can be installed in one go: | They can be installed in one go: | ||
- | sudo apt install rtirq-init | + | sudo apt install rtirq-init a2jmidid |
+ | |||
+ | Select " | ||
- | Select " | ||
==== Boot settings ==== | ==== Boot settings ==== | ||
Line 54: | 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 '' | + | You can do this with an editor as root, so with '' |
GRUB_CMDLINE_LINUX=" | GRUB_CMDLINE_LINUX=" | ||
Line 93: | 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 | + | sudo usermod -a -G audio youruser |
newgrp audio | newgrp audio | ||
Line 107: | Line 106: | ||
==== System settings ==== | ==== System settings ==== | ||
- | The easiest option to finish up setting your system when starting it up is with a script in ''/ | + | The easiest option to finish up setting your system when starting it up is with a script in ''/ |
# Disable CPU frequency scaling | # Disable CPU frequency scaling | ||
systemctl mask ondemand | systemctl mask ondemand | ||
Line 119: | Line 118: | ||
[Service] | [Service] | ||
Type=oneshot | Type=oneshot | ||
- | ExecStart=/ | + | ExecStart=/ |
| | ||
[Install] | [Install] | ||
Line 150: | Line 149: | ||
After having adjusted these settings restart '' | After having adjusted these settings restart '' | ||
- | ==== Liquorix kernel | + | ==== Optional parts ==== |
+ | === Liquorix kernel === | ||
{{https:// | {{https:// | ||
curl -s -O " | curl -s -O " | ||
Line 158: | Line 158: | ||
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 ==== | ||
- | {{: | ||
- | |||
- | 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. | ||
===== Wrapping it up ===== | ===== Wrapping it up ===== | ||
Line 168: | Line 163: | ||
To check if the most important conditions for a well working Linux audio system are met you could run the rtcqs script, see [[wiki: | To check if the most important conditions for a well working Linux audio system are met you could run the rtcqs script, see [[wiki: | ||
+ | |||
+ | ===== Support ===== | ||
+ | Got questions? You can always ask at https:// |