Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsUbuntu
All Forum Topics
Options

2 Posts

05-22-2021

Canada

2 Signins

20 Page Views

  • Posts: 2
  • Registered: ‎05-22-2021
  • Location: Canada
  • Views: 20
  • Message 1 of 1

No 5.1 surround sound option on P14s laptop/Ubuntu linux 20.04 using HDMI

2021-05-22, 18:42 PM

I am having trouble enabling 5.1 surround sound over HDMI on my P14s laptop running Ubuntu linux 20.04.  I have deactivated the Nvidia GPU (using only the integrated Intel), but there was no surround either when it was activated.  I have a Vizio 5.1 soundbar with rear speakers and subwoofer connected over HDMI.  5.1 was working with my old Lenovo T460/Ubuntu 20.04 on the same setup.  Now the sound settings panel doesn't give the option of 5.1 -- only:

 

  • Speaker - sof-hda-dsp
  • HDMI2/DP2 Output - sof-hda-dsp

 

I'm only getting stereo output.  When I test the output device from the sound control panel, I only get "front left" and "front right" buttons.  (Front right sounds distorted, but I'm guessing that's a separate issue -- stereo output from other apps sounds fine.)

 

When I run speaker-test -c6 -twav, I only get sound out of the main soundbar -- 6 channels being sent to 2 -- and nothing out of the rear speakers or subwoofer.

 

I've tried setting default-sample-channels = 6 in /etc/pulse/daemon.conf -- nothing.

 

I've tried this in /etc/pulse/default.pa:

 

load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe

 

That gave me six channels in the control panel test window, but they all mixed to 2 channels at the soundbar, just like the speaker-test.

 

I've messed around in pavucontrol and alsamixer but found nothing relevant to toggle there.

 

Here is the audio section of lspci -v:


00:1f.3 Audio device: Intel Corporation Device 02c8 (prog-if 80)
    Subsystem: Lenovo Device 22b1
    Flags: bus master, fast devsel, latency 64, IRQ 170
    Memory at ef3bc000 (64-bit, non-prefetchable) [size=16K]
    Memory at ef000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [50] Power Management version 3
    Capabilities: [80] Vendor Specific Information: Len=14 <?>
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Kernel driver in use: sof-audio-pci
    Kernel modules: snd_hda_intel, snd_sof_pci

 

Here is the audio section of the EDID output read from the HDMI connection, read with get-edid and decoded with edid-decode:


  Audio Data Block
    Linear PCM, max channels 2
      Supported sample rates (kHz): 192 96 48 44.1 32
      Supported sample sizes (bits): 24 20 16
    AC-3, max channels 6
      Supported sample rates (kHz): 48 44.1 32
      Maximum bit rate: 640 kb/s
    Dolby Digital+, max channels 8
      Supported sample rates (kHz): 48 44.1 32
      Supports Joint Object Coding
    DTS, max channels 6
      Supported sample rates (kHz): 48 44.1
      Maximum bit rate: 1536 kb/s
    MAT (MLP), max channels 8
      Supported sample rates (kHz): 48

 

Relevant `dmesg` output -- could warnings about firmware ABI version mismatch with kernel be important?

 

[   33.574300] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[   33.574303] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   33.574313] sof-audio-pci 0000:00:1f.3: enabling device (0004 -> 0006)
[   33.574504] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[   33.574599] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   33.586486] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[   33.603849] iwlwifi 0000:00:14.3: base HW address: dc:1b:a1:66:26:69
[   33.619827] thermal thermal_zone6: failed to read out thermal zone (-61)
[   33.631587] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[   33.631590] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   33.631594] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   33.640557] intel_rapl_common: Found RAPL domain package
[   33.640558] intel_rapl_common: Found RAPL domain core
[   33.640559] intel_rapl_common: Found RAPL domain uncore
[   33.640560] intel_rapl_common: Found RAPL domain dram
[   33.645657] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[   33.706127] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   33.728492] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:6:0-18fab
[   33.728493] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:17:0 Kernel ABI 3:16:0
[   33.728494] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[   33.735913] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp1
[   33.735914] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp2
[   33.735915] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp3
[   33.735916] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link Analog Playback and Capture
[   33.735916] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link Digital Playback and Capture
[   33.735917] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link dmic01
[   33.735918] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link dmic16k
[   33.739541] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:17:0 Kernel ABI 3:16:0
[   33.739542] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[   33.739545] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[   33.744533] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[   33.744554] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[   33.747943] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[   33.747953] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[   33.749440] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[   33.749442] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[   33.750588] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[   33.750590] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[   33.750592] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[   33.750593] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[   33.750595] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[   33.750597] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[   33.751390] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[   33.751394] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[   33.752248] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[   33.752249] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[   33.753067] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[   33.761014] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[   33.780635] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   33.780636] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   33.780637] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   33.780637] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[   33.780638] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[   33.780638] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[   33.829232] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[   33.829236] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[   33.829259] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi1 <-> iDisp1 Pin mapping ok
[   33.829261] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi2 <-> iDisp2 Pin mapping ok
[   33.829262] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi3 <-> iDisp3 Pin mapping ok
[   33.829264] skl_hda_dsp_generic skl_hda_dsp_generic: Analog Codec DAI <-> Analog CPU DAI mapping ok
[   33.829266] skl_hda_dsp_generic skl_hda_dsp_generic: Digital Codec DAI <-> Digital CPU DAI mapping ok
[   33.829267] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC01 Pin mapping ok
[   33.829268] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC16k Pin mapping ok
[   33.829274] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC 6 mapping ok
[   33.829278] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC16kHz 7 mapping ok
[   33.829283] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Analog 0 mapping ok
[   33.829288] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Digital 1 mapping ok
[   33.829291] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI1 3 mapping ok
[   33.829294] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI2 4 mapping ok
[   33.829300] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI3 5 mapping ok
[   33.829344] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
[   33.829347] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
[   33.829350] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
[   33.829352] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
[   33.829354] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
[   33.829359] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
[   33.829362] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
[   33.829366] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
[   33.829370] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
[   33.829373] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
[   33.829376] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
[   33.842781] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input39
[   33.842809] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input40
[   33.842832] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input41
[   33.842857] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input42
[   33.842884] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input43

 

Any ideas?  Thanks.

 

(Also going to post in the Ubuntu forum once the rate limit for new users expires.)

 

 

Moderator comment: No need to double-post. This thread moved to the proper forum. (NateS)

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms