Re: insufficient privileges to utilize real-time scheduling (SCHED_FIFO)

Kai Vehmanen <[email protected]> Wed, 7 Oct 2015 19:53:55 +0300 (EEST)
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <[email protected]>
Hi,

On Tue, 6 Oct 2015, Nishant Prakash wrote:

> HI, I am trying to use Ecasound on Linux system to do recording but when I run the following command:ecasound -i alsa -o somefile.wav -c
> 
> I am getting this message and then it does nothing. 
[...]
> (eca-chainsetup) NOTE: Real-time configuration, but insufficient privileges to utilize real-time scheduling (SCHED_FIFO). With
> ... small buffersizes, this may cause audible glitches during processing.

that's not a fatal error. The recording is ongoing despite this warning. 
If you cannot hear anything in the resulting file, please check your 
mixer settings.

To adjust in real-time, run "ecasound -i alsa -o null -ev -c", issue 
"start" and then everytime you issue "cop-status" you get a amplitude
analysis. Adjust the mixer until "cop-status" starts showing you a signal.

For the real-time part, that depends on your distro. Most simple is to run 
as root, but that is not recommended. For instance on Ubuntu, following
is the best practise:
https://help.ubuntu.com/community/UbuntuStudioPreparation#Real-Time_Support

This allows to get more reliable recording during high load, but for 
casual use, not necessarily needed.

Br, Kai

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140

_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list