Another bit of data.  I set "autospawn = no" in my ~/.pulse/client.conf,
killed the current pulseaudio process and started "pulseaudio -vvvvv".
I did this for both users.

Unfortunately, I didn't find anything interesting. pulseaudio logs
something like the follow regardless of whether the sound ends up
working or not.  This is consistent with fuser showing that the user on
the active console has the pcm device open whether or not the sound is
working.  The follow is what pulse audio prints out between when I
switch away from a user and when I switch back the user (either directly
or via another console to make the sound work).

...
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: no
D: sink.c: Suspend cause of sink alsa_output.pci-0000_00_1b.0.analog-stereo is 
0x0008, suspending
I: alsa-sink.c: Device suspended...
D: reserve-wrap.c: Device lock status of reserve-monitor-wrap...@audio0 
changed: not busy
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: no
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: no
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: sink.c: Suspend cause of sink alsa_output.pci-0000_00_1b.0.analog-stereo is 
0x0000, resuming
D: reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0'
I: alsa-sink.c: Trying resume...
D: alsa-util.c: Maximum hw buffer size is 23777 ms
D: alsa-util.c: Set buffer size first (to 88192 samples), period size second 
(to 44096 samples).
D: alsa-sink.c: Latency set to 90.00ms
D: alsa-sink.c: hwbuf_unused=336892
D: alsa-sink.c: setting avail_min=85106
I: alsa-sink.c: Resumed successfully...
I: alsa-sink.c: Starting playback.
W: ratelimit.c: 1128 events suppressed
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: reserve-wrap.c: Device lock status of reserve-monitor-wrap...@audio0 
changed: not busy
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes

-- 
Pulseaudio stops working when switching users
https://bugs.launchpad.net/bugs/649507
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