Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Audio through HDMI not working

Need help with peripherals or devices?
Post Reply
Message
Author
Avoozl
Posts: 10
Joined: 2018-06-24 20:03

Audio through HDMI not working

#1 Post by Avoozl »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Audio through HDMI not working

#2 Post by Head_on_a_Stick »

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
deadbang

scary-rob
Posts: 23
Joined: 2018-06-22 15:57

Re: Audio through HDMI not working

#3 Post by scary-rob »

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.

Avoozl
Posts: 10
Joined: 2018-06-24 20:03

Re: Audio through HDMI not working

#4 Post by Avoozl »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Audio through HDMI not working

#5 Post by Head_on_a_Stick »

Does the Debian stretch live GNOME image work as expected?
deadbang

Avoozl
Posts: 10
Joined: 2018-06-24 20:03

Re: Audio through HDMI not working

#6 Post by Avoozl »

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. :?

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Audio through HDMI not working

#7 Post by arzgi »

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

Avoozl
Posts: 10
Joined: 2018-06-24 20:03

Re: Audio through HDMI not working

#8 Post by Avoozl »

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.

Post Reply