You are here

Add new comment

yPhil's picture

Hi everyone ! Hi Nuno !

Holidays are over, and a new version of my OS is out, yeah :) So I upgraded my main production rig from Mandriva 2010.2 to Mandriva 2011. On the plus side, mostly everything works and I could even compile the latest svn qtractor with a neat-looking collumn of "yes" flags :)
On the negative, I can't for the life of me allow myself to run with RT privileges. The dreaded

Cannot use real-time scheduling (RR/60)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error

greets me at each launch.

So googling my night away I stumbled upon your rtirq package (via this) and installed it by pointing the urpmi installer to

http://www.rncbc.org/jack/rtirq-20110314-26.noarch.rpm

And found that it installed two files :

Name : rtirq Relocations: (not relocatable)
Version : 20110314 Vendor: (none)
Release : 26 Build Date: Mon 14 Mar 2011 10:29:08 AM WET
Install Date: Wed 21 Sep 2011 01:42:35 PM Build Host: gamma.rncbc.lan
Group : System Environment/Base Source RPM: rtirq-20110314-26.src.rpm
Size : 9477 License: GPL
Signature : (none)
Packager : rncbc
Summary : Realtime IRQ thread system tunning.
Architecture: noarch
Description :
Startup scripts for tunning the realtime scheduling policy and priority
of relevant IRQ service threads, featured for a realtime-preempt enabled
kernel configuration.
/etc/init.d/rtirq
/etc/sysconfig/rtirq

Now my questions :

1-Does rtirq allow me to do Real-Time audio on a "normal" kernel ? (That would be really cool)
2-How should rtirq be launched (ie by what process, at what time) ? Because right now, after installing it and reboot,


[root@localhost px]# rtirq status
bash: rtirq: command not found

I'm testing under both the 2.6.38 kernel that came with my distro and a 3.0.3 that seem to work well too. The latest RT kernel that I have at hand is a 2.6.33 and it definitely won't boot.

I spent all morning googling about the new 3.0 kernel and found nothing about scheduling, let alone real time... Normally I get away with adding myself to the audio group, and managing this group RT rights via /etc/security/limits.conf but then again, I have to install a RT kernel. Now if I could find one, that would be fine, but even better would be to learn that I can now manage applications/devices RT rights with a vanilla kernel :)

(PRE-EDIT)
OK Before I clicked "Post" I re-read the config file :

# Configuration for IRQ thread tunning,
# for realtime-preempt enabled kernels.

I guess this message is moot now, at least the 1st question :(
I suppose I have to compile my kernel... Sight... Did not do it since LILO, and I remember, that never really worked so well for me... And I understand that I have to *patch* it before... Have I done something *reeaaly* bad this summer ? I must have.