You are not logged in.

#1 2016-12-14 14:14:42

Disco Dave
Member
Registered: 2014-12-31
Posts: 91

Staticy sound when Mumble Starts, PulseAudio

Hey guys! I've noticed that when I start mumble that all my sound has static and sounds bad.  It sometimes goes away if I stop everything from making any sound for a few minutes. I'm using Pulseaudio. I've never had any issues like this before, so I'm unsure of what else I should include in my post.

If anyone can help lead me in the right direction of how to solve this or even what may be causing this, that would be extremely helpful.

Thanks,

Offline

#2 2016-12-14 15:18:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: Staticy sound when Mumble Starts, PulseAudio

Post

sudo fuser -v /dev/snd/*
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

once before starting and once after starting mumble and reproducing the issue. Any configuration changes we might want to know about on pulse or ALSA's side?

What also might help is having a

journalctl -f --user-unit=pulseaudio

during that whole procedure running and pasting any output that might occur.

Offline

#3 2016-12-15 19:23:18

Disco Dave
Member
Registered: 2014-12-31
Posts: 91

Re: Staticy sound when Mumble Starts, PulseAudio

I do not remember if I have made changes to my configurations to pulse or alsa. So here are my pulse and alsa config file.

/etc/asound.conf

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

/etc/pulse/daemon.conf

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

exit-idle-time=0
; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = no

 flat-volumes = no

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0

/etc/pulse/default.pa

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/freedesktop/stereo/bell.oga
#load-sample-lazy pulse-hotplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-coldplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-access /usr/share/sounds/freedesktop/stereo/message.oga

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=x11-bell

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input
#
### Enable Echo/Noise-Cancelation
load-module module-echo-cancel

/etc/pulse/client.conf

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

autospawn = no
; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no

I then put your commands in a script in order of what you listed them and ran it before and after starting mumble

Before
fuser and pacmd commands

[sudo] password for disco: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  disco      1157 F.... pulseaudio
                     disco      1302 F.... xfce4-volumed
                     disco      1531 F.... panel-24-mixer
/dev/snd/controlC1:  disco      1157 F.... pulseaudio
                     disco      1302 F.... xfce4-volumed
                     disco      1531 F.... panel-24-mixer
/dev/snd/controlC2:  disco      1157 F.... pulseaudio
                     disco      1302 F.... xfce4-volumed
                     disco      1531 F.... panel-24-mixer
/dev/snd/pcmC0D0p:   disco      1157 F...m pulseaudio
3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fba"
		device.string = "1"
		device.description = "HDA NVidia"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: unknown)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "G257HU
      "
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "G257HU
      "
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.usb-046d_0809_058C0E64-02>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "2"
		alsa.card_name = "USB Device 0x46d:0x809"
		alsa.long_card_name = "USB Device 0x46d:0x809 at usb-0000:00:14.0-4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:4:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.2/sound/card2"
		udev.id = "usb-046d_0809_058C0E64-02"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "0809"
		device.product.name = "Webcam Pro 9000"
		device.serial = "046d_0809_058C0E64"
		device.form_factor = "webcam"
		device.string = "2"
		device.description = "Webcam Pro 9000"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	profiles:
		input:analog-mono: Analog Mono Input (priority 2, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:analog-mono>
	sources:
		alsa_input.usb-046d_0809_058C0E64-02.analog-mono/#0: Webcam Pro 9000 Analog Mono
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
    index: 2
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7310000 irq 33"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 800, available: unknown)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: unknown)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: unknown)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: unknown)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: unknown)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#1: Monitor of Built-in Audio Analog Stereo
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9959
	volume: front-left: 29274 /  45% / -21.00 dB,   front-right: 29050 /  44% / -21.20 dB
	        balance -0.01
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 150.24 ms
	max request: 36 KiB
	max rewind: 344 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 2
	configured latency: 210.00 ms; range is 0.50 .. 2000.00 ms
	card: 2 <alsa_card.pci-0000_00_1b.0>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC3861 Analog"
		alsa.id = "ALC3861 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7310000 irq 33"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC3861"
		alsa.components = "HDA:10ec0899,102805b7,00100003"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>
    index: 1
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel>
	driver: <module-echo-cancel.c>
	flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: mono: 29162 /  44%
	        balance 0.00
	base volume: 65536 / 100%
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 26 KiB
	max rewind: 250 KiB
	monitor source: 3
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 22
	properties:
		device.master_device = "alsa_output.pci-0000_00_1b.0.analog-stereo"
		device.class = "filter"
		device.intended_roles = "phone"
		device.description = "Built-in Audio Analog Stereo (echo cancelled with Webcam Pro 9000 Analog Mono)"
		device.icon_name = "audio-card"
2 sink input(s) available.
    index: 0
	driver: <module-echo-cancel.c>
	flags: VARIABLE_RATE 
	state: CORKED
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: n/a
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	resample method: speex-float-1
	module: 22
	properties:
		media.name = "Echo-Cancel Sink Stream"
		media.role = "filter"
		module-stream-restore.id = "sink-input-by-media-role:filter"
    index: 2
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 250.00 ms
	requested latency: 210.00 ms
	sample spec: s24-32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 10
	client: 2 <Music Player Daemon>
	properties:
		media.name = "Pulseaudio"
		application.name = "Music Player Daemon"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		media.role = "music"
		application.icon_name = "mpd"
		application.process.id = "559"
		application.process.user = "disco"
		application.process.host = "discomachine"
		application.process.binary = "mpd"
		application.language = "C"
		application.process.machine_id = "ef43566f4e72436da8dc63a5b2282157"
		application.process.session_id = "c1"
		module-stream-restore.id = "sink-input-by-media-role:music"

journalctl -f --user-unit=pulseaudio

-- Logs begin at Tue 2016-06-28 07:17:33 EDT. --
Dec 15 12:21:18 discomachine pulseaudio[1333]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-38927), drop sink 5020
Dec 15 13:33:44 discomachine systemd[593]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Dec 15 13:33:44 discomachine systemd[593]: Stopped Sound Service.
Dec 15 13:33:44 discomachine systemd[593]: pulseaudio.service: Unit entered failed state.
Dec 15 13:33:44 discomachine systemd[593]: pulseaudio.service: Failed with result 'exit-code'.
-- Reboot --
Dec 15 13:34:28 discomachine systemd[594]: Starting Sound Service...
Dec 15 13:34:35 discomachine pulseaudio[1157]: W: [pulseaudio] source.c: Default and alternate sample rates are the same.
Dec 15 13:34:36 discomachine systemd[594]: Started Sound Service.
Dec 15 13:34:37 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Doing resync
Dec 15 13:34:37 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback too far ahead (1025136), drop source 131216

After starting mumble
fuser and pacmd commands

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  disco      1157 F.... pulseaudio
                     disco      1302 F.... xfce4-volumed
                     disco      1531 F.... panel-24-mixer
/dev/snd/controlC1:  disco      1157 F.... pulseaudio
                     disco      1302 F.... xfce4-volumed
                     disco      1531 F.... panel-24-mixer
/dev/snd/controlC2:  disco      1157 F.... pulseaudio
                     disco      1302 F.... xfce4-volumed
                     disco      1531 F.... panel-24-mixer
/dev/snd/pcmC0D0p:   disco      1157 F...m pulseaudio
/dev/snd/pcmC2D0c:   disco      1157 F...m pulseaudio
3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fba"
		device.string = "1"
		device.description = "HDA NVidia"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: unknown)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "G257HU
      "
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "G257HU
      "
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.usb-046d_0809_058C0E64-02>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "2"
		alsa.card_name = "USB Device 0x46d:0x809"
		alsa.long_card_name = "USB Device 0x46d:0x809 at usb-0000:00:14.0-4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:4:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.2/sound/card2"
		udev.id = "usb-046d_0809_058C0E64-02"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "0809"
		device.product.name = "Webcam Pro 9000"
		device.serial = "046d_0809_058C0E64"
		device.form_factor = "webcam"
		device.string = "2"
		device.description = "Webcam Pro 9000"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	profiles:
		input:analog-mono: Analog Mono Input (priority 2, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:analog-mono>
	sources:
		alsa_input.usb-046d_0809_058C0E64-02.analog-mono/#0: Webcam Pro 9000 Analog Mono
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
    index: 2
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7310000 irq 33"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 800, available: unknown)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: unknown)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: unknown)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: unknown)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: unknown)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#1: Monitor of Built-in Audio Analog Stereo
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9959
	volume: front-left: 41350 /  63% / -12.00 dB,   front-right: 41034 /  63% / -12.20 dB
	        balance -0.01
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.95 ms
	max request: 0 KiB
	max rewind: 344 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 5
	linked by: 5
	configured latency: 1.00 ms; range is 1.00 .. 2000.00 ms
	card: 2 <alsa_card.pci-0000_00_1b.0>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC3861 Analog"
		alsa.id = "ALC3861 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7310000 irq 33"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC3861"
		alsa.components = "HDA:10ec0899,102805b7,00100003"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>
    index: 1
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel>
	driver: <module-echo-cancel.c>
	flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 1000
	volume: mono: 41192 /  63%
	        balance 0.00
	base volume: 65536 / 100%
	volume steps: 65537
	muted: no
	current latency: 0.89 ms
	max request: 0 KiB
	max rewind: 250 KiB
	monitor source: 3
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	used by: 1
	linked by: 2
	configured latency: 1.00 ms; range is 1.00 .. 2000.00 ms
	module: 22
	properties:
		device.master_device = "alsa_output.pci-0000_00_1b.0.analog-stereo"
		device.class = "filter"
		device.intended_roles = "phone"
		device.description = "Built-in Audio Analog Stereo (echo cancelled with Webcam Pro 9000 Analog Mono)"
		device.icon_name = "audio-card"
6 sink input(s) available.
    index: 0
	driver: <module-echo-cancel.c>
	flags: VARIABLE_RATE 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 1.00 ms
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	resample method: speex-float-1
	module: 22
	properties:
		media.name = "Echo-Cancel Sink Stream"
		media.role = "filter"
		module-stream-restore.id = "sink-input-by-media-role:filter"
    index: 2
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 242.93 ms
	requested latency: 210.00 ms
	sample spec: s24-32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 10
	client: 2 <Music Player Daemon>
	properties:
		media.name = "Pulseaudio"
		application.name = "Music Player Daemon"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		media.role = "music"
		application.icon_name = "mpd"
		application.process.id = "559"
		application.process.user = "disco"
		application.process.host = "discomachine"
		application.process.binary = "mpd"
		application.language = "C"
		application.process.machine_id = "ef43566f4e72436da8dc63a5b2282157"
		application.process.session_id = "c1"
		module-stream-restore.id = "sink-input-by-media-role:music"
    index: 3
	driver: <protocol-native.c>
	flags: 
	state: DRAINED
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 0.50 ms
	sample spec: s16le 1ch 44100Hz
	channel map: mono
	             Mono
	resample method: copy
	module: 10
	client: 26 <speech-dispatcher>
	properties:
		media.name = "playback"
		application.name = "speech-dispatcher"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.process.id = "17738"
		application.process.user = "disco"
		application.process.host = "discomachine"
		application.process.binary = "sd_espeak"
		application.language = "C"
		window.x11.display = ":0.0"
		application.process.machine_id = "ef43566f4e72436da8dc63a5b2282157"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"
    index: 4
	driver: <protocol-native.c>
	flags: 
	state: DRAINED
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 0.50 ms
	sample spec: s16le 1ch 44100Hz
	channel map: mono
	             Mono
	resample method: copy
	module: 10
	client: 27 <speech-dispatcher>
	properties:
		media.name = "playback"
		application.name = "speech-dispatcher"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.process.id = "17743"
		application.process.user = "disco"
		application.process.host = "discomachine"
		application.process.binary = "sd_dummy"
		application.language = "C"
		window.x11.display = ":0.0"
		application.process.machine_id = "ef43566f4e72436da8dc63a5b2282157"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"
    index: 5
	driver: <protocol-native.c>
	flags: 
	state: DRAINED
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 0.50 ms
	sample spec: s16le 1ch 44100Hz
	channel map: mono
	             Mono
	resample method: copy
	module: 10
	client: 28 <speech-dispatcher>
	properties:
		media.name = "playback"
		application.name = "speech-dispatcher"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.process.id = "17746"
		application.process.user = "disco"
		application.process.host = "discomachine"
		application.process.binary = "sd_generic"
		application.language = "C"
		window.x11.display = ":0.0"
		application.process.machine_id = "ef43566f4e72436da8dc63a5b2282157"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"
    index: 6
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	sink: 1 <alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 13.56 ms
	requested latency: 1.00 ms
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	resample method: (null)
	module: 10
	client: 25 <Mumble>
	properties:
		media.name = "Mumble Speakers"
		application.name = "Mumble"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.id = "net.sourceforge.mumble.mumble"
		application.icon_name = "mumble"
		media.role = "phone"
		application.process.id = "17735"
		application.process.user = "disco"
		application.process.host = "discomachine"
		application.process.binary = "mumble"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "ef43566f4e72436da8dc63a5b2282157"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-media-role:phone"

journactl

-- Logs begin at Tue 2016-06-28 07:17:33 EDT. --
Dec 15 12:21:18 discomachine pulseaudio[1333]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-38927), drop sink 5020
Dec 15 13:33:44 discomachine systemd[593]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Dec 15 13:33:44 discomachine systemd[593]: Stopped Sound Service.
Dec 15 13:33:44 discomachine systemd[593]: pulseaudio.service: Unit entered failed state.
Dec 15 13:33:44 discomachine systemd[593]: pulseaudio.service: Failed with result 'exit-code'.
-- Reboot --
Dec 15 13:34:28 discomachine systemd[594]: Starting Sound Service...
Dec 15 13:34:35 discomachine pulseaudio[1157]: W: [pulseaudio] source.c: Default and alternate sample rates are the same.
Dec 15 13:34:36 discomachine systemd[594]: Started Sound Service.
Dec 15 13:34:37 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Doing resync
Dec 15 13:34:37 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback too far ahead (1025136), drop source 131216
Dec 15 14:20:54 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Doing resync
Dec 15 14:20:54 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback too far ahead (2005), drop source 256
Dec 15 14:21:11 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-64), drop sink 48
Dec 15 14:21:12 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-112), drop sink 52
Dec 15 14:21:13 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-241), drop sink 68
Dec 15 14:21:23 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-69), drop sink 48
Dec 15 14:21:26 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-50), drop sink 44
Dec 15 14:21:28 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-238), drop sink 68
Dec 15 14:21:39 discomachine pulseaudio[1157]: E: [alsa-source-USB Audio] module-echo-cancel.c: Playback after capture (-84), drop sink 48

Offline

#4 2016-12-26 03:10:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: Staticy sound when Mumble Starts, PulseAudio

Sorry for thhe late response.

You have the echo-canceler hanging in between there. Without any further configuration done to it, it just takes some suboptimal defaults which seem to lead to that static you hear. Can you get that out of the equation (comment the last line in default.pa) Restart pulse or 

pacmd unload-module echo-cancel

and see if that fixes it.

Offline

#5 2017-02-01 18:23:48

Disco Dave
Member
Registered: 2014-12-31
Posts: 91

Re: Staticy sound when Mumble Starts, PulseAudio

Thanks V1del,  that fixed it.

Also sorry for my extremely late response

Offline

Board footer

Powered by FluxBB