REALTIME PRIORITY CONFIGURATION
In Audiolinux realtime priority is assigned by 2 services: rtirq for irq priority and rtapp for application priority.
1) RTIRQ configuration
The default configuration file is /etc/rtirq.conf
The important section is this one
In the default configuration it will give the defined priority to all usb devices. This is not a good choice if you have other USB equipment connected to your computer.
To check the realtime priorities you can use rtstatus. For example:
[audiolinux@archlinux ~]$ rtstatus
As you can see we have here multiple devices at irq 20, 23 and 25 with
high priority, but only one is connected to the DAC.
To know the irq of your DAC, you can type rtcards. In this example:
USB INTERRUPTS AND DEVICES
USB1 IRQ=20 EHCI Host Controller
USB2 IRQ=25 a096, c077, HP Color LaserJet Pro M252dw, Logitech USB Optical Mouse, SA9023 USB Audio, USB Keyboard, USB Keyboard Consumer Control, USB Keyboard Keyboard, USB Keyboard System Control, USB Optical Mouse, xHCI Host Controller
USB3 IRQ=23 EHCI Host Controller
USB4 IRQ=25 Elements 25A1, xHCI Host Controller
In this case the DAC (SA9023 USB Audio) is at irq 25, more specifically
irq/25-xhci_hcd. Because of this we will change the rtirq.conf
This way the max. priority specified in the configuration file will be given only to the DAC.
If you are using your computer as a server for a second remote computer as NAA, the DAC will not be attached to the the first. It could be a good idea to give high priority to the network interface. In our example:
In case of a NETWORK BRIDGE you will use the interface connected to the NAA, not the one connected to internet network.
In the second computer (NAA) you can use the previous configuration
2) RTAPP configuration
Please read first the readme at /usr/share/doc/rtapp/readme.txt
The default configuration file is /etc/rtapp/rtapp.conf
mpd hqplayer hqplayerd RoonAppliance RoonBridge sox mediacenter24
networkaudiod deadbeef a2jmidid ardour-5.12.0 rosegarden audacity"
In general you don't need to modify the list
of applications, but if you are using Roon as control point for
HQPlayer, the real player would be the last one, so we suggest to
remove RoonAppliance from that list. This is true in general if
you are using one of the applications in the list only as a
You can add a new application to the list,
if you want to apply realtime priority to another application.