Re: [LAU] Linuxsampler says: " Thread: WARNING, can't assign realtime scheduling to thread!"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: lau <linux-audio-user@...>
Date: Friday, January 15, 2010 - 2:53 pm

Guru Prasad B. R. wrote:

After (quite!) a bit of trial and error, I figured out how to make the
realtime warning go away. Here's the new end of the
/etc/security/limits.conf file:
|@audio hard rtprio 50
@audio soft rtprio 30
@audio - rtprio 100
@audio - memlock unlimited
@audio - nice -19
# End of file
Not sure whether the 3 rtprio entries are necessary (result of copy
pasting from different howtos on the net...!). message no longer
appears. I look forward to better solutions.

But the xruns remained... until I found the culprit: qjackctl was
spiking CPU. Was about to complain to Rui, then found the source - it
was a python script that I had edited a few days ago... and was spewing
out dozens of warnings per second. Auto-launched from qjackctl, so the
message window was clogging up, and therefore the spikes..! Closed the
message window, and xruns dissappear.

On a side note, I now have ~5.2 ms latency on an old Celeron laptop,
with the vanilla kernel...! Linuxsampler + jackdmp has turned out to be
a rather stable combination. Am getting down to building a proper
realtime kernel, now....

Linux-audio-user mailing list

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

Messages in current thread:
[LAU] Linuxsampler says: " Thread: WARNING, can't assign rea..., Guru Prasad B. R., (Sun Jan 10, 5:37 pm)
Re: [LAU] Linuxsampler says: " Thread: WARNING, can't assign..., Guru Prasad B. R., (Fri Jan 15, 2:53 pm)