[Solved] Getting hdmi sound output, but no speakers or headphones

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Ulysses

[Solved] Getting hdmi sound output, but no speakers or headphones

Post by Ulysses »

Hi, I recently switched from win10 to mint on my laptop, and can't claim to have any prior experience with linux based os's.
So far I'm having a couple of issues, and I'm hoping I could find some help here.

results of inxi -Fxz:

Code: Select all

System:    Host: max-XPS-13-9343 Kernel: 4.15.0-34-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Dell product: XPS 13 9343 v: 01 serial: N/A
           Mobo: Dell model: 0310JH v: A00 serial: N/A
           UEFI: Dell v: A00 date: 11/04/2014
Battery    BAT0: charge: 29.6 Wh 76.5% condition: 38.7/54.0 Wh (72%)
           model: Sanyo DELL 0DRRP53 status: Charging
CPU:       Dual core Intel Core i7-5500U (-MT-MCP-) 
           arch: Broadwell rev.4 cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9578
           clock speeds: max: 3000 MHz 1: 947 MHz 2: 1389 MHz 3: 1129 MHz
           4: 1438 MHz
Graphics:  Card: Intel HD Graphics 5500 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 3200x1800@59.98hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel Broadwell-U Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-34-generic
Network:   Card: Broadcom Limited BCM4352 802.11ac Wireless Network Adapter
           driver: wl bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 512.1GB (6.2% used)
           ID-1: /dev/sda model: Toshiba_THNSNJ51 size: 512.1GB
Partition: ID-1: / size: 468G used: 30G (7%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 58.0C mobo: 25.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 220 Uptime: 23 min Memory: 1146.5/7880.8MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
result of aplay -l:

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  
I've tried reloading alsa with no result, I'm also getting no sound in the live version when I boot from usb.
I did a sound test in the pc BIOS which worked fine, so I doesn't seem to be a hardware problem.
I've installed PAVC, but only hdmi outputs are displayed as an option.
Let me know if you can help, and if there's anymore info you need from me. I'd love to get this issue resolved so I can get my laptop back to a funcitonal state.
- U
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.
gm10

Re: Getting hdmi sound output, but no speakers or headphones

Post by gm10 »

Known issue with your device. Seems to depend on BIOS and kernel version and a few other factors, see here:
https://wiki.archlinux.org/index.php/De ... 343)#Audio

Based on that I'd say before changing anything, first try this in a terminal window:

Code: Select all

sudo modprobe -r snd_hda_intel; sudo modprobe snd_hda_intel index=1,0
You might have to reload alsa again after that as well to see the effect, if any, not sure.

A BIOS update seems like a sensible idea to explore no matter what.

If you want to try the latest 4.18 kernel series, I explained here how to do that at the moment: viewtopic.php?p=1525706#p1525706 - I doubt this will make a difference given how old your hardware is but you never know, might help in particular in combination with the latest BIOS.

There's also this bug report https://bugs.launchpad.net/ubuntu/+sour ... ug/1413446 mentioning this workaround:
A workaround is to pass acpi_os='!Windows 2013' as a kernel parameter, but this is non-optimal since the mode of the touchpad is affected. It also results in an alternate, less used and tested path in the firmware to be used.
Ulysses

Re: [Solved] Getting hdmi sound output, but no speakers or headphones

Post by Ulysses »

Thanks for the quick reply!

I tried the modprobe first, but it didn't really do anything. Then I updated my BIOS to the newest version and now everything works!
Thank you so much, now I can get back to familiarizing myself with linux.

I've marked my post as solved in the title, let me know if there's anything else I need to do on my end.

- U
gm10

Re: [Solved] Getting hdmi sound output, but no speakers or headphones

Post by gm10 »

Ulysses wrote: Thu Sep 27, 2018 10:58 pm let me know if there's anything else I need to do on my end.
Nope, you're all good, I just threw everything at you that I had, glad something stuck. ;)
Locked

Return to “Sound”