Package Details: rtapp 1.1-1

Git Clone URL: https://aur.archlinux.org/rtapp.git (read-only, click to copy)
Package Base: rtapp
Description: Realtime application thread priority tuning
Upstream URL: https://www.audio-linux.com
Keywords: audio realtime
Licenses: custom
Submitter: blackhole
Maintainer: None
Last Packager: blackhole
Votes: 4
Popularity: 0.000000
First Submitted: 2015-01-24 15:45 (UTC)
Last Updated: 2022-09-25 14:25 (UTC)

Dependencies (5)

Sources (7)

Pinned Comments

blackhole commented on 2019-03-28 09:05 (UTC)

This application has a custom license "All rights reserved"

It can be installed for personal use, but cannot be included in commercial products without the explicit permission of developer.

blackhole commented on 2018-09-02 10:57 (UTC) (edited on 2022-01-11 14:14 (UTC) by blackhole)

Before running rtapp for the first time or after an upgrade, take a look at the config file located at /etc/rtapp/rtapp.conf and make sure the defaults are OK.

The old configuration file is saved automatically after an upgrade to /etc/rtapp/rtapp.conf.pacsave

To start rtapp you must first start the systemctl timer: systemctl start rtapp.timer

Then you can enable the service at boot: systemctl enable rtapp.timer

rtapp.timer will call rtapp.service in /usr/lib/systemd/system

rtapp will check the priority of audio applications every 60 seconds. If you want to change this please edit OnUnitActiveSec in /usr/lib/systemd/system/rtapp.timer

RTAPP Rtapp will monitor every minute applications defined in APPLICATIONS and will give FIFO priority defined in MAX_PRIORITY It can be configured in 3 modes: manual: the applications priority will have the value set in MAX_PRIORITY manualdec: same as manual but the priority will decrease by one step from the first to the last application auto: the value will be a step (RTIRQ_PRIO_DECR) under the minimum value of priority set by rtirq (this value depends on the number of items in RTIRQ_NAME_LIST and the number of audio hardware connected to the same USB bus) autodec: same as auto but the priority will decrease by one step from the first to the last application

Example:


Here you can list the applications that you want to give realtime priority

APPLICATIONS="jackd mpd hqplayer hqplayerd RoonAppliance RoonBridge sox mediacenter24 networkaudiod deadbeef a2jmidid ardour-5.12.0 rosegarden audacity"

Maximum value MAX_PRIORITY for application priority

MAX_PRIORITY="90"

MODE="autodec"


For the variables RTIRQ_PRIO_DECR, RTIRQ_PRIO_HIGH, RTIRQ_PRIO_DECR, RTIRQ_NAME_LIST see rtirq documentatio and rtirq configuration file /etc/rtirq.conf

RTAPP is designed for working with rtirq enabled: systemctl enable rtirq

RTSTATUS rtstatus will show the status of irq and applications realtime priorities.

RTCARDS It is very useful for checking if your audio card is sharing IRQ with another device since it is showing the Vendor and Product names (cat /proc/interrupts instead would be useless because it will not show cards names)

RTTEST rttest will show the latency of your system using first only cyclictest (STANDARD TEST) and after both hackbench and cyclictest (STRESS TEST). The package rt-tests is a dependency.

Latest Comments

« First ‹ Previous 1 2 3

blackhole commented on 2015-02-05 13:56 (UTC)

Before running rtapp, have a look at the config file located at /etc/rtapp/rtapp.conf and make sure the defaults are OK. -------------------------------- For the variables RTIRQ_PRIO_DECR, RTIRQ_PRIO_HIGH, RTIRQ_PRIO_DECR, RTIRQ_NAME_LIST see rtirq documentation. # Here you can list the applications that you want give realtime priority # jack and jackdbus shoud not be included in this list. APPLICATIONS="mpd hqplayer hqplayerd mediacenter20 networkaudiod deadbeef" # Maximum value MAX_PRIORITY for application priority. This must be (RTIRQ_PRIO_DECR + 1) < MAX_PRIORITY <= (RTIRQ_PRIO_HIGH - (RTIRQ_PRIO_DECR * <number of items in RTIRQ_NAME_LIST>)) MAX_PRIORITY="80" # manual: the applications priority will have the value set in MAX_PRIORITY # auto: the value will be a step (RTIRQ_PRIO_DECR) under the minimum value of priority set by rtirq (this value depends on the number of items in RTIRQ_NAME_LIST and the number of audio hardware connected to the same USB bus) # autodec: same as auto but the priority will decrease by one step from the first to the last application MODE="auto" ------------------------------- To start rtapp, you must first start the systemctl timer: # systemctl start rtapp.timer Then you can enable the service at boot: # systemctl enable rtapp.timer rtapp.timer will call rtapp.service in /usr/lib/systemd/system rtapp will check the priority of audio applications every 60 seconds. If you wanto to change this please edit OnUnitActiveSec in /usr/lib/systemd/system/rtapp.timer RTRESET rtreset will reset all real time priority (irq and applications) to SCHED_OTHER RTSTATUS rtstatus will show the status of irq and applications realtime priorities. It is also very useful for checking if your audio card is sharing IRQ with another device since it is showing the Vendor and Product names! (cat /proc/interrupts instead will be useless because it will not show cards names)