Audio through HDMI not working

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Audio through HDMI not working

Postby Avoozl » 2018-07-01 19:15

I have a second monitor (TV) connected through HDMI and I can't get the audio to work through those speakers. My system detects two devices: when running VLC I can see both "built-in analog" and "HDMI" in audio devices but when switching to HDMI it simply does not play any sound. The system seems to recognize two devices as follows:

Code: Select all
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: 92HD81B1X5 Analog [92HD81B1X5 Analog]
  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
 


As a bit of background info, this laptop seems to have two different graphics cards, an integrated card and a discrete card. To get the display to work on the HDMI monitor I had to run
Code: Select all
 xrandr --setprovideroutputsource 1 0
 

which I believe redirects the display from the integrated card to the discrete card for output. I don't think the discrete card is actually being used in the normal way, but this does allow me to get the TV monitor to work. I don't know if this could have anything to do with the audio issues.

Any idea where to start? I should note that the audio through HDMI does work automatically with a default ubuntu live session but I don't know how to troubleshoot and investigate the difference between that and my system. (Default ubuntu also runs slowly and the HDMI monitor won't completely fill the display for some reason, otherwise I might switch.) I tried live sessions for a few other distros and some ubuntu variants also but they all crashed when I tried to enable my second monitor.

Thank you for any help you can provide.
Avoozl
 
Posts: 10
Joined: 2018-06-24 20:03

Re: Audio through HDMI not working

Postby Head_on_a_Stick » 2018-07-02 05:07

Which desktop environment (or window manager) are you using?

Most people will be running Pulseaudio, it has a mixer control that can set the outputs:
Code: Select all
# apt install pavucontrol
pavucontrol

If Ubuntu switches automagically then perhaps your hardware is too new for Debian so you could post the output of
Code: Select all
lspci -knn
Charlie don't hack
User avatar
Head_on_a_Stick
 
Posts: 7651
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Audio through HDMI not working

Postby scary-rob » 2018-07-02 14:58

If you're running XFCE (although this can apply to KDE too), clicking to open the audio mixer on the pulseaudio control is a place to start. Sometimes you have to change the sound output manually - which is in a dropdown menu under the "outputs" tab.
scary-rob
 
Posts: 16
Joined: 2018-06-22 15:57

Re: Audio through HDMI not working

Postby Avoozl » 2018-07-03 02:10

I doubt it's too new. It's at least 7 or 8 years old.

Already have pavucontrol installed. The volume is not muted and I can switch volume control manually to HDMI. When I do I simply get no sound. The system seems to think it is playing as the playback indicator in pavucontrol bounces up and down while media is playing.

Code: Select all
 lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
   Subsystem: Hewlett-Packard Company Core Processor DRAM Controller [103c:1436]
00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
   Subsystem: Hewlett-Packard Company Core Processor Integrated Graphics Controller [103c:1436]
   Kernel driver in use: i915
   Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
   Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset HECI Controller [103c:1436]
   Kernel driver in use: mei_me
   Kernel modules: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05)
   Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [103c:1436]
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
   Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset High Definition Audio [103c:1436]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 05)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05)
   Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [103c:1436]
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation HM55 Chipset LPC Interface Controller [8086:3b09] (rev 05)
   Subsystem: Hewlett-Packard Company HM55 Chipset LPC Interface Controller [103c:1436]
   Kernel driver in use: lpc_ich
   Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 05)
   Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [103c:1436]
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 05)
   Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset SMBus Controller [103c:1436]
   Kernel driver in use: i801_smbus
   Kernel modules: i2c_i801
00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 05)
   Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset Thermal Subsystem [103c:1436]
   Kernel driver in use: intel ips
   Kernel modules: intel_ips
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M] [1002:68c1]
   Subsystem: Hewlett-Packard Company Mobility Radeon HD 5650 [103c:1436]
   Kernel driver in use: radeon
   Kernel modules: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series] [1002:aa60]
   Subsystem: Hewlett-Packard Company Redwood HDMI Audio [Radeon HD 5000 Series] [103c:1436]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
   Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:1436]
   Kernel driver in use: r8169
   Kernel modules: r8169
03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6200 [8086:4239] (rev 35)
   Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN [8086:1311]
   Kernel driver in use: iwlwifi
   Kernel modules: iwlwifi
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 05)
   Subsystem: Hewlett-Packard Company Core Processor QuickPath Architecture Generic Non-core Registers [103c:1436]
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 05)
   Subsystem: Hewlett-Packard Company Core Processor QuickPath Architecture System Address Decoder [103c:1436]
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 05)
   Subsystem: Hewlett-Packard Company Core Processor QPI Link 0 [103c:1436]
ff:02.1 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 [8086:2d11] (rev 05)
   Subsystem: Hewlett-Packard Company 1st Generation Core i3/5/7 Processor QPI Physical 0 [103c:1436]
ff:02.2 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:2d12] (rev 05)
   Subsystem: Hewlett-Packard Company 1st Generation Core i3/5/7 Processor Reserved [103c:1436]
ff:02.3 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:2d13] (rev 05)
   Subsystem: Hewlett-Packard Company 1st Generation Core i3/5/7 Processor Reserved [103c:1436]


I'm running openbox.
Avoozl
 
Posts: 10
Joined: 2018-06-24 20:03

Re: Audio through HDMI not working

Postby Head_on_a_Stick » 2018-07-03 14:51

Does the Debian stretch live GNOME image work as expected?
Charlie don't hack
User avatar
Head_on_a_Stick
 
Posts: 7651
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Audio through HDMI not working

Postby Avoozl » 2018-07-03 19:45

Head_on_a_Stick wrote:Does the Debian stretch live GNOME image work as expected?


No. It won't even detect my external monitor in the first place. Most other default live distros can detect it, but x crashes to the login when I try to enable it. Default ubuntu is the only one (that I've tried) that can enable my external monitor and correctly play sound through it, though as I mentioned the image on the external monitor is glitchy (I have to turn it off and on after connecting to get rid of a black screen that only the mouse cursor shows up on, and after that the image won't fill the monitor and performance is flaky). It's frustrating since I know there is a working solution but I don't know what it is that the ubuntu devs have done that makes it work.

I guess this is what I get for only ever owning older computers that people give to me when they buy new ones. :?
Avoozl
 
Posts: 10
Joined: 2018-06-24 20:03

Re: Audio through HDMI not working

Postby arzgi » 2018-07-04 14:19

Run pavucontrol, and check Output devices. Oh, that what already suggested, but check still.
arzgi
 
Posts: 190
Joined: 2008-02-21 17:03
Location: Finland

Re: Audio through HDMI not working

Postby Avoozl » 2018-07-10 03:35

arzgi wrote:Run pavucontrol, and check Output devices. Oh, that what already suggested, but check still.


Yeah, like I said, HDMI audio device is a selectable option. It just doesn't actually play any sound.
Avoozl
 
Posts: 10
Joined: 2018-06-24 20:03


Return to Hardware

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable