Pops/clicks on audio interface

I have a Behringer UMC204HD which works fine on my work laptop, but when using it with my personal laptop it clicks and pops while audio is playing. This doesn’t happen using the thinkpad’s built in audio or on bluetooth, and doesn’t change whether I use pulseaudio or jackd. It also doesn’t change with increasing or decreasing sample rate, frames/period, or periods/buffer.

Here’s the pulseaudio sinks and sources

mvanorder@malcolm-p72   ~   master ●  pacmd list-sinks 
2 sink(s) available.
  * index: 0
	name: <alsa_output.usb-BEHRINGER_UMC204HD_192k-00.analog-surround-40>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9049
	volume: front-left: 49808 /  76% / -7.15 dB,   front-right: 49808 /  76% / -7.15 dB,   rear-left: 49808 /  76% / -7.15 dB,   rear-right: 49808 /  76% / -7.15 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 100.85 ms
	max request: 34 KiB
	max rewind: 34 KiB
	monitor source: 0
	sample spec: s16le 4ch 44100Hz
	channel map: front-left,front-right,rear-left,rear-right
	             Surround 4.0
	used by: 1
	linked by: 3
	fixed latency: 99.95 ms
	card: 1 <alsa_card.usb-BEHRINGER_UMC204HD_192k-00>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "3"
		alsa.card_name = "UMC204HD 192k"
		alsa.long_card_name = "BEHRINGER UMC204HD 192k at usb-0000:00:14.0-1.4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:1.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4:1.0/sound/card3"
		udev.id = "usb-BEHRINGER_UMC204HD_192k-00"
		device.bus = "usb"
		device.vendor.id = "1397"
		device.vendor.name = "BEHRINGER International GmbH"
		device.product.id = "0508"
		device.product.name = "UMC204HD 192k"
		device.serial = "BEHRINGER_UMC204HD_192k"
		device.string = "surround40:3"
		device.buffering.buffer_size = "35264"
		device.buffering.fragment_size = "8816"
		device.access_mode = "mmap"
		device.profile.name = "analog-surround-40"
		device.profile.description = "Analog Surround 4.0"
		device.description = "UMC204HD 192k Analog Surround 4.0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-output>
    index: 1
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	state: IDLE
	suspend cause: (none)
	priority: 9039
	volume: front-left: 37886 /  58% / -14.28 dB,   front-right: 37886 /  58% / -14.28 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 99.91 ms
	max request: 18 KiB
	max rewind: 18 KiB
	monitor source: 2
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	fixed latency: 99.94 ms
	card: 3 <alsa_card.pci-0000_00_1f.3>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC285 Analog"
		alsa.id = "ALC285 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 0x404a108000 irq 156"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "19188"
		device.buffering.fragment_size = "6396"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
 mvanorder@malcolm-p72   ~   master ●  pacmd list-sources                                        
4 source(s) available.
    index: 0
	name: <alsa_output.usb-BEHRINGER_UMC204HD_192k-00.analog-surround-40.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 1040
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB,   rear-left: 65536 / 100% / 0.00 dB,   rear-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 34 KiB
	sample spec: s16le 4ch 44100Hz
	channel map: front-left,front-right,rear-left,rear-right
	             Surround 4.0
	used by: 2
	linked by: 2
	fixed latency: 99.95 ms
	monitor_of: 0
	card: 1 <alsa_card.usb-BEHRINGER_UMC204HD_192k-00>
	module: 7
	properties:
		device.description = "Monitor of UMC204HD 192k Analog Surround 4.0"
		device.class = "monitor"
		alsa.card = "3"
		alsa.card_name = "UMC204HD 192k"
		alsa.long_card_name = "BEHRINGER UMC204HD 192k at usb-0000:00:14.0-1.4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:1.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4:1.0/sound/card3"
		udev.id = "usb-BEHRINGER_UMC204HD_192k-00"
		device.bus = "usb"
		device.vendor.id = "1397"
		device.vendor.name = "BEHRINGER International GmbH"
		device.product.id = "0508"
		device.product.name = "UMC204HD 192k"
		device.serial = "BEHRINGER_UMC204HD_192k"
		device.string = "3"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
  * index: 1
	name: <alsa_input.usb-BEHRINGER_UMC204HD_192k-00.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9048
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.81 ms
	max rewind: 0 KiB
	sample spec: s32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	fixed latency: 99.95 ms
	card: 1 <alsa_card.usb-BEHRINGER_UMC204HD_192k-00>
	module: 7
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "3"
		alsa.card_name = "UMC204HD 192k"
		alsa.long_card_name = "BEHRINGER UMC204HD 192k at usb-0000:00:14.0-1.4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:1.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4:1.0/sound/card3"
		udev.id = "usb-BEHRINGER_UMC204HD_192k-00"
		device.bus = "usb"
		device.vendor.id = "1397"
		device.vendor.name = "BEHRINGER International GmbH"
		device.product.id = "0508"
		device.product.name = "UMC204HD 192k"
		device.serial = "BEHRINGER_UMC204HD_192k"
		device.string = "iec958:3"
		device.buffering.buffer_size = "35264"
		device.buffering.fragment_size = "8816"
		device.access_mode = "mmap"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "UMC204HD 192k Digital Stereo (IEC958)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-input>
    index: 2
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 1030
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 18 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	fixed latency: 99.94 ms
	monitor_of: 1
	card: 3 <alsa_card.pci-0000_00_1f.3>
	module: 9
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x404a108000 irq 156"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 3
	name: <alsa_input.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 11995 /  18% / -44.25 dB,   front-right: 11995 /  18% / -44.25 dB
	        balance 0.00
	base volume: 6554 /  10% / -60.00 dB
	volume steps: 65537
	muted: yes
	current latency: 0.17 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	fixed latency: 99.95 ms
	card: 3 <alsa_card.pci-0000_00_1f.3>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC285 Analog"
		alsa.id = "ALC285 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 0x404a108000 irq 156"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "17632"
		device.buffering.fragment_size = "4408"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-internal-mic>

Hello @mvanorder :wink:

Maybe the same issue like here?

Mine sounds like xruns, but jack isn’t logging xruns(when I’m using jack), and the normal steps to fix xruns isn’t affecting it.

I have a similar Problem with a Steinberg UR22 Interface on Ubuntu. The interface used to work on earlier Versions, so this seems like a regression possibly in the Kernel.

I’m apparently not allowed to post links here, but you can find my Question on askubuntu via my username.

The Behringer interface is marked as the default sink for 4.0 surround sound playback in PulseAudio

2 sink(s) available.
  * index: 0
	name: <alsa_output.usb-BEHRINGER_UMC204HD_192k-00.analog-surround-40>

    sample spec: s16le 4ch 44100Hz
	channel map: front-left,front-right,rear-left,rear-right
	             Surround 4.0

Is there a PulseAudio profile available for Analog Stereo Output ?

The interface may not be detected correctly in PulseAudio for surround sound playback.
(not many hardware interfaces have a custom profile in /usr/share/alsa-card-profile/mixer/profile-sets/)

It may help to reduce pops/clicks by increasing the setting for resampling in /etc/pulse/daemon.conf
the default is usually not very good quality
; resample-method = speex-float-1
but it usually only needs a small increase
resample-method = speex-float-3