HDMI audio appears, but no sound plays after Mint 19 update.

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
2kreate
Level 1
Level 1
Posts: 4
Joined: Sun Sep 09, 2018 10:06 pm

HDMI audio appears, but no sound plays after Mint 19 update.

Post by 2kreate » Sun Sep 09, 2018 10:46 pm

Hello all,

I have been hunting a sound issue for most of the day, on top of several troubleshooting sessions throughout the week. I am somewhat exhausted and am looking for some help. The HDMI audio out shows up in the listed PulseAudio output devices (as "HDMI/DisplayPort GP107GL High Definition Audio Controller"), but does not play any sound when selected. Audio works fine through the laptop speakers, and also works great in Windows 10 on HDMI out (dual boot).

I have tried many solutions to this problem, including all of the following (not an exhaustive list, as I've been working on this for almost a week):
  • Upgrade ALSA from these instructions: https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
  • Delete config, reset & reinstall PulseAudio from several different sets of instructions.
  • Changing PulseAudio settings through the CLI. (with pacmd)
  • Installing and fiddling with pavucontrol
I am running Linux Mint 19 Cinnamon, my HDMI port is on my GeForce GTX 1050 Ti, and my Nvidia driver is 390.48. Display works fine. I have had audio working in the past on 18.3, although it would return sound to system speakers when lockout screen was activated, display resolution was changed, or laptop was shut and then reopened. *At least it worked then... All I had to do was restart!*

It appears to me that I am using the same driver for both audio devices. Is this problematic? I could not find much data in regard to that. Just a thought that I had.

I appreciate any hep I can get!!

/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) (prog-if 80)
Subsystem: Dell CM238 HD Audio Controller
Flags: bus master, fast devsel, latency 32, IRQ 128
Memory at df328000 (64-bit, non-prefetchable) [size=16K]
Memory at df300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

--
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
Subsystem: Dell GP107GL High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at df080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
inxi -Fxz | grep -i -A1 audio
Audio: Card-1 Intel CM238 HD Audio Controller driver: snd_hda_intel bus-ID: 00:1f.3
Card-2 NVIDIA GP107GL High Definition Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic

/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
sudo lshw | grep -i -A10 audio
description: Audio device
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0.1
bus info: pci@0000:01:00.1
version: a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:17 memory:df080000-df083fff
--
description: Audio device
product: Intel Corporation
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 31
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:128 memory:df328000-df32bfff memory:df300000-df30ffff

/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
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 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
System Info:

System: Host: 2kreate Kernel: 4.15.0-33-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1) dm: lightdm Distro: Linux Mint 19 Tara
Machine: Device: laptop System: Dell product: Inspiron 15 7000 Gaming serial: N/A
Mobo: Dell model: 065C71 v: X02 serial: N/A UEFI: Dell v: 1.6.0 date: 03/27/2018
Chassis: type: 10 serial: N/A
Battery BAT0: charge: 68.1 Wh 100.0% condition: 68.1/74.0 Wh (92%) volts: 13.1/11.4
model: SMP DELL 71JF452 serial: <filter>status: Full
hidpp__0: charge: N/A condition: NA/NA Wh volts: NA
model: Logitech Wireless Mouse M325 serial: <filter>status: Discharging
CPU: Quad core Intel Core i7-7700HQ (-MT-MCP-) arch: Skylake rev.9 cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 22464
clock speeds: min/max: 800/3800 MHz 1: 1299 MHz 2: 1741 MHz 3: 1319 MHz 4: 1351 MHz
5: 1552 MHz 6: 1342 MHz 7: 1351 MHz 8: 1488 MHz
Graphics: Card-1: Intel Device 591b bus-ID: 00:02.0 chip-ID: 8086:591b
Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] bus-ID: 01:00.0 chip-ID: 10de:1c8c
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1920x1080@29.97hz, 1920x1080@60.01hz
OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2
version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio: Card-1 Intel CM238 HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:a171
Card-2 NVIDIA GP107GL High Def. Audio Controller
driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0fb9
Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168
IF: enp2s0 state: down mac: <filter>
Card-2: Intel Wireless 3165 driver: iwlwifi bus-ID: 03:00.0 chip-ID: 8086:3165
IF: wlp3s0 state: up mac: <filter>
Drives: HDD Total Size: 1128.2GB (8.4% used)
ID-1: /dev/sda model: SanDisk_X400_M.2 size: 128.0GB serial: <filter>
ID-2: /dev/sdb model: Samsung_SSD_860 size: 1000.2GB serial: <filter>
Partition: ID-1: / size: 275G used: 76G (30%) fs: ext4 dev: /dev/sdb2
ID-2: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
ID-3: swap-2 size: 10.00GB used: 0.00GB (0%) fs: swap dev: /dev/sdb4
RAID: System: supported: N/A
No RAID devices: /proc/mdstat, md_mod kernel module present
Unused Devices: none
Sensors: System Temperatures: cpu: 56.0C mobo: N/A gpu: 0.0:52C
Fan Speeds (in rpm): cpu: N/A
Repos: Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http: //mirrors.evowise.com/linuxmint/packages tara main upstream import backport
deb http: //ny-mirrors.evowise.com/ubuntu bionic main restricted universe multiverse
deb http: //ny-mirrors.evowise.com/ubuntu bionic-updates main restricted universe multiverse
deb http: //ny-mirrors.evowise.com/ubuntu bionic-backports main restricted universe multiverse
deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http: //archive.canonical.com/ubuntu/ bionic partner
Active apt sources in file: /etc/apt/sources.list.d/vscode.list
deb [arch=amd64] http: //packages.microsoft.com/repos/vscode stable main
Info: Processes: 262 Uptime: 7 min Memory: 2223.6/15906.1MB
Init: systemd v: 237 runlevel: 5 default: graphical.target Gcc sys: 7.3.0
Client: Unknown python3.6 client inxi: 2.3.56

User avatar
MrEen
Level 7
Level 7
Posts: 1691
Joined: Mon Jun 12, 2017 8:39 pm

Re: HDMI audio appears, but no sound plays after Mint 19 update.

Post by MrEen » Mon Sep 10, 2018 7:49 am

Hi 2kreate, and welcome to the forum.

Having the same driver for onboard and HDMI sound isn't an issue, but I've read that when HDMI is not the first card it can be problematic.

My first suggestion is double check the Configuration tab of pavucontrol that the HDMI setting is correct. Also, if you tend to use HDMI only, you could turn the other one to Off. Also, ensure nothing is muted. Both pavucontrol and alsamixer can be useful for that.

If that doesn't help, start a song or video and issue pacmd list-sinks in the terminal and paste the output back here. Enclose the results in-between [ⅽode] and [/ⅽode] code markers by selecting </> from the mini toolbar above the textbox where you type your reply.

Good luck.

EDIT TO ADD: In case I forget later, it might be the default sample rate causing the issue.

2kreate
Level 1
Level 1
Posts: 4
Joined: Sun Sep 09, 2018 10:06 pm

Re: HDMI audio appears, but no sound plays after Mint 19 update.

Post by 2kreate » Tue Sep 11, 2018 5:09 pm

MrEen,

Oddly enough, I upgraded the Linux Kernel today to 4.15.0-34-generic from 4.15.0-33-generic, and I'm back to the same level of functionality as before. Simply restart my machine after I have HDMI plugged in (or restart if I hibernate/close laptop/change resolution), and good to go!

Gotta love it when a problem fixes itself!

This isn't exactly the ideal, but as long as it functions I'm happy.

Thanks for your response.

User avatar
MrEen
Level 7
Level 7
Posts: 1691
Joined: Mon Jun 12, 2017 8:39 pm

Re: HDMI audio appears, but no sound plays after Mint 19 update.

Post by MrEen » Tue Sep 11, 2018 5:27 pm

While it would have been nice to know WHY it wasn't working, it really just matters THAT it works.

Glad you're fixed. :)

Post Reply

Return to “Sound, Multimedia, & Codecs”