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
Next revisionBoth sides next revision
wiki:system_configuration [2021/03/05 12:51] – [Disabling resource-intensive daemons, services and processes] autostaticwiki:system_configuration [2022/04/30 19:30] – [How do I build a real-time audio workstation on Linux?] autostatic
Line 9: Line 9:
 The [[https://manual.ardour.org/setting-up-your-system/the-right-computer-system-for-digital-audio/|Ardour manual]] has a interesting introduction about getting the right computer system for digital audio. Below that article there is also a (somewhat Windows oriented) [[https://www.youtube.com/watch?v=GUsLLEkswzE| video]] by Richard Ames, which could be helpful to get a idea which things are involved for this topic. Summary: lots of things are involved for a well performing real-time audio workstation. It's not simply a matter of buying a computer with massive CPU and memory power, as the coming sections on this page shows. The [[https://manual.ardour.org/setting-up-your-system/the-right-computer-system-for-digital-audio/|Ardour manual]] has a interesting introduction about getting the right computer system for digital audio. Below that article there is also a (somewhat Windows oriented) [[https://www.youtube.com/watch?v=GUsLLEkswzE| video]] by Richard Ames, which could be helpful to get a idea which things are involved for this topic. Summary: lots of things are involved for a well performing real-time audio workstation. It's not simply a matter of buying a computer with massive CPU and memory power, as the coming sections on this page shows.
  
-A good starting point for optimizing your system for real-time audio on GNU/Linux, is the QuickScan script below (as a newbie you might want to ignore the hardware timers settings first).+A good starting point for optimizing your system for real-time audio on GNU/Linux, is the rtcqs script below.
  
-After adjusting your system using the recommendations of the QuickScan and with JACK (QjackCtl) and a2jmidid installed, the basics should be there for a well performing real-time audio system (depending on your hardware too of course). +After adjusting your system using the recommendations of rtcqs and with JACK (QjackCtl) and a2jmidid installed, the basics should be there for a well performing real-time audio system (depending on your hardware too of course). 
 ==== Preliminary ==== ==== Preliminary ====
  
Line 21: Line 21:
 This way you can restore the original file in the case you made such a typo that the system has become unbootable. The procedure of recovering an unbootable system itself is beyond the scope of this Wiki but there are plenty of resources that explain this in detail. This way you can restore the original file in the case you made such a typo that the system has become unbootable. The procedure of recovering an unbootable system itself is beyond the scope of this Wiki but there are plenty of resources that explain this in detail.
  
-==== QuickScan ====+==== rtcqs ====
  
-The [[https://github.com/raboof/realtimeconfigquickscan|realTimeConfigQuickScan]] script automatically analyzes your current configuration. This script will make configuration suggestions based on your current setup and link to the relevant sections on this page for background information.+The [[https://codeberg.org/rtcqs/rtcqs|rtcqs]] script automatically analyzes your current configuration. This script will make configuration suggestions based on your current setup and link to the relevant sections on this page for background information.
  
-To get the script install [[http://en.wikipedia.org/wiki/Git_%28software%29|Git]] first and then pull in the script: +To get the script install [[https://en.wikipedia.org/wiki/Git_%28software%29|Git]] first and then pull in the script: 
-  git clone git://github.com/raboof/realtimeconfigquickscan.git +  git clone https://codeberg.org/rtcqs/rtcqs.git 
-  cd realtimeconfigquickscan +  cd rtcqs 
-  perl ./realTimeConfigQuickScan.pl+  ./rtcqs.py
  
-Discuss this script at the [[http://linuxmusicians.com/viewtopic.php?f=27&t=452|LinuxMusicians Forum]]+Discuss this script at the [[https://linuxmusicians.com/viewtopic.php?f=24&t=24000|LinuxMusicians Forum]]
  
 ==== The kernel ==== ==== The kernel ====
Line 254: Line 254:
   echo -n performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor   echo -n performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
  
-Another option is to create a Systemd Unit that does this for you. Example of an audio-setup Unit file:+Another option is to create a Systemd Unit that does this for you. Example of an audio-setup Unit file, create as /etc/systemd/system/audio-setup.service:
   [Unit]   [Unit]
   Description=Prepare system for audio   Description=Prepare system for audio
Line 260: Line 260:
   [Service]   [Service]
   Type=oneshot   Type=oneshot
-  ExecStart=/usr/local/bin/audio-setup+  ExecStart=/bin/bash /usr/local/bin/audio-setup
   RemainAfterExit=yes   RemainAfterExit=yes
      
Line 276: Line 276:
 == Ubuntu == == Ubuntu ==
  
-On Ubuntu systems the command in your ''/etc/rc.local'' file only works if you disable the ondemand service:+On Ubuntu systems the command in your ''/etc/rc.local'' or ''/usr/local/bin/audio-setup'' file only works if you disable the ondemand service:
   sudo systemctl mask ondemand.service   sudo systemctl mask ondemand.service
  
wiki/system_configuration.txt · Last modified: 2024/01/13 15:00 by autostatic