<Solved>LM 20.2 Getting Sound out of onboard HDMI

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
solarbear
Level 2
Level 2
Posts: 72
Joined: Mon Apr 30, 2018 4:27 am

<Solved>LM 20.2 Getting Sound out of onboard HDMI

Post by solarbear »

I want to use my motherboard HDMI to send signal to TV, but the sound isn't working although the video signal is working good. I have sound through my Nvidia card HDMI , but it is signaling to my 1920x1080. the motherboard is Intel 6 Series/C200 Series Family High Definition Audio

here is my inxi:

Code: Select all

System:
  Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: MATE 1.24.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: Dell product: Inspiron 620 v: 00 serial: <filter> 
  Mobo: Dell model: 0GDG8Y v: A00 serial: <filter> BIOS: Dell v: A02 
  date: 07/27/2011 
CPU:
  Topology: Quad Core model: Intel Core i5-2400 bits: 64 type: MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 6144 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24742 
  Speed: 1596 MHz min/max: 1600/3400 MHz Core speeds (MHz): 1: 1596 2: 1596 
  3: 1596 4: 1596 
Graphics:
  Device-1: NVIDIA GT215 [GeForce GT 240] vendor: eVga.com. driver: nvidia 
  v: 340.108 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.11 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa 
  resolution: 1680x1050~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: GeForce GT 240/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: NVIDIA High Definition Audio vendor: eVga.com. 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.0-88-generic 
Network:
  Device-1: Qualcomm Atheros AR5418 Wireless Network Adapter [AR5008E 
  802.11bgn] 
  vendor: D-Link System DWA-556 Xtreme N driver: ath9k v: kernel port: e000 
  bus ID: 04:00.0 
  IF: wlp4s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Dell driver: r8169 v: kernel port: d000 bus ID: 05:00.0 
  IF: enp5s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 2.05 TiB used: 363.27 GiB (17.3%) 
  ID-1: /dev/sda vendor: Western Digital model: WD20EZRZ-22Z5HB0 
  size: 1.82 TiB 
  ID-2: /dev/sdb vendor: Western Digital model: WD2500AAKX-08ERMA0 
  size: 232.89 GiB 
Partition:
  ID-1: / size: 1.79 TiB used: 363.27 GiB (19.8%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 63 C 
  Fan Speeds (RPM): cpu: 474 mobo: 1366 
Info:
  Processes: 194 Uptime: 10h 36m Memory: 7.76 GiB used: 4.07 GiB (52.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 

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.2 Getting Sound out of onboard HDMI

Post by MrEen »

Hi solarbear,

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.

It's a bit overkill for this, but that one prevents me from needing to keep asking for new outputs.
solarbear
Level 2
Level 2
Posts: 72
Joined: Mon Apr 30, 2018 4:27 am

Re: LM 20.2 Getting Sound out of onboard HDMI

Post by solarbear »

ok, i think it executed properly..

https://termbin.com/l3my
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.2 Getting Sound out of onboard HDMI

Post by MrEen »

Well, nuts!

I'm not seeing a second HDMI option that I was expecting to see:
Card #1
Name: alsa_card.pci-0000_00_1b.0
Driver: module-alsa-card.c
Owner Module: 8
Properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xfb300000 irq 36"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1c20"
device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
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 (sinks: 0, sources: 1, priority: 65, available: no)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: no)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)

Active Profile: off
Try looking in your BIOS to see if there's anything audio related you can try changing there.

I doubt this will help, but let's also look for errors with this command:

Code: Select all

dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'
solarbear
Level 2
Level 2
Posts: 72
Joined: Mon Apr 30, 2018 4:27 am

Re: LM 20.2 Getting Sound out of onboard HDMI

Post by solarbear »

apologies,

My motherboard HDMI takes precedence during boot and sends the signal to the TV first for post screen and then grub also so i unplugged it, but i also have a 26 inch monitor with built in speakers so i will plug the mobo HDMI into that for the reading because the TV is busy right now...brb

here is the updated inxi with the mobo hdmi plugged in

Code: Select all

Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GT215 [GeForce GT 240] vendor: eVga.com. driver: nvidia 
  v: 340.108 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.11 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa 
  resolution: 1680x1050~60Hz, 1920x1080~60Hz, 1920x1200~60Hz 
  OpenGL: renderer: GeForce GT 240/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: NVIDIA High Definition Audio vendor: eVga.com. 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.0-88-generic 


and the updated audio URL

https://termbin.com/88gfe

and here is the error report

Code: Select all

$ dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[    0.131795] ACPI: Added _OSI(Linux-Dell-Video)
[    0.131795] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.131795] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[    0.633724] Freeing initrd memory: 86016K
[    0.633772] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.633773] software IO TLB: mapped [mem 0xa6d89000-0xaad89000] (64MB)
[    0.633971] check: Scanning for low memory corruption every 60 seconds
--
[   20.749343] nvidia_uvm: Loaded the UVM driver, major device number 238
[   21.329418] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   21.329574] snd_hda_intel 0000:01:00.1: Disabling MSI
[   21.329578] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   21.728756] snd_hda_codec_conexant hdaudioC0D2: CX20641: BIOS auto-probing.
[   21.729335] snd_hda_codec_conexant hdaudioC0D2: autoconfig for CX20641: line_outs=1 (0x1c/0x0/0x0/0x0/0x0) type:line
[   21.729336] snd_hda_codec_conexant hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   21.729337] snd_hda_codec_conexant hdaudioC0D2:    hp_outs=1 (0x19/0x0/0x0/0x0/0x0)
[   21.729337] snd_hda_codec_conexant hdaudioC0D2:    mono: mono_out=0x0
[   21.729338] snd_hda_codec_conexant hdaudioC0D2:    inputs:
[   21.729340] snd_hda_codec_conexant hdaudioC0D2:      Rear Mic=0x1b
[   21.729341] snd_hda_codec_conexant hdaudioC0D2:      Front Mic=0x1a
[   21.729341] snd_hda_codec_conexant hdaudioC0D2:      Line=0x1d
[   21.832912] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   21.832961] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   21.833001] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   21.833043] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   21.833083] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[   21.833123] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[   22.651042] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[   22.651152] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[   22.651206] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
[   22.651255] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
[   24.792368] audit: type=1400 audit(1632893194.097:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="system_tor" pid=636 comm="apparmor_parser"
--
[   49.987309] Console: switching to colour frame buffer device 240x75
[  123.586010] snd_hda_codec_hdmi hdaudioC1D1: HDMI: invalid ELD data byte 75
[  123.718007] snd_hda_codec_hdmi hdaudioC1D1: HDMI: invalid ELD data byte 2
[  161.630340] wlp4s0: authenticate with f0:81:75:da:14:36

I will look in BIOS for audio settings, but this being a Dell PC, the options are kind of limited, although, the integrated video option is a sweet deal, combining mobo video outs with the video card.


i just did a audio check, low and behold, the mobo hdmi is sending sound to my 26 inch monitor, it wasn't doing that with the TV, it just read dummy output
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.2 Getting Sound out of onboard HDMI

Post by MrEen »

I know this will sound silly, but did you check the TV's volume when you were plugged into that?
solarbear
Level 2
Level 2
Posts: 72
Joined: Mon Apr 30, 2018 4:27 am

Re: LM 20.2 Getting Sound out of onboard HDMI

Post by solarbear »

That is something that actually does vary like wild... different signals , different volumes. I have to adjust the TV volume all the time with the different inputs (DVD player, airwaves, streaming, etc)

When i looked in sound properties, i saw dummy output so i knew the signal wasn't complete.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: LM 20.2 Getting Sound out of onboard HDMI

Post by MrEen »

Okay, the Dummy Output was probably because you turned of the built-in sound card, and the Nvidia card for some reason wasn't working audio-wise.

The best thing I have at the moment is to run pulseaudio -k in the terminal the next time that happens and see if that kicks it into gear.
solarbear
Level 2
Level 2
Posts: 72
Joined: Mon Apr 30, 2018 4:27 am

Re: LM 20.2 Getting Sound out of onboard HDMI

Post by solarbear »

ok, i will keep that in mind, thanks for the assist, this topic can be tagged as solved
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: <Solved>LM 20.2 Getting Sound out of onboard HDMI

Post by MrEen »

You're welcome. :D
Locked

Return to “Sound”