[darkice] Re: Compiling darkice 1.3 on Ubuntu 16.04.2 LTS

  • From: Hungerburg <pch13@xxxxxxxxx>
  • To: darkice@xxxxxxxxxxxxx
  • Date: Tue, 11 Apr 2017 22:24:06 +0200

Am 2017-04-11 um 21:28 schrieb Zidane Mokronosov (Redacted sender zidane.mokronosov for DMARC):

Thanks for the reply. My reason for running via sudo in the first
place goes back to a specific recommendation made to me some
time ago by ...:

You should absolutely run darkice as root.  It needs POSIX
real-time scheduling and that should not interfere with anything
else.

This was probably written way more than a decade or two ago or based on something that old; The limit can be lifted for ordinary users since ages - see eg. http://jackaudio.org/faq/linux_rt_config.html

Home directory /home/zidane not ours.

Of course: The process runs as a different user, yet in most of your environment; try "sudo env" to see it. You might have to tell sudo to change that, eg. sudo -i

and renice it by -20 if I get any audio skips or dropouts.

IIRC ordinary users can only increase niceness.

PS: Something like darkice can - IMO - hardly push current hardware (including raspberry pi on an otherwise idle system) in a way to require realtime efforts.

--
peter


Other related posts: