Even when I enable realtime schedule in daemon.conf, it seems like
PulseAudio is not getting realtime scheduling applied.  Here's the
initial output from when I run pulseaudio -vv with the realtime enabled:

pulseaudio -vv 
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root priviliges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
D: main.c: Started as real root: no, suid root: yes
I: main.c: We're in the group 'pulse-rt', allowing high-priority scheduling.
I: main.c: We're in the group 'pulse-rt', allowing real-time scheduling.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: core-util.c: Successfully gained nice level -11.
W: main.c: RLIMIT_RTPRIO failed: Operation not permitted
D: main.c: Can realtime: yes, can high-priority: yes
W: ltdl-bind-now.c: Failed to find original dlopen loader.
I: main.c: This is PulseAudio 0.9.12
D: main.c: Compilation host: i486-pc-linux-gnu
D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O2 -Wall -W -Wextra -pedantic 
-pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wconversion -Wundef 
-Wformat -Wlogical-op -Wpacked -Wformat-security -Wmissing-include-dirs 
-Wformat-nonliteral -Wold-style-definition -Wdeclaration-after-statement 
-Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes 
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith 
-Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math
D: main.c: Running on host: Linux i686 2.6.27-3-generic #1 SMP Wed Sep 10 
16:02:00 UTC 2008
I: main.c: Page size is 4096 bytes
D: main.c: Compiled with Valgrind support: no
D: main.c: Optimized build: yes
I: main.c: Machine ID is 26488061d7a163866298020046345cbd.
I: main.c: Using runtime directory 
/home/dana/.pulse/26488061d7a163866298020046345cbd:runtime.
I: main.c: Using state directory /home/dana/.pulse.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!

... and here's the output of "schedtool `pidof pulseaudio`":
PID 30294: PRIO   0, POLICY N: SCHED_NORMAL  , NICE -11

-- 
[PPA 0.9.12 regression], Wakeup from ALSA!, Underruns > rewinds
https://bugs.launchpad.net/bugs/268891
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to