[pulseaudio-discuss] daemon ping-pongs the sink port

Tony Bernardin sarusama at gmail.com
Sat Dec 3 10:56:18 PST 2011


Sorry for the late reply, email was not available to me yesterday. Here is
the -vvvv output of the periodic messages:

D: [pulseaudio] alsa-jack-inputdev.c: jack_report: name HDA Intel PCH
Headphone event type 5 code 2 value 1
D: [pulseaudio] device-port.c: Setting port analog-output-headphones to
status yes
D: [pulseaudio] module-switch-on-port-available.c: finding port
analog-output-headphones
D: [alsa-sink] alsa-mixer.c: Activating path analog-output-headphones
D: [alsa-sink] alsa-mixer.c: Path analog-output-headphones (Analog
Headphones), direction=1, priority=90, probed=yes, supported=yes,
has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=64,
min_dB=-179, max_dB=0
D: [alsa-sink] alsa-mixer.c: Element Master, direction=1, switch=1,
volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=yes
D: [alsa-sink] alsa-mixer.c: Element Headphone, direction=1, switch=1,
volume=1, volume_limit=-1, enumeration=0, required=4, required_any=0,
required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
D: [alsa-sink] alsa-mixer.c: Element Front, direction=1, switch=1,
volume=3, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x6, n_channels=2, override_map=no
D: [alsa-sink] alsa-mixer.c: Element Surround, direction=1, switch=2,
volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x6, n_channels=2, override_map=no
D: [alsa-sink] alsa-mixer.c: Element Center, direction=1, switch=2,
volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=no
D: [alsa-sink] alsa-mixer.c: Element LFE, direction=1, switch=2, volume=2,
volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=no
D: [alsa-sink] alsa-mixer.c: Element PCM, direction=1, switch=0, volume=1,
volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
I: [alsa-sink] alsa-sink.c: Successfully enabled synchronous volume.
I: [alsa-sink] alsa-sink.c: Hardware volume ranges from -179.00 dB to 0.00
dB.
I: [alsa-sink] alsa-sink.c: Fixing base volume to 0.00 dB
I: [alsa-sink] alsa-sink.c: Using hardware volume control. Hardware dB
scale supported.
I: [alsa-sink] alsa-sink.c: Using hardware mute control.
D: [alsa-sink] alsa-sink.c: Requested volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c:            in dB: 0: 0.00 dB 1: 0.00 dB
D: [alsa-sink] alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c:               in dB: 0: 0.00 dB 1: 0.00 dB
D: [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100%
(accurate-enough=yes)
D: [alsa-sink] alsa-sink.c:                      in dB: 0: 0.00 dB 1: 0.00
dB
I: [pulseaudio] sink.c: Changed port of sink 1
"alsa_output.pci-0000_00_1b.0.analog-stereo" to analog-output-headphones
D: [alsa-sink] alsa-sink.c: Read hardware volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c:                in dB: 0: 0.00 dB 1: 0.00 dB
I: [pulseaudio] module-device-restore.c: Restoring volume for sink
alsa_output.pci-0000_00_1b.0.analog-stereo.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [alsa-sink] alsa-sink.c: Requested volume: 0:  91% 1:  91%
D: [alsa-sink] alsa-sink.c:            in dB: 0: -2.54 dB 1: -2.54 dB
D: [alsa-sink] alsa-sink.c: Got hardware volume: 0:  91% 1:  91%
D: [alsa-sink] alsa-sink.c:               in dB: 0: -2.40 dB 1: -2.40 dB
D: [alsa-sink] alsa-sink.c: Calculated software volume: 0:  99% 1:  99%
(accurate-enough=yes)
D: [alsa-sink] alsa-sink.c:                      in dB: 0: -0.14 dB 1:
-0.14 dB
D: [alsa-sink] sink.c: Volume going down to 59454 at 2527478148
D: [alsa-sink] sink.c: Volume change to 59454 at 2527478148 was written
8012 usec late
I: [pulseaudio] module-device-restore.c: Restoring mute state for sink
alsa_output.pci-0000_00_1b.0.analog-stereo.
D: [alsa-sink] alsa-sink.c: Written HW volume did not match with the
request: 0:  91% 1:  91% (request) != 0:  89% 1:  89%
D: [alsa-sink] alsa-sink.c:                                            in
dB: 0: -2.54 dB 1: -2.54 dB (request) != 0: -3.00 dB 1: -3.00 dB
D: [pulseaudio] alsa-jack-inputdev.c: jack_report: name HDA Intel PCH
Headphone event type 0 code 0 value 0
D: [pulseaudio] alsa-jack-inputdev.c: jack_report: name HDA Intel PCH
Headphone event type 5 code 2 value 0
D: [pulseaudio] device-port.c: Setting port analog-output-headphones to
status no
D: [pulseaudio] module-switch-on-port-available.c: finding port
analog-output-headphones
D: [alsa-sink] alsa-mixer.c: Activating path analog-output
D: [alsa-sink] alsa-mixer.c: Path analog-output (Analog Output),
direction=1, priority=99, probed=yes, supported=yes, has_mute=yes,
has_volume=yes, has_dB=yes, min_volume=0, max_volume=64, min_dB=-179,
max_dB=0
D: [alsa-sink] alsa-mixer.c: Element Master, direction=1, switch=1,
volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=yes
D: [alsa-sink] alsa-mixer.c: Element Headphone, direction=1, switch=1,
volume=3, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x6, n_channels=2, override_map=no
D: [alsa-sink] alsa-mixer.c: Element Front, direction=1, switch=1,
volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x6, n_channels=2, override_map=yes
D: [alsa-sink] alsa-mixer.c: Element Surround, direction=1, switch=1,
volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x60, n_channels=2, override_map=yes
D: [alsa-sink] alsa-mixer.c: Element Center, direction=1, switch=1,
volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x4900000000018, n_channels=1, override_map=yes
D: [alsa-sink] alsa-mixer.c: Element LFE, direction=1, switch=1, volume=1,
volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x80, n_channels=1, override_map=yes
D: [alsa-sink] alsa-mixer.c: Element PCM, direction=1, switch=0, volume=1,
volume_limit=-1, enumeration=0, required=0, required_any=0,
required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
I: [alsa-sink] alsa-sink.c: Successfully enabled synchronous volume.
I: [alsa-sink] alsa-sink.c: Hardware volume ranges from -179.00 dB to 0.00
dB.
I: [alsa-sink] alsa-sink.c: Fixing base volume to 0.00 dB
I: [alsa-sink] alsa-sink.c: Using hardware volume control. Hardware dB
scale supported.
I: [alsa-sink] alsa-sink.c: Using hardware mute control.
D: [alsa-sink] alsa-sink.c: Requested volume: 0:  91% 1:  91%
D: [alsa-sink] alsa-sink.c:            in dB: 0: -2.54 dB 1: -2.54 dB
D: [alsa-sink] alsa-sink.c: Got hardware volume: 0:  91% 1:  91%
D: [alsa-sink] alsa-sink.c:               in dB: 0: -2.40 dB 1: -2.40 dB
D: [alsa-sink] alsa-sink.c: Calculated software volume: 0:  99% 1:  99%
(accurate-enough=yes)
D: [alsa-sink] alsa-sink.c:                      in dB: 0: -0.14 dB 1:
-0.14 dB
I: [pulseaudio] sink.c: Changed port of sink 1
"alsa_output.pci-0000_00_1b.0.analog-stereo" to analog-output
D: [alsa-sink] alsa-sink.c: Read hardware volume: 0:  89% 1:  89%
D: [alsa-sink] alsa-sink.c:                in dB: 0: -3.00 dB 1: -3.00 dB
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
I: [pulseaudio] module-device-restore.c: Restoring volume for sink
alsa_output.pci-0000_00_1b.0.analog-stereo.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [alsa-sink] alsa-sink.c: Requested volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c:            in dB: 0: 0.00 dB 1: 0.00 dB
D: [alsa-sink] alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c:               in dB: 0: 0.00 dB 1: 0.00 dB
D: [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100%
(accurate-enough=yes)
D: [alsa-sink] alsa-sink.c:                      in dB: 0: 0.00 dB 1: 0.00
dB
D: [alsa-sink] sink.c: Volume going up to 65536 at 2527515460
I: [pulseaudio] module-device-restore.c: Restoring mute state for sink
alsa_output.pci-0000_00_1b.0.analog-stereo.
D: [pulseaudio] alsa-jack-inputdev.c: jack_report: name HDA Intel PCH
Headphone event type 0 code 0 value 0
D: [pulseaudio] protocol-native.c: Client indicator-sound-service changes
volume of sink alsa_output.pci-0000_00_1b.0.analog-stereo.
D: [alsa-sink] alsa-sink.c: Requested volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c:            in dB: 0: 0.00 dB 1: 0.00 dB
D: [alsa-sink] alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c:               in dB: 0: 0.00 dB 1: 0.00 dB
D: [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100%
(accurate-enough=yes)
D: [alsa-sink] alsa-sink.c:                      in dB: 0: 0.00 dB 1: 0.00
dB
D: [alsa-sink] sink.c: Volume going up to 65536 at 2527518452
D: [alsa-sink] sink.c: Volume change to 65536 at 2527515460 was dropped
D: [alsa-sink] sink.c: Volume change to 65536 at 2527518452 was written 20
usec late

If I look at the volume bar in any of the volume apps I can see the slider
jump around reflecting the numbers shown in the output above (100%, 91% or
89%).

As I said I'm not necessarily blaming the software, it could be a hardware
defect, but that's what I would like to find out. Any ideas of what I could
check next?

Thanks!


On Fri, Dec 2, 2011 at 1:44 AM, Maarten Bosmans <mkbosmans at gmail.com> wrote:

> 2011/12/2 Tony Bernardin <sarusama at gmail.com>:
> > Sorry if I'm posting this question in the wrong list. I've been trying to
> > search for this issue, but have been unsuccessful so far with not even a
> > hint at what I could try to get to the bottom of this. I'm not very
> familiar
> > with the sound system.
> >
> > The symptom: regular hiccup in the sound output.
> >
> > What I've found:
> > launching the pulseaudio daemon with -v showed that it is constantly
> > changing the port of the sync:
> >
> > I: [pulseaudio] sink.c: Changed port of sink 1
> > "alsa_output.pci-0000_00_1b.0.analog-stereo" to analog-output
> > I: [pulseaudio] module-device-restore.c: Restoring volume for sink
> > alsa_output.pci-0000_00_1b.0.analog-stereo.
> > I: [pulseaudio] module-device-restore.c: Restoring mute state for sink
> > alsa_output.pci-0000_00_1b.0.analog-stereo.
> > I: [alsa-sink] alsa-sink.c: Successfully enabled synchronous volume.
> > I: [alsa-sink] alsa-sink.c: Hardware volume ranges from -179.00 dB to
> 0.00
> > dB.
> > I: [alsa-sink] alsa-sink.c: Fixing base volume to 0.00 dB
> > I: [alsa-sink] alsa-sink.c: Using hardware volume control. Hardware dB
> scale
> > supported.
> > I: [alsa-sink] alsa-sink.c: Using hardware mute control.
> > I: [pulseaudio] sink.c: Changed port of sink 1
> > "alsa_output.pci-0000_00_1b.0.analog-stereo" to analog-output-headphones
> > I: [pulseaudio] module-device-restore.c: Restoring volume for sink
> > alsa_output.pci-0000_00_1b.0.analog-stereo.
> > I: [pulseaudio] module-device-restore.c: Restoring mute state for sink
> > alsa_output.pci-0000_00_1b.0.analog-stereo.
> > I: [alsa-sink] alsa-sink.c: Successfully enabled synchronous volume.
> > I: [alsa-sink] alsa-sink.c: Hardware volume ranges from -179.00 dB to
> 0.00
> > dB.
> > I: [alsa-sink] alsa-sink.c: Fixing base volume to 0.00 dB
> > I: [alsa-sink] alsa-sink.c: Using hardware volume control. Hardware dB
> scale
> > supported.
> > I: [alsa-sink] alsa-sink.c: Using hardware mute control.
> >
> > I noticed this also reflected in the "sound settings", and the port
> changes
> > coincide with the hiccups.
> >
> > This is on up-to-date Ubuntu 11.10, where I believe the pulseaudio
> version
> > 1.0. The underlying hardware is Intel HD audio that is integrated on the
> Z68
> > motherboard.
> >
> > I'd greatly appreciate any suggestions as how I could get to the bottom
> of
> > this issue? Maybe it's not pulseaudio's fault, but I don't know what
> > configures these ports.
>
> Interesting. Can you provide the full output of pulseaudio -vvvv when
> this happens a couple of times?
>
> Maarten
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20111203/6db78dc7/attachment.htm>


More information about the pulseaudio-discuss mailing list