Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-27-2009, 10:17 PM   #1
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Rep: Reputation: 21
Should I ignore this pulseaudio log

Should I be ignoring this?, it says I can realtime: yes then continues to say, Real-time scheduling enabled in configuration but not allowed by policy

D: main.c: Started as real root: no, suid root: yes
I: main.c: PolicyKit grants us acquire-high-priority privilege.
I: main.c: PolicyKit grants us acquire-real-time privilege.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: main.c: Can realtime: yes, can high-priority: yes
I: main.c: Giving up CAP_NICE
I: main.c: Real-time scheduling enabled in configuration but not allowed by policy.
D: main.c: Can realtime: no, can high-priority: no
I: main.c: Daemon running as PID 4060
Old 10-28-2009, 05:38 AM   #2
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi, Do you have /etc/set_rlimits configured for the program you want to use?

# Configuration file for set_rlimits.  Format is:
#   name   program   max_nice_priority  max_realtime_priority
# or
#   name   program   <key>=<value> ...
# name is expected to be a username, a groupname if preceeded by a @ sign,
# or ALL (which matches all users).  Negative priorities effectively
# disallow any setting of the respective priority for the matching entry.
# <key> can be rtprio, nice or memlock.
# Example entry:
#   mark  /usr/local/bin/jackd  -1  80
# Here, user mark can execute /usr/local/bin/jackd using set_rlimits to set
# a realtime priority up to and including 80, but setting of a nice priority
# through set_rlimits is disallowed.  Alternatively, if an `audio' group
# existed, the entry
#   @audio  /usr/local/bin/jackd  -1  80
# would allow the same except the permission would extend to all members of
# the `audio' group.  The same effect could be achieved with the key/value
# syntax:
#   @audio  /usr/local/bin/jackd  nice=-1  rtprio=80
# For more details on the format and use of this file please refer to
# the set_rlimits manual page.
@audio /usr/bin/jackd nice=-1 rtprio=99 memlock=100000
@audio /usr/bin/qjackctl nice=-1 rtprio=99 memlock=100000
@audio /usr/bin/ardour nice=-1 rtprio=88 memlock=400000
#@audio /
@audio /usr/bin/fluidsynth nice=-1 rtprio=87 memlock=100000
@audio /usr/bin/hydrogen nice=-1 rtprio=86 memlock=100000
@audio /usr/bin/rosegarden nice=-1 rtprio=85 memlock=100000
@audio /usr/bin/vkeydb nice=-1 rtprio=84 memlock=100000
@audio /usr/bin/qsynth nice=-1 rtprio=83 memlock=100000
#audio /usr/bin/jackd nice=-1 rtprio=82 memlock=100000
Hashed (#)lines are commented out of the script (bash etc).

You will also need to make your "user" a member of the audio group.
chgrp --help
see my blog for install info and tute if required...

Regards glenn

Last edited by GlennsPref; 10-28-2009 at 05:45 AM. Reason: Add blog for set_rlimits tute, make user part of audio group


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pulseaudio kde4 sycamorex Linux - Software 5 01-07-2010 04:32 PM
pulseaudio in fedora11 sycamorex Linux - Software 4 07-10-2009 12:22 PM
FC 8 , Pulseaudio no worky mickeyboa Fedora 2 03-30-2009 03:52 AM
[SOLVED] pulseaudio very quiet hoodooman Linux - Software 1 01-22-2009 12:45 PM
Pulseaudio RAFAL Linux - Software 7 08-23-2008 04:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration