[Solved] LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
garye
Level 1
Level 1
Posts: 6
Joined: Tue Apr 06, 2021 12:19 pm

[Solved] LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by garye »

Hello,

I've been unable to get LM20.1 to work with my sound setup out of the box. Does anyone have any ideas on how to get this working?

My computer connects to my monitor using DisplayPort. The sound worked fine on Windows 10.

- I've installed pavucontrol. No other output devices are showing up other than the default built-in sound card.

- I previously had HP Sure Start enabled in BIOS. I read that this can conflict with drivers, so have it all disabled now. No effect.

lspci -v | grep -i audio

Code: Select all

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
pacmd list-cards

Code: Select all

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x4000100000 irq 141"
		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 = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: no)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-surround-40>
	sinks:
		alsa_output.pci-0000_00_1f.3.analog-surround-40/#0: Built-in Audio Analog Surround 4.0
	sources:
		alsa_output.pci-0000_00_1f.3.analog-surround-40.monitor/#0: Monitor of Built-in Audio Analog Surround 4.0
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20632 Analog [CX20632 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Thank you for any help!
Gary
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by MrEen »

Hi garye, and welcome to the forum.

Let's get a look at your sound setup with this command:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
The last line of output will have a URL pointing to the info. Pasting that URL is all I need.

The full output of inxi -Fxz might be helpful as well, as you're not showing any HDMI audio card in those other outputs. This could be a graphics driver issue.
garye
Level 1
Level 1
Posts: 6
Joined: Tue Apr 06, 2021 12:19 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by garye »

Hi MrEen, thanks for the reply.

Sure, here's the output of both of those;

https://termbin.com/tfzg

inxi -Fxz

Code: Select all

System:
  Kernel: 5.4.0-70-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: HP product: HP ProDesk 600 G4 DM (TAA) v: N/A 
  serial: <filter> 
  Mobo: HP model: 83EF v: KBC Version 07.D1.00 serial: <filter> UEFI: HP 
  v: Q22 Ver. 02.15.00 date: 12/28/2020 
CPU:
  Topology: 6-Core model: Intel Core i5-8500T bits: 64 type: MCP 
  arch: Kaby Lake rev: A L2 cache: 9216 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 25199 
  Speed: 800 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 897 2: 896 
  3: 875 4: 897 5: 871 6: 891 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Hewlett-Packard driver: i915 
  v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  tty: N/A 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.4.0-70-generic 
Network:
  Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi 
  v: kernel port: 3000 bus ID: 00:14.3 
  IF: wlp0s20f3 state: up mac: <filter> 
  Device-2: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e 
  v: 3.2.6-k port: efa0 bus ID: 00:1f.6 
  IF: eno1 state: down mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 53.69 GiB (22.5%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HAHQ-000H1 
  size: 238.47 GiB 
Partition:
  ID-1: / size: 233.24 GiB used: 53.68 GiB (23.0%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 277 Uptime: 5h 32m Memory: 15.42 GiB used: 3.73 GiB (24.2%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by MrEen »

Okay, your HDMI audio is part of the built-in sound card. This error is stopping it from working:

Code: Select all

snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 6 not registered
I've not seen that before, but I'll try to find the best path forward. Might be a day or two before I have something but maybe someone else with jump in with ideas.

EDIT: I would give this a shot if this were me in the situation: Update Manager > View > Linux kernels ... try the newest 5.8 kernel and see if that solves this.
garye
Level 1
Level 1
Posts: 6
Joined: Tue Apr 06, 2021 12:19 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by garye »

Thank you for your help!

I've upgraded to the latest 5.8 kernel, but it did not resolve it.

I'll keep researching too. Any other suggestions would be welcome.

Have a great day,
Gary
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by MrEen »

Let's see this again with the new kernel now running:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
garye
Level 1
Level 1
Posts: 6
Joined: Tue Apr 06, 2021 12:19 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by garye »

Hey MrEen,

Here's the latest; https://termbin.com/lq1h

I was able to install a slightly higher "use at your own risk" kernel (kernel 5.8.0-49-generic) but no change.

Thank you for any help!
Gary
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by MrEen »

See if this is possible.

Go into your BIOS and disable audio for one boot, then enable it again on the next boot. Also try to check if there's a BIOS update for your computer.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by MrEen »

A very similar and very recent Manjaro thread was solved by reinstalling the OS: https://forum.manjaro.org/t/hdmi-audio-gone/60192/7

That might be what you need to do as well.
garye
Level 1
Level 1
Posts: 6
Joined: Tue Apr 06, 2021 12:19 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by garye »

Thank you for your continued help, MrEen!

Tried disabling the audio device and booting, then switching back on. No effect.

I've booted Mint Live and Ubuntu Live, same thing, no audio. It's sounding more likely my audio device is not supported by the current kernel or the one's I've been able to install so far.

Maybe a Linux supported USB graphics card dongle could work? My monitor supports HDMI, I'm only using DP because that's what my computer base has.

I appreciate your help. I'll keep looking. This is a fresh install of Linux Mint, I can try reinstalling but if the Live versions don't work, I'm doubtful.

Gary
garye
Level 1
Level 1
Posts: 6
Joined: Tue Apr 06, 2021 12:19 pm

Re: LM 20.1 Sound Not Working through Display Port to Samsung Monitor w/ Built-in Speakers

Post by garye »

A year later, I've found a solution to this issue and am updating here in case it helps someone else who finds this thread.

Following the directions from this thread: https://github.com/clearlinux/distribution/issues/2396, I installed hdajackretask and used the override on Pin 6, installed boot override, rebooted and had all HDMI options showing up in my Pulse Configuration page. My monitor speakers now work flawlessly.

Gary
Locked

Return to “Graphics Cards & Monitors”