You are not logged in.

#1 2017-03-17 17:43:10

rio
Member
Registered: 2010-09-17
Posts: 9

Strange sound problems after update

Since a system update two days ago, some applications produce very strange results when it comes to audio playback. I've uploaded an ogg file of Spotify playing Golden Brown for your enjoyment. Curiously not all audio playback is affected. I can watch videos using mpv with sound being fine, for example.

The kernel I'm running is 4.10.3-1 and the details of the pulseaudio sink I'm using are

  * index: 1
	name: <alsa_output.pci-0000_00_1f.3.hdmi-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9950
	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 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 99.95 ms
	card: 1 <alsa_card.pci-0000_00_1f.3>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xdf240000 irq 133"
		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 = "a170"
		device.product.name = "Sunrise Point-H HD Audio"
		device.form_factor = "internal"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "17632"
		device.buffering.fragment_size = "4408"
		device.access_mode = "mmap"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "Built-in Audio Digital Stereo (HDMI)"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,10438698,00100302 HDA:80862809,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "DELL U2410"
	active port: <hdmi-output-0>

Any help is appreciated! Thanks in advance.

Edit: With some help I pinned this down to a resampling issue in the HDMI output of the i915 driver. It plays 48kHz fine but 44.1kHz sounds like I demonstrated above. I fixed this for now by setting

default-sample-rate = 48000

in /etc/pulse/daemon.conf and will report the problem upstream.

Edit: I reported the bug upstream at https://bugs.freedesktop.org/show_bug.cgi?id=100279

Last edited by rio (2017-03-19 12:14:01)

Offline

Board footer

Powered by FluxBB