No hdmi option in Pulse audio LM20.1

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

No hdmi option in Pulse audio LM20.1

Post by oliverjames »

I have a fresh install of LM20.1 xfce on modern i7 7th gen laptop. When I try outputting sound via hdmi I note that in Pavucontrol there is no hdmi device listed. I kept the Win10 OS and confirm that plugging hdmi on that one did give me sound output.

Has anyone found fix for this please?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: No hdmi option in Pulse audio LM20.1

Post by Moonstone Man »

oliverjames wrote: Thu Mar 25, 2021 1:40 pm Has anyone found fix for this please?
Without knowing what needs to be fixed, it's impossible to say. Please post the output of inxi -Fxz from a terminal and enclose it in code tags [code]output.here[/code]. You'll see the code tags icon </> when you reply. Also, please read this link: how to get help, especially section 5. It will tell you what we need to be told so that we can assist you.
User avatar
hglee
Level 6
Level 6
Posts: 1423
Joined: Fri Jun 22, 2018 4:31 pm

Re: No hdmi option in Pulse audio LM20.1

Post by hglee »

oliverjames wrote:I kept the Win10 OS...


Confirm that Secure Boot is disabled in your BIOS, as it's known to interfere with device drivers.

If you're dual-booting with Windows, also confirm that Fast Boot is disabled (or "Minimal" for Dell) in your BIOS, and that Fast Startup is disabled in Windows power management. Disable Fast Boot in BIOS, then boot Windows to disable Fast Startup, then power down for a moment before booting Mint.


Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

Kadaitcha Man wrote: Thu Mar 25, 2021 11:41 pm
oliverjames wrote: Thu Mar 25, 2021 1:40 pm Has anyone found fix for this please?
Without knowing what needs to be fixed, it's impossible to say. Please post the output of inxi -Fxz from a terminal and enclose it in code tags [code]output.here[/code]. You'll see the code tags icon </> when you reply. Also, please read this link: how to get help, especially section 5. It will tell you what we need to be told so that we can assist you.
You're right, guilty as charged.
Here is the Inxi output

Code: Select all

richard@Dell7480:~$ inxi -Fxz
System:
  Kernel: 5.4.0-67-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Xfce 4.14.2 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Dell product: Latitude 7480 v: N/A serial: <filter> 
  Mobo: Dell model: 00F6D3 v: A00 serial: <filter> UEFI: Dell v: 1.19.0 
  date: 07/26/2020 
Battery:
  ID-1: BAT0 charge: 38.4 Wh condition: 38.4/60.0 Wh (64%) 
  model: Samsung SDI DELL V494081 status: Full 
CPU:
  Topology: Dual Core model: Intel Core i7-7600U bits: 64 type: MT MCP 
  arch: Amber Lake rev: 9 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 23199 
  Speed: 900 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 900 2: 884 
  3: 899 4: 886 
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.4.0-67-generic 
Network:
  Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k 
  port: f040 bus ID: 00:1f.6 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: f040 
  bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 34.18 GiB (7.2%) 
  ID-1: /dev/sda vendor: Samsung model: SSD PM871b M.2 2280 512GB 
  size: 476.94 GiB 
Partition:
  ID-1: / size: 24.17 GiB used: 8.66 GiB (35.8%) fs: ext4 dev: /dev/sda6 
  ID-2: /home size: 4.64 GiB used: 253.3 MiB (5.3%) fs: ext4 dev: /dev/sda7 
  ID-3: swap-1 size: 15.37 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda8 
Sensors:
  System Temperatures: cpu: 26.5 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 212 Uptime: 3m Memory: 15.50 GiB used: 1.24 GiB (8.0%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 
Turned off secure boot as par hglee suggestion (the only setting that didn't comply with his suggestion. And still no hdmi option in pavu "configure".

Thank you.
Attachments
Screenshot_2021-03-26_10-10-24.png
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

hglee wrote: Fri Mar 26, 2021 12:57 am
oliverjames wrote:I kept the Win10 OS...
Confirm that Secure Boot is disabled in your BIOS, as it's known to interfere with device drivers.

If you're dual-booting with Windows, also confirm that Fast Boot is disabled (or "Minimal" for Dell) in your BIOS, and that Fast Startup is disabled in Windows power management. Disable Fast Boot in BIOS, then boot Windows to disable Fast Startup, then power down for a moment before booting Mint.

I've turned off Secure boot. Your other suggestions were already done. Still no hdmi output option in pulse audio.

Thank you.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: No hdmi option in Pulse audio LM20.1

Post by Moonstone Man »

oliverjames wrote: Fri Mar 26, 2021 5:14 am Thank you.
I've done nothing to warrant that but I'll take it anyway.

<runs off>

On a more serious note, MrEen is our resident sound guru and you're going to need his in-depth knowledge. While you wait, this three year old article might provide you some clues and reading material: viewtopic.php?p=1503984#p1503984

I don't recommend following any instructions in that thread except the ones in the linked post asking for the terminal output from several commands. That way, you'll have everything ready for MrEen when he arrives.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

[/quote]
I don't recommend following any instructions in that thread except the ones in the linked post asking for the terminal output from several commands. That way, you'll have everything ready for MrEen when he arrives.
[/quote]

Thanks again, I'll take a look at that. Yes MrEen is the man for sound, a saxophone player as well I believe, so I hope he can help.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

[/quote]
On a more serious note, MrEen is our resident sound guru and you're going to need his in-depth knowledge. While you wait, this three year old article might provide you some clues and reading material: viewtopic.php?p=1503984#p1503984

I don't recommend following any instructions in that thread except the ones in the linked post asking for the terminal output from several commands. That way, you'll have everything ready for MrEen when he arrives.
[/quote]

OK, I've read MrEen's post and this is the output requested:

Code: Select all

richard@Dell7480:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.3 Serial controller: Intel Corporation Sunrise Point-LP Active Management Technology - SOL (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)

Code: Select all

richard@Dell7480:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 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
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: Select all

richard@Dell7480:~$ dmesg | grep -i snd
[    4.055998] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    4.056223] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.129638] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.129640] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.129641] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.129642] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.129643] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.129644] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    4.129645] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
[    4.129646] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
I hope that helps.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

A little more information. I've restored Secure boot in the BIOS so my Dell laptop is set to boot in UEFI, Secure boot mode.

Win10 outputs sound through HDMI
LM20.1xfce doesn't appear to recognise the HDMI sound source, no HDMI sound output
MX Linux doesn't recognise the HDMI sound source, no HDMI sound output
LM19.3xfce doesn't appear to recognise the HDMI sound source, no HDMI sound output

Referring back to my old ACER laptop, this predates the UEFI, Secure boot stuff and has no apparent issues with HDMI sound as indicated by the screenshot (although I notice greater resource use if I output the video via HDMI)

For reference I'll run the same MrEen checks for the ACER:
richard@Timelinx:~$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev ff)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation HM55 Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M] (rev ff)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series] (rev ff)
02:00.0 Ethernet controller: Qualcomm Atheros AR8151 v1.0 Gigabit Ethernet (rev c0)
03:00.0 Network controller: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
7f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
7f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
7f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
7f:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 02)
7f:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
7f:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
richard@Timelinx:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC271X Analog [ALC271X Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC271X Digital [ALC271X Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
richard@Timelinx:~$ dmesg | grep -i snd
[ 5.829380] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[ 5.829794] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 5.830479] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 5.910172] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC271X: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 5.910176] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.910179] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 5.910180] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 5.910182] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
[ 5.910183] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 5.910186] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
[ 5.910188] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
Please let me know if that suggests a fix.
Attachments
Screenshot_2021-03-27_14-52-39.png
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

Web surfing suggests that this is an issue for many. Found this https://bbs.archlinux.org/viewtopic.php?id=225346 which looks promising. I'll see if that holds a solution.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No hdmi option in Pulse audio LM20.1

Post by MrEen »

I'm back!

Radeon audio is finicky on Ubuntu-based distros. Now that it is showing as being there, you need to set the Profile to something usable on that Configuration tab of pavucontrol. And this assumes that's where the audio is coming from. Some HDMI audio actually comes for the built-in card. These commands should help us verify the correct setting:

Code: Select all

pacmd list-cards

Code: Select all

pacmd list-sinks
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

MrEen wrote: Sat Mar 27, 2021 11:10 am I'm back!

Radeon audio is finicky on Ubuntu-based distros. Now that it is showing as being there, you need to set the Profile to something usable on that Configuration
Thats great, Hi MrEen. Seems I posted too much info, the second set of data related to my old ACER laptop. Notwithstanding the Radeon, with LM19.3 it works astonishingly well, particularly regarding sound. I juggle between Zoom, Teams and Skype, hot plugging wireless headsets...and whatever I throw at it just works.
The problem is with my newly acquired Dell laptop (10 years younger) for which the first data set applies. And here is the additional output you requested:

Code: Select all

richard@Dell7480:~$ pacmd list-cards
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 0xec248000 irq 127"
		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.product.name = "Sunrise Point-LP HD Audio"
		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: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5965, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headphone-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-headset-mic: Headset Microphone (priority 8800, 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"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "ASUS VH242H"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

Code: Select all

richard@Dell7480:~$ pacmd list-sinks
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 DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 30129 /  46% / -20,25 dB,   front-right: 30129 /  46% / -20,25 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
	configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
	card: 0 <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 = "ALC3246 Analog"
		alsa.id = "ALC3246 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 0xec248000 irq 127"
		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.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		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 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No hdmi option in Pulse audio LM20.1

Post by MrEen »

No worries, I can still see from those outputs where your issue lies. Run this and test the sound:

Code: Select all

pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:hdmi-stereo
I'm guessing at which profile should work, but I think that'll be the one.

And if no sound, then run this:

Code: Select all

pacmd set-default-sink alsa_output.pci-0000_00_1f.3.hdmi-stereo
Use this for testing as sometimes making changes requires restarting the sound playing app to pick up the changes:

Code: Select all

aplay /usr/share/sounds/alsa/Front_Center.wav
We can tinker with these once we know what works.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

MrEen wrote: Sat Mar 27, 2021 9:03 pm No worries, I can still see from those outputs where your issue lies. Run this and test the sound:

Code: Select all

pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:hdmi-stereo
I'm guessing at which profile should work, but I think that'll be the one.

And if no sound, then run this:

Code: Select all

pacmd set-default-sink alsa_output.pci-0000_00_1f.3.hdmi-stereo
Use this for testing as sometimes making changes requires restarting the sound playing app to pick up the changes:

Code: Select all

aplay /usr/share/sounds/alsa/Front_Center.wav
We can tinker with these once we know what works.
Thank you, and well done, the first script did the job. Pavu now gives one profile box with scroll down choices for the different card options (see image). I'll try the sound with different video conferencing Apps and see how that goes.

I guess that this sound issue stems from the UEFI/Secure boot BIOS settings impact on Linux systems. As noted above, two LM xfce systems and MX Linux show the same lack of hdmi sound, but Win10 wasn't affected.
Attachments
Screenshot_2021-03-28_15-21-28.png
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No hdmi option in Pulse audio LM20.1

Post by MrEen »

I'm glad that worked so far.

I forgot about input in the above. You'll probably want to change the edit we made to this:

Code: Select all

pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:hdmi-stereo+input:analog-stereo
Assuming that also works fine, we can then automate this this way:

In the terminal run xed admin:///etc/pulse/default.pa and when the file opens add this to the bottom:

Code: Select all

set-card-profile alsa_card.pci-0000_00_1f.3 output:hdmi-stereo+input:analog-stereo
Save the file and reboot and hopefully everything just works from now on.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

MrEen wrote: Sun Mar 28, 2021 10:35 am I'm glad that worked so far.

I forgot about input in the above. You'll probably want to change the edit we made to this:

Code: Select all

pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:hdmi-stereo+input:analog-stereo
Assuming that also works fine, we can then automate this this way:

In the terminal run xed admin:///etc/pulse/default.pa and when the file opens add this to the bottom:

Code: Select all

set-card-profile alsa_card.pci-0000_00_1f.3 output:hdmi-stereo+input:analog-stereo
Save the file and reboot and hopefully everything just works from now on.
Thank you. That works for outputting sound via hdni. So far I've only had a chance to try Skpype, which works and hence so should Teams.

It would be good to find a means of adding the hdmi sink as a separate profile )as in the above illustration for my LM 19.3 installation. If I plug in a wireless headset for example I get a dedicated profile for it. This appears to permit automatic change of output device.
However I've just checked by otplugging hdmi with LM 19.3 and it doesn't work automatically either. Apologies, I've always been a bit of a perfectionist!

I'll play about with it a little and then mark the issue as solved. Thanks again MrEen.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No hdmi option in Pulse audio LM20.1

Post by MrEen »

oliverjames wrote: Tue Mar 30, 2021 5:24 am It would be good to find a means of adding the hdmi sink as a separate profile )as in the above illustration for my LM 19.3 installation.
That was something I thought was "undoable" when the HDMI and built-in sound were all on the same card as in your case. I've since learned there is a way to split the card into 2 choices, but I'll probably struggle to find a link for the steps. Hopefully sometime this weekend I'll have something for you to try.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

MrEen wrote: Thu Apr 01, 2021 7:12 pm
oliverjames wrote: Tue Mar 30, 2021 5:24 am It would be good to find a means of adding the hdmi sink as a separate profile )as in the above illustration for my LM 19.3 installation.
That was something I thought was "undoable" when the HDMI and built-in sound were all on the same card as in your case. I've since learned there is a way to split the card into 2 choices, but I'll probably struggle to find a link for the steps. Hopefully sometime this weekend I'll have something for you to try.
Thank you MrEen. That is interesting to know, I guess sharing cards saves space and manufacturing cost. But it's a holiday weekend so please don't spend too much time on that.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No hdmi option in Pulse audio LM20.1

Post by MrEen »

I found the link: https://unix.stackexchange.com/question ... audio-card

I helped a user many months ago with the same thing and they got it working to have HDMI and Analog as separate select-able sinks. I then tried to help another user with the same thing and it didn't go so well.

Give the accepted answer there a read through and let me know if you want to try it. Or even give it a shot on your own. I don't have a card like yours, so I cannot experiment with something like that.
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: No hdmi option in Pulse audio LM20.1

Post by oliverjames »

MrEen wrote: Sun Apr 04, 2021 3:46 pm I found the link: https://unix.stackexchange.com/question ... audio-card

I helped a user many months ago with the same thing and they got it working to have HDMI and Analog as separate select-able sinks. I then tried to help another user with the same thing and it didn't go so well.

Give the accepted answer there a read through and let me know if you want to try it. Or even give it a shot on your own. I don't have a card like yours, so I cannot experiment with something like that.
I had a quick look at the link, which looks promising, Thank you. I'll give it a go mid-week when I'll have more time, and let you know the result.
Locked

Return to “Hardware Support”