Re: [LAU] how to inable real time sheaduling for audio work?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Friday, September 7, 2012 - 3:19 am

On Fri, 07 Sep 2012 04:31:36 +0200, Ralf Mardorf
wrote:

> On Fri, 2012-09-07 at 01:34 +0100, trahern culver wrote:

In short, if you want to get realtime scheduling with jack, install jackd
and linux-lowlatency, and add yourself to audio group.

The ubuntustudio meta packages will only install software, and will not
enable realtime privilege
To do that, you need to do two things. First, answer yes when asked about
it when installing jackd. (To double check, make sure the file
/etc/security/limits.d/audio.conf is not named
/etc/security/limits.d/audio.conf.disabled. If so, rename it).
The second required step is to add the user to audio group, which can be
done with: sudo usermod -a -G audio $USER.

Remember to reboot.

> some optimization still might be needed. If they shouldn't install the

The threadirqs option is only required for the linux-generic kernel, since
it's hardcoded into linux-lowlatency.
This is needed if you are going to be using the rtirq-init package, which
includes the rtirq script.
If wanting to add threadirqs manually, a simple way to add it for all
kernels is in the file /etc/default/grub.
Just add threadirqs to the line:
GRUB_CMDLINE_LINUX=""
so it reads:
GRUB_CMDLINE_LINUX="threadirqs"

> Regards,

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] how to inable real time sheaduling for audio work?, trahern culver, (Fri Sep 7, 12:34 am)
Re: [LAU] how to inable real time sheaduling for audio work?, Kaj Ailomaa, (Fri Sep 7, 3:19 am)