LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-25-2017, 11:32 AM   #1
ConfusedLinuxUser9
LQ Newbie
 
Registered: Sep 2017
Posts: 7

Rep: Reputation: Disabled
Linux Mint No Sound through HDMI, NVIDIA GTX 1050


Thanks for taking the time to help.

This seems to be a common problem, I've read a lot of threads but have not found a solution.

HDMI sound works with windows (running dual boot). I have the option to select HDMI output with pavucontrol, but no sound is produced.

Details:

GTX 1050
Linux Mint Sonya
Panasonic TV


Running command alsamixer, it displays sound card as HDA INTEL PCH, CHIP REALTEK ALC295. No other options are given.

At my wits end. Help is greatly appreciated.

EDIT:

I have tried updating the graphics driver many times, 375, 378, 381, and 384.

Last edited by ConfusedLinuxUser9; 09-25-2017 at 04:19 PM.
 
Old 09-26-2017, 09:41 AM   #2
ConfusedLinuxUser9
LQ Newbie
 
Registered: Sep 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Anyone?
 
Old 09-26-2017, 03:55 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,175

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
Some ideas maybe. https://itsfoss.com/how-to-fix-no-so...tor-in-ubuntu/

Use search words not only for mint but ubuntu and debian.
 
Old 09-26-2017, 06:18 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,327
Blog Entries: 1

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
In alsa it's normally the ,3 device.

$ speaker-test -c 2 -l 1 -D hw:0,3

$ egrep -r -i hdmi /proc/asound/*

With pulse it either works or it doesn't. NOTE that any sort of DVI connection drops the audio channel as DVI lacks audio. With pulse disabling everything that you're NOT using can force the thing you want to use to work. Sometimes removing / disabling EVERYTHING, then enabling the thing you want. It can be a bit maddening since devices have more than one sound device these days. Integrated graphics, after market GPU, webcam, modem, integrated sound, and so on.
 
Old 09-27-2017, 01:21 PM   #5
ConfusedLinuxUser9
LQ Newbie
 
Registered: Sep 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
jefro: Already seen that, I've read pretty much every single thing about this issue that I can find. Any other suggestions?
 
Old 09-27-2017, 01:29 PM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,155

Rep: Reputation: Disabled
There is HDMI sound driver in kernel. Is it loaded? It is possible your card is too new for your kernel, upgrade may be in order.
 
Old 09-27-2017, 01:49 PM   #7
ConfusedLinuxUser9
LQ Newbie
 
Registered: Sep 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
shadow 7: Good idea but no luck.

Any further ideas?

Really appreciate everyones time. This issue has taken away a lot of my time and I just want it solved.
 
Old 09-27-2017, 03:57 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,175

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
What commands or tests have you tried?
 
Old 09-27-2017, 04:00 PM   #9
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,155

Rep: Reputation: Disabled
Before the output can be used it has to show up in
Code:
aplay -l
For this the kernel driver needs to be loaded. Unfortunately my question about kernel module loading was ignored.
 
Old 09-27-2017, 08:32 PM   #10
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,327
Blog Entries: 1

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
If you're connected with a DVI connector, that one LACKS audio channels. Most of my monitors have some sort of DVI to HDMI adapter on them. But they lack speakers as well so I don't expect that audio to work. Cause it wont, cause of DVI.
 
Old 09-29-2017, 10:06 AM   #11
ConfusedLinuxUser9
LQ Newbie
 
Registered: Sep 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you for reply Emerson, unsure how I missed it.

How can i tell if it is loaded? New to linux, so apologies for basic question.

What would you recommend upgrade to? I'm using 4.8

aplay command does not list the tv, only:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
lewis@computer ~ $ ^C

Last edited by ConfusedLinuxUser9; 09-29-2017 at 10:07 AM.
 
Old 09-29-2017, 10:07 AM   #12
ConfusedLinuxUser9
LQ Newbie
 
Registered: Sep 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Shadow: No it's hdmi to hdmi, and working fine when booting windows.
 
Old 09-29-2017, 12:14 PM   #13
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,155

Rep: Reputation: Disabled
See, you have 3 HDMI devices recognized by kernel, ready to use. Now run xrandr, it will show you which one has monitor connected, then you can direct sound to correct output.

Edit: it is possible none of these is your nVidia. Then back to the kernel upgrade idea.

Last edited by Emerson; 09-29-2017 at 12:15 PM.
 
Old 09-30-2017, 05:21 AM   #14
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,327
Blog Entries: 1

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
Then:

$ egrep -r -i hdmi /proc/asound/*
...
/proc/asound/card0/pcm3p/sub0/info:id: HDMI 0
...

Where card0 indicates hw:0 in terms of alsa names. And pcm3p indicates device 3 which is hw:0,3 in terms of alsa names.

$ speaker-test -c 2 -l 1 -D hw:0,3

There are some HDMI audio portions that requires GPU drivers. Which might mean running some bleading edge stuff for "new" hardware. The last I read about the amdgpu driver that supports my chipset, it still lacks hdmi audio support. But things move pretty fast in linux, so even if it is now supported, it'll be a year or more till I see it in my favorite distro.
 
Old 10-02-2017, 12:45 PM   #15
ConfusedLinuxUser9
LQ Newbie
 
Registered: Sep 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks agains
xrandr shows that hdmi 0 is connected, but that is not an option in pavu configuration.

Shadow, egrep returns:

Quote:
/proc/asound/card0/pcm3p/info:id: HDMI 0
/proc/asound/card0/pcm3p/info:name: HDMI 0
/proc/asound/card0/pcm3p/sub0/info:id: HDMI 0
/proc/asound/card0/pcm3p/sub0/info:name: HDMI 0
/proc/asound/card0/pcm7p/info:id: HDMI 1
/proc/asound/card0/pcm7p/info:name: HDMI 1
/proc/asound/card0/pcm7p/sub0/info:id: HDMI 1
/proc/asound/card0/pcm7p/sub0/info:name: HDMI 1
/proc/asound/card0/pcm8p/info:id: HDMI 2
/proc/asound/card0/pcm8p/info:name: HDMI 2
/proc/asound/card0/pcm8p/sub0/info:id: HDMI 2
/proc/asound/card0/pcm8p/sub0/info:name: HDMI 2
/proc/asound/card0/codec#2:Codec: Intel Kabylake HDMI
/proc/asound/card0/codec#2: Device: name="HDMI 1", type="HDMI", device=7
/proc/asound/card0/codec#2: Pincap 0x0b000094: OUT Detect HBR HDMI DP
/proc/asound/card0/codec#2: Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
/proc/asound/card0/codec#2: Pincap 0x0b000094: OUT Detect HBR HDMI DP
/proc/asound/card0/codec#2: Pin Default 0x18560020: [Jack] Digital Out at Int HDMI
/proc/asound/card0/codec#2: Pincap 0x0b000094: OUT Detect HBR HDMI DP
/proc/asound/card0/codec#2: Pin Default 0x18560030: [Jack] Digital Out at Int HDMI
/proc/asound/PCH/pcm3p/info:id: HDMI 0
/proc/asound/PCH/pcm3p/info:name: HDMI 0
/proc/asound/PCH/pcm3p/sub0/info:id: HDMI 0
/proc/asound/PCH/pcm3p/sub0/info:name: HDMI 0
/proc/asound/PCH/pcm7p/info:id: HDMI 1
/proc/asound/PCH/pcm7p/info:name: HDMI 1
/proc/asound/PCH/pcm7p/sub0/info:id: HDMI 1
/proc/asound/PCH/pcm7p/sub0/info:name: HDMI 1
/proc/asound/PCH/pcm8p/info:id: HDMI 2
/proc/asound/PCH/pcm8p/info:name: HDMI 2
/proc/asound/PCH/pcm8p/sub0/info:id: HDMI 2
/proc/asound/PCH/pcm8p/sub0/info:name: HDMI 2
/proc/asound/PCH/codec#2:Codec: Intel Kabylake HDMI
/proc/asound/PCH/codec#2: Device: name="HDMI 1", type="HDMI", device=7
/proc/asound/PCH/codec#2: Pincap 0x0b000094: OUT Detect HBR HDMI DP
/proc/asound/PCH/codec#2: Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
/proc/asound/PCH/codec#2: Pincap 0x0b000094: OUT Detect HBR HDMI DP
/proc/asound/PCH/codec#2: Pin Default 0x18560020: [Jack] Digital Out at Int HDMI
/proc/asound/PCH/codec#2: Pincap 0x0b000094: OUT Detect HBR HDMI DP
/proc/asound/PCH/codec#2: Pin Default 0x18560030: [Jack] Digital Out at Int HDMI
/proc/asound/pcm:00-03: HDMI 0 : HDMI 0 : playback 1
/proc/asound/pcm:00-07: HDMI 1 : HDMI 1 : playback 1
/proc/asound/pcm:00-08: HDMI 2 : HDMI 2 : playback 1
Unsure with second "proc" command though. i tried inserting RealtekAC295.

Does anyone know what update i need from kernel? Or is it unavailable?

Edit: Updated kernel to 4.11.0-14, still no joy.

Last edited by ConfusedLinuxUser9; 10-02-2017 at 03:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Small computer vision server (use of NVIDIA GTX 1050 Ti in debian) Swoncen Linux - Server 1 02-22-2017 02:23 AM
Nvidia Geforce GTX 970 15 degrees warmer under Linux Mint than on Windows kneejo Linux - Hardware 6 10-09-2016 05:58 PM
Just installed Linux Mint 17.3 - No audio. Sound Settings says "play sound through HDMI/Display port 2" but no option for speakers klazarski Linux - Newbie 4 05-29-2016 02:43 AM
Nvidia GeForce GTX 525M doesn't work on Linux Mint 17.2 with drivers techdude Linux - Hardware 2 09-16-2015 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration