You are not logged in.

#1 2017-02-25 02:30:29

gabehollombe
Member
Registered: 2017-02-25
Posts: 2

HP Spectre x360 Kaby Lake - pulse cant see all speakers but ALSA can

The situation: My laptop has 5.1 speakers on it. `speaker-test -c 6` plays sounds out of each speaker, each correctly identified. However, when I open the Sound Settings control panel in Cinnamon, it only lists 'Analog Stero Output' in the Output Profile section. When I click the Test Sound button, it shows Front Left and Front Right speakers (as expected for Analog Stereo output) and each button plays sound correctly out of the two front speakers.

The big problem: When I open Spotify or VLC, the sound doesn't come out of the Front Left/Right speakers, it comes out of the much quieter bottom speakers. I'd at least like the sound to be coming out of the Front Left/Right speakers.

The smaller problem: Ideally, I'd like to be able to play 5.1 audio in VLC out of all 5.1 speakers, so figuring out how to configure some sort of 5.1 Analog Surround would be nice, too.

Some folks seem to say this is a Kernel bug (see https://bugzilla.kernel.org/show_bug.cgi?id=189331) but it _seems_ like a config issue to me since speaker-test outputs correctly to each speaker and even the Cinnamon Sound control panel's test buttons output to at least the proper Front Left/Right speakers.

Can anyone offer any advice about how I should try to fix this?

Hardware and config details:

I have an HP Spectre x360 Kaby Lake 13" laptop.

`speaker-test -c 6` plays the correct sounds out of each speaker

`aplay -l` gives:

 **** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

`aplay -L-` gives:

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC295 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC295 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output

`pacmd list-sinks` gives:

1 sink(s) available.
  * index: 0
	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 FLAT_VOLUME 
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 32776 /  50% / -18.06 dB,   front-right: 32776 /  50% / -18.06 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: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 99.95 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC295 Analog"
		alsa.id = "ALC295 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 0xdc228000 irq 302"
		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 = "9d71"
		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"
		alsa.mixer_name = "Realtek ALC295"
		alsa.components = "HDA:10ec0295,103c827e,00100002 HDA:8086280b,80860101,00100000"
		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 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>

Offline

#2 2017-02-28 10:12:56

weltensturm
Member
Registered: 2017-01-25
Posts: 2

Re: HP Spectre x360 Kaby Lake - pulse cant see all speakers but ALSA can

Are you sure `speaker-test -c 6` plays correctly? I hear a sound on every test aswell (lower for the rear and center speakers), but all sounds come out of the bottom speakers. My model is w080ng

Offline

#3 2017-03-04 04:27:46

gabehollombe
Member
Registered: 2017-02-25
Posts: 2

Re: HP Spectre x360 Kaby Lake - pulse cant see all speakers but ALSA can

You know what, @weltensturm, you're right! They _do_ all play on the bottom speakers. Totally my mistake. I must have been so eager to believe it was working that I misheard things. Thank you for the sanity check. I guess it _is_ a kernel bug. =-(

Offline

#4 2019-02-22 00:50:15

juancp
Member
Registered: 2019-02-22
Posts: 1

Re: HP Spectre x360 Kaby Lake - pulse cant see all speakers but ALSA can

I purchased a late 2017 Spectre X360, model 13-ae013dx. I was able to solve this bug consistently using HDAJackRetask  by performing the following:

- Override pin 0x14 and set it to Internal Speaker (LFE). I believe this enables the amplifier that drives the top speakers. Setting it to something other than just "Internal Speaker" is important, so that pulseaudio does not try to redirect sound to that channel.


- Override pin 0x1e and set them to "Internal Speaker".


Hit Apply Now, and voila you have sound out of all four speakers.


Screenshot below:

https://pasteboard.co/I2gloyk.png


I'm currently running Kernel 4.20.10-arch1-1-ARCH, and I have tried absolutely everything on this thread to no avail. Hope this helps!

Offline

Board footer

Powered by FluxBB