<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Multiple PulseAudio instances on Ubuntu 15.10"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95150#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Multiple PulseAudio instances on Ubuntu 15.10"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95150">bug 95150</a>
              from <span class="vcard"><a class="email" href="mailto:han.lu@intel.com" title="Lu, Han <han.lu@intel.com>"> <span class="fn">Lu, Han</span></a>
</span></b>
        <pre>(In reply to Tanu Kaskinen from <a href="show_bug.cgi?id=95150#c7">comment #7</a>)
<span class="quote">> 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.)</span >

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.

<span class="quote">> 
> 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.)</span >

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/.

<span class="quote">> 
> 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.</span >

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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>