You are not logged in.

#1 2021-08-04 08:04:22

luken
Member
Registered: 2014-06-26
Posts: 37

[SOLVED] Distorted audio after one of the updates

So, after one of the updates I did this year, my audio started to be distorted. The way to fix it for the current session is to run `pulseaudio -k`. I need to do it every time I start the system.

Any idea how to diagnose it and fix persistently (not by running `pulseaudio -k` in autostart)?

My motherboard: Aorus Master x570 rev. 1.0 .

Last edited by luken (2021-08-05 10:41:21)

Offline

#2 2021-08-04 13:46:26

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

Re: [SOLVED] Distorted audio after one of the updates

Which update? When exactly? Was it recently - i.e. last week - with the pulseaudio 15 release or earlier which could be either one of the alsa-libs or an underlying kernel change. Like some time or version frame at least: https://bbs.archlinux.org/viewtopic.php?id=57855

Based on what we know I'd hazard a guess at snd-hda-intel powersaving which you could disable with a /etc/modprobe.d/disablePower.conf

options snd-hda-intel power_save=0

.

If it's not that then you'll want to post more information, like

aplay -l
pacmd list-sinks #Before and after killing pulse

Offline

#3 2021-08-05 07:48:28

luken
Member
Registered: 2014-06-26
Posts: 37

Re: [SOLVED] Distorted audio after one of the updates

V1del wrote:

Which update? When exactly? Was it recently - i.e. last week - with the pulseaudio 15 release or earlier which could be either one of the alsa-libs or an underlying kernel change. Like some time or version frame at least: https://bbs.archlinux.org/viewtopic.php?id=57855

It was few months ago, I don't remember when exactly, I just didn't have time to figure it out then.

V1del wrote:

Based on what we know I'd hazard a guess at snd-hda-intel powersaving which you could disable with a /etc/modprobe.d/disablePower.conf

It's not that one/didn't help unfortunately.

If it's any help this "distortion" sounds kind of like a feedback loop. It's the crackling sound of whatever should play repeated few times.

(1:88)$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: AI1 [RODE AI-1], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Before killing pulse:

(1:98)$ pacmd list-sinks
2 sink(s) available.
    index: 1
	name: <alsa_output.pci-0000_0b_00.1.hdmi-stereo-extra2>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9030
	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 request: 0 KiB
	max rewind: 0 KiB
	monitor source: 2
	sample spec: s16le 2 k 48000 Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <alsa_card.pci-0000_0b_00.1>
	module: 24
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 2"
		alsa.id = "HDMI 2"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "8"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcea0000 irq 128"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0b:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "hdmi:0,2"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra2"
		device.profile.description = "Digital Stereo (HDMI 3)"
		device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 3)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "DELL UP3017"
	active port: <hdmi-output-2>
  * index: 2
	name: <alsa_output.pci-0000_0d_00.4.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: 28532 /  44% / -21,67 dB,   front-right: 28532 /  44% / -21,67 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 1,62 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 3
	sample spec: s16le 2 k 48000 Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 1,00 ms; range is 1,00 .. 2000,00 ms
	card: 2 <alsa_card.pci-0000_0d_00.4>
	module: 25
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 130"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0d:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogowe stereo"
		device.description = "Starship/Matisse HD Audio Controller Analogowe stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>

After killing pulse:

(1:102)$ pacmd list-sinks
2 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_0b_00.1.hdmi-stereo-extra2>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9030
	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: 1412,94 ms
	max request: 375 KiB
	max rewind: 375 KiB
	monitor source: 1
	sample spec: s16le 2 k 48000 Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 2000,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <alsa_card.pci-0000_0b_00.1>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 2"
		alsa.id = "HDMI 2"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "8"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcea0000 irq 128"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0b:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "hdmi:0,2"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra2"
		device.profile.description = "Digital Stereo (HDMI 3)"
		device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 3)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "DELL UP3017"
	active port: <hdmi-output-2>
  * index: 1
	name: <alsa_output.pci-0000_0d_00.4.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9039
	volume: front-left: 28532 /  44% / -21,67 dB,   front-right: 28532 /  44% / -21,67 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 1790,75 ms
	max request: 375 KiB
	max rewind: 375 KiB
	monitor source: 2
	sample spec: s16le 2 k 48000 Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 2000,00 ms; range is 0,50 .. 2000,00 ms
	card: 2 <alsa_card.pci-0000_0d_00.4>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 130"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0d:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogowe stereo"
		device.description = "Starship/Matisse HD Audio Controller Analogowe stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>

Added:

Actually, I didn't upgrade to pulseaudio 15 yet. I will do it right now and let you know if it fixed the issue.

Last edited by luken (2021-08-05 08:37:37)

Offline

#4 2021-08-05 10:40:59

luken
Member
Registered: 2014-06-26
Posts: 37

Re: [SOLVED] Distorted audio after one of the updates

Ok, so it turns out that after installing the recent updates, with updated pulseaudio fixed the issue. So I marked it as fixed. Thanks for help! I didn't realize there was pulseaudio update recently smile .

Offline

Board footer

Powered by FluxBB