37 lines
1.7 KiB
Markdown
37 lines
1.7 KiB
Markdown
### Enabling Realtime Scheduling
|
|
|
|
The TooB Convolution Reverb and TooB Cab IR effects require realtime scheduling to be enabled for the current user
|
|
in order process convolution data on background threads while audio is running in realtime.
|
|
|
|
The procedure for enabling realtime scheduling varies between Linux distributions.
|
|
|
|
Most modern distributions have the RTKIT DBus service, which allow programs to request realtime priority. But the restrictions imposed by the RTKIT
|
|
DBus service may prevent the TooB plugins from starting. RTKIT does have configuration options, but the procedure for configuring RTKIT is unusually difficult.
|
|
If TooB plugins exceed the limits imposed by RTKIT (or if the RTKIT service doesn't exist), the easiest solution is to grant realtime scheduling permissions to
|
|
the current user.
|
|
|
|
The native Linux scheduler calls require the user to have appropriate permissions. To grant permissions for the TooB plugins, make the following
|
|
modifications to your system.
|
|
|
|
On many Linux distros, any user of the audio group is granted realtime scheduling permissions. Check for files in the `/etc/limits.d/` directory named nn-audio.conf.
|
|
If such a file exists, open it to see which group has been granted permissions. There should be a lime simular to the following:
|
|
|
|
```
|
|
@audio - rtprio 95
|
|
```
|
|
|
|
If the file exists, add your user-id to the audio group, and reboot to make the change take effect.
|
|
|
|
To grant realtime scheduling permissions to your user-id , add the following line to `/etc/security/limits.conf`:
|
|
|
|
```
|
|
youruserid - rtprio 95
|
|
```
|
|
or add the following line to grant realtime scheduling permissions for all users:
|
|
```
|
|
* - rtprio 95
|
|
```
|
|
|
|
Once you have made the change, reboot to make the change take effect.
|
|
|