HDMI audio out not working

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
addic7ed

HDMI audio out not working

Post by addic7ed »

Hi,I recently installed Mint.
Finally able to set Right resolution with forum's help.
Now time to fix audio.

My Mobo's audio out not working after installing windows 10.
In windows it doesn't detect audio jack in both in front panel & back panel.
So only way to get audio is HDMI through NVIDIA Gtx 960 card.
But in mint even after installing Nvidia driver,HDMI out is not listed in audio setting.

It only shows Analog out (which doesn't work for me) & S/PDIF out (i don't have a device for that).
So how to get audio through HDMI

My system

Code: Select all

 ~ $ inxi -Fx
System:    Host: Addicted Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2)
           Desktop: Cinnamon 2.8.8 (Gtk 3.10.8~8+qiana)
           Distro: Linux Mint 17.3 Rosa
Machine:   Mobo: ASUSTeK model: P8Z68-V PRO GEN3 v: Rev 1.xx
           Bios: American Megatrends v: 3802 date: 01/15/2015
CPU:       Quad core Intel Core i5-2500K (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27198
           clock speeds: max: 5900 MHz 1: 1599 MHz 2: 1604 MHz 3: 1599 MHz
           4: 1829 MHz
Graphics:  Card: NVIDIA GM206 [GeForce GTX 960] bus-ID: 01:00.0
           Display Server: X.Org 1.17.1 driver: nvidia
           Resolution: 1920x1080@59.9hz
           GLX Renderer: GeForce GTX 960/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 361.42 Direct Rendering: Yes
Audio:     Card-1 NVIDIA Device 0fba driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k3.19.0-32-generic
Network:   Card-1: Intel 82579V Gigabit Network Connection
           driver: e1000e v: 2.3.2-k port: f040 bus-ID: 00:19.0
           IF: eth0 state: down mac: c8:60:00:36:ba:ad
           Card-2: Qualcomm Atheros AR9485 Wireless Network Adapter
           driver: ath9k bus-ID: 04:00.0
           IF: wlan0 state: up mac: 10:fe:ed:75:5f:1e
Drives:    HDD Total Size: 3000.6GB (0.4% used)
           ID-1: /dev/sda model: WDC_WD20EZRX size: 2000.4GB
           ID-2: /dev/sdb model: ST1000DM003 size: 1000.2GB
Partition: ID-1: / size: 29G used: 5.3G (20%) fs: ext4 dev: /dev/sdb4
           ID-2: /home size: 17G used: 285M (2%) fs: ext4 dev: /dev/sdb7
           ID-3: swap-1 size: 5.12GB used: 0.00GB (0%) fs: swap dev: /dev/sdb6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:43C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 186 Uptime: 7 min Memory: 780.0/7951.9MB
           Init: Upstart runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.111) inxi: 2.2.28 

Code: Select all

~ $ pacmd list-sinks
Welcome to PulseAudio! Use "help" for usage information.
>>> 2 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9050
	volume: 0: 100% 1: 100%
	        0: 0.00 dB 1: 0.00 dB
	        balance 0.00
	base volume: 100%
	             0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
	card: 0 <alsa_card.pci-0000_01_00.1>
	module: 4
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fba"
		device.string = "hdmi:1"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "HDA NVidia Digital Stereo (HDMI)"
		alsa.mixer_name = "Nvidia GPU 72 HDMI/DP"
		alsa.components = "HDA:10de0072,10438520,00100100"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
	active port: <hdmi-output-0>
  * index: 1
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: 0: 153% 1: 153%
	        0: 11.00 dB 1: 11.00 dB
	        balance 0.00
	base volume: 100%
	             0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 1
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 5
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7620000 irq 34"
		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 = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,10438410,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output>
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
addic7ed

Re: HDMI audio out not working

Post by addic7ed »

installed "pavucontrol" & it says all HDMI as unplugged when i'm getting Video through HDMI
addic7ed

Re: HDMI audio out not working

Post by addic7ed »

What's the problem with Linux & Audio????
gary.zw

Re: HDMI audio out not working

Post by gary.zw »

So what you are saying is you do not see setting for HDMI? How did you install the nvidia drivers?
addic7ed

Re: HDMI audio out not working

Post by addic7ed »

i'm saying i see all hdmi as unplugged in pulse audio control (some pav*)
9.jpg
I installed driver reading this post.
http://www.yourownlinux.com/2016/02/how ... linux.html
gary.zw

Re: HDMI audio out not working

Post by gary.zw »

addic7ed wrote:
I installed driver reading this post.
http://www.yourownlinux.com/2016/02/how ... linux.html
Your problem may be the driver you installed.
Try going to the Mint Driver Manager and installing the recommended driver. I believe it will work then
addic7ed

Re: HDMI audio out not working

Post by addic7ed »

I Reinstalled Mint thinking i messed something.
Then i installed Recommended driver from driver manager.


Still unable to get audio output.
Please help.Cause Mint without audio seems 80's PC
gary.zw

Re: HDMI audio out not working

Post by gary.zw »

This may not help but it is worth a try, open terminal and type in

Code: Select all

alsamixer
then press F6 and if you see HDA NVidia use arrow keys to select HDA NVidia
alsamixer.png
addic7ed

Re: HDMI audio out not working

Post by addic7ed »

Already tried.
When i select Nvidia HDA, i see 4 SPDIF port not 4 HDMI port (gtx 960 has 1 hdmi & 3 display port,in windows after installing driver i see 4 hdmi,1 plugged & 3 unplugged.Not 4 SPDIF)
gary.zw

Re: HDMI audio out not working

Post by gary.zw »

I found this--use Solution 2. Hopefully it might help...

http://itsfoss.com/how-to-fix-no-sound- ... in-ubuntu/
addic7ed

Re: HDMI audio out not working

Post by addic7ed »

Tried Solution 2.
But HDMI didn't appear.

i checked pulse audio control.
It says unplugged where as in termina saw that actually 4 ports are undefined/uncertain using some command(forgot ,tried many thing from google)


Any more suggestion pls.
Can it be Nvidia's driver related issue?
gary.zw

Re: HDMI audio out not working

Post by gary.zw »

I can't think of anything. Hopefully someone who can help will check this thread. I can say I have nvidia 660 TI and it detected my HDMI audio fine. They only thing I had to do was switched the Output Device from Analog Output to HDMI/DisplayPort 2. One possibility would be maybe trying a new kernel. You have Kernel: 3.19 I'm using Kernel: 4.4. You can switch the Kernel from the update manager. Some times that helps with hardware not working.
fcastillo
Level 1
Level 1
Posts: 1
Joined: Tue May 23, 2017 9:00 pm

Re: HDMI audio out not working

Post by fcastillo »

I was running nVidia driver 381.22 and I had this problem. I downgraded the driver to 378.13 and my problem was fixed. All these drivers are coming from this source ppa:graphics-drivers/ppa
I still see my Nvidia monitor port listed as unavailable, and the specific port is not showing on my sound control, but selecting any other one did the trick and sound is now being played.
polymachine
Level 1
Level 1
Posts: 7
Joined: Fri Sep 22, 2017 2:20 pm

Re: HDMI audio out not working

Post by polymachine »

I have the same problem!

Has anyone discovered a solution for this?

The card simply does not show up for audio purposes.
User avatar
Ben2talk2
Level 1
Level 1
Posts: 26
Joined: Wed Mar 07, 2018 5:14 am
Location: Samutprakarn Thailand

Re: HDMI audio out not working

Post by Ben2talk2 »

I can't find any solution.
After a reboot, HDMI sound works fine - but I don't want to do this!
Just restarting Pulseaudio isn't working - the system just says HDMI is unplugged - yet I'm looking at my desktop on my TV via HDMI (plugged in via my receiver).

Apparently broken and not something to be fixed.

UPDATE: I turned the receiver on and off again - HDMI popped up, so I guess that's an option. I am not sure why it suddenly gets 'unplugged'.
Locked

Return to “Hardware Support”