[pulseaudio-tickets] [Bug 95150] Multiple PulseAudio instances on Ubuntu 15.10

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 28 06:02:22 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95150

--- Comment #9 from Lu, Han <han.lu at intel.com> ---
(In reply to Tanu Kaskinen from comment #7)
> Is pulseaudio the normal Ubuntu version? netstat shows that pulseaudio isn't
> listening on any sockets, which is weird, because pulseaudio startup should
> fail if loading module-native-protocol-unix fails. (But then again, it's
> already very weird that there are multiple instances running.)

The system is newly installed Ubuntu 15.10 without any change on pulseaudio,
just the kernel be updated to a newer commit on drm-intel repo. The Ubuntu
image is Intel internally shared revision.

> 
> Does /run/user/1000/pulse/pid exist? If it does, does the pid in that file
> correspond to any of the running pulseaudio processes? (Replace 1000 in the
> file path with the uid of the "test" user.)

With original kernel of Ubuntu, only 1 pulseaudio process is observed, and the
pid matches /run/user/119/pulse/pid.
With new kernel, after boot up, multiple pulseaudio processes are observed,
there's no folder besides 1000/ on /run/user/, and /run/user/1000/pulse/ is not
existing. A few minutes later, /run/user/1000/pulse/pid appears and the value
matches one of the pulseaudio processes. Still no other folders besides 1000/
on /run/user/.

> 
> After answering those questions, add this to
> /home/test/.config/pulse/client.conf:
> 
> extra-arguments = --log-target=newfile:/tmp/pulse.log --log-level=debug
> 
> Then reboot. /tmp should now contain a log file for each of the started
> instances. Please attach them here.

Please find logs attached. And please notice it looks there are 2 phases after
boot up: 
(1) in a few minutes after boot up, the /tmp/pulse.log has only 4 lines:
  D: [pulseaudio] conf-parser.c: Parsing configuration file
'/home/test/.config/pulse/client.conf'
  I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation
not permitted
  I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation
not permitted
  D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
commands such as "alsamixer" and "aplay -l" does not respond;
(2) a few more minutes later, more contents appears on /tmp/pulse.log and
commands such as "alsamixer" and "aplay -l" works normal. Yet multiple
pulseaudio processes are existing at this time.

/home/test/.config/pulse/client.conf did not exists, and I created one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160428/5582a7f2/attachment-0001.html>


More information about the pulseaudio-bugs mailing list