You are not logged in.

#1 2018-08-18 04:19:34

ZephireNZ
Member
Registered: 2014-06-10
Posts: 4

Sound Glitching and Popping

Hi all,

Have finally decided to try doing something about my terrible sound output in Arch. Audio is perfectly fine if I boot into Windows, but has glitching popping noises at irregular intervals when playing audio in Arch.

It's easiest to show with a recording: https://drive.google.com/file/d/1Mo7zsg … Eeqf5/view

That is just a simple sine wave audio that I am modulating to induce pops but it happens with music, video, etc.

I've already tried as per the Wiki:
- load-module module-udev-detect tsched=0
- intel_iommu=igfx_off
- options snd-hda-intel vid=8086 pid=8ca0 snoop=0
- options snd_hda_intel power_save=0

pactl output for the sink:

Sink #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1b.0.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 9
	Mute: no
	Volume: front-left: 40836 /  62% / -12.33 dB,   front-right: 40836 /  62% / -12.33 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7a10000 irq 29"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8ca0"
		device.product.name = "9 Series Chipset Family HD Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "19200"
		device.buffering.fragment_size = "4800"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,1458a182,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-lineout: Line Out (priority: 9900, available)
		analog-output-headphones: Headphones (priority: 9000, not available)
	Active Port: analog-output-lineout
	Formats:
		pcm

Any suggestions would be much appreciated.

Offline

#2 2018-08-18 10:29:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,716

Re: Sound Glitching and Popping

Can you reset your config to defaults, reboot (or reload the affected programs/modules), then post during problematic playback

pacmd list-sinks
pacmd list-sink-inputs

Offline

#3 2018-09-08 06:59:11

ZephireNZ
Member
Registered: 2014-06-10
Posts: 4

Re: Sound Glitching and Popping

Thanks for checking into it @V1del, sorry for the delay - haven't had time to troubleshoot lately.

I removed the default.pa and daemon.conf files and regenerated them with a pacman install, and ensured there was nothing in /etc/modprobe.d for sound, along with nothing in my bootloader options.

pacmd list-sinks:

1 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: (none)
	priority: 9039
	volume: front-left: 21176 /  32% / -29.44 dB,   front-right: 21176 /  32% / -29.44 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 11.62 ms
	max request: 2 KiB
	max rewind: 2 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 11.61 ms; range is 0.50 .. 2000.00 ms
	card: 3 <alsa_card.pci-0000_00_1b.0>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7a10000 irq 29"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8ca0"
		device.product.name = "9 Series Chipset Family HD Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		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 ALC892"
		alsa.components = "HDA:10ec0892,1458a182,00100302"
		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>

pacmd list-sink-inputs:

1 sink input(s) available.
    index: 1
	driver: <protocol-native.c>
	flags: START_CORKED 
	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: 16.51 ms
	requested latency: 11.61 ms
	sample spec: float32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 15
	client: 9 <Chrome>
	properties:
		application.icon_name = "google-chrome"
		media.name = "Playback"
		application.name = "Chrome"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "1380"
		application.process.user = "brynley"
		application.process.host = "Romanoff"
		application.process.binary = "chrome"
		application.language = "en_NZ.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "0a700b260205477fb7493397697b0811"
		application.process.session_id = "2"
		module-stream-restore.id = "sink-input-by-application-name:Chrome"

Cheers again for the help.

Offline

Board footer

Powered by FluxBB