LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2016, 11:14 PM   #1
wingman358
Member
 
Registered: Mar 2008
Location: Northeast US
Distribution: Mint, Ubuntu, Backtrack
Posts: 77

Rep: Reputation: 16
HDMI Doesn't Show Up As A Sound Device - Mint 18


OK so I am on a Lenovo P50 running Mint 18 x64 4.4.0-45.

HDMI output works great for video, but there is no sound through the HDMI. Instead of my home theater system (the receiving end of the HDMI), the sound still plays through my laptop speakers.
  • alsamixer doesn't show anything HDMI related
  • the Mint Sound control panel doesn't list HDMI as a Device under Output tab.
  • pavucontrol doesn't show HDMI output
  • dmesg returns nothing hdmi-related

I updated to 4.4.0-45 from 4.4.0-34 and no change.

Is this a hardware issue? UEFI related?

Any ideas?

Edit: see solution at post #16 in this thread

Last edited by wingman358; 10-28-2016 at 01:06 AM. Reason: solved
 
Old 10-21-2016, 01:48 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by wingman358 View Post
Any ideas?
Hi...

Not sure I can help here but out of curiosity, would you open a terminal and post the results of...

Code:
aplay -l
Regards...
 
Old 10-21-2016, 07:42 PM   #3
bdk47
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
I am having the same problem using Fedora 24. I can play video through the HDMI connector but the sound stays on the Laptop. Everything works as expected using Windows 10 so the hardware and cable are functional. The sound devices are not recognized.

ls -l /proc/asound
dr-xr-xr-x. 4 root root 0 Oct 21 21:18 card0
-r--r--r--. 1 root root 0 Oct 21 21:18 cards
-r--r--r--. 1 root root 0 Oct 21 21:18 devices
-r--r--r--. 1 root root 0 Oct 21 21:18 hwdep
-r--r--r--. 1 root root 0 Oct 21 21:18 modules
dr-xr-xr-x. 2 root root 0 Oct 21 21:18 oss
lrwxrwxrwx. 1 root root 5 Oct 21 21:18 PCH -> card0
-r--r--r--. 1 root root 0 Oct 21 21:18 pcm
dr-xr-xr-x. 2 root root 0 Oct 21 21:18 seq
-r--r--r--. 1 root root 0 Oct 21 21:18 timers
-r--r--r--. 1 root root 0 Oct 21 21:18 version
 
Old 10-21-2016, 07:48 PM   #4
bdk47
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
alsa-info output

Output from alsa-info on Fedora 24 attached
Attached Files
File Type: txt alsa-info-Oct11-2016.txt (24.1 KB, 181 views)
 
Old 10-21-2016, 08:55 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Output from alsa-info on Fedora 24 attached
Hi Brian...

I'm not sure what the intent of your post was as the OP is using Linux Mint. Also, just as a suggestion, you might want to change your username using the instructions at the top of the page here, lest your email inbox ends up with a boatload of SPAM in the very near future. You can find the "Contact Us" form here.

Regards...

Last edited by ardvark71; 10-21-2016 at 08:59 PM. Reason: Deleted username and changed smiley.
 
Old 10-22-2016, 07:53 AM   #6
bdk47
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Why did I post?

The intent of my post is to suggest that this may not be a Mint specific problem. There are many common things between distribution including device drivers.The output from alsa-info should have most of the info to help debug.
 
Old 10-22-2016, 01:10 PM   #7
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by bdk47 View Post
The intent of my post is to suggest that this may not be a Mint specific problem. There are many common things between distribution including device drivers.The output from alsa-info should have most of the info to help debug.
Hi...

Ok, thanks. For some reason, your first post in this thread (#3) hadn't show up when I wrote my post to you. The only thing I saw was was your alsa-info information, hence my reply to you.

Regards...
 
Old 10-23-2016, 02:33 AM   #8
wingman358
Member
 
Registered: Mar 2008
Location: Northeast US
Distribution: Mint, Ubuntu, Backtrack
Posts: 77

Original Poster
Rep: Reputation: 16
Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 
Old 10-23-2016, 05:14 PM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi wingman...

Thanks. In your case, for some reason, it appears Mint hasn't detected the HDMI chip. As mentioned here, please also post the results of...

Code:
sudo lspci -H1
Code:
lspci
Disclaimer: Be careful with these commands. Ones that are prefaced with "su" or "sudo" will essentially allow root access to your system. Mistakes could possibly damage or even destroy your OS.

@bdk47: If you'd like help with your issue, please feel free to start a separate thread.

Regards...
 
Old 10-23-2016, 06:47 PM   #10
wingman358
Member
 
Registered: Mar 2008
Location: Northeast US
Distribution: Mint, Ubuntu, Backtrack
Posts: 77

Original Poster
Rep: Reputation: 16
Hi ardvark,

Those commands show the same thing:

Code:
~ $ sudo lspci -H1 > H1
~ $ lspci > lspci
~ $ diff H1 lspci
[nothing]
And the full output:

Code:
$ sudo lspci -H1
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:16.3 Serial controller: Intel Corporation Sunrise Point-H KT Redirection (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M2000M] (rev a2)
04:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
3e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
and

Code:
$ lspci
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:16.3 Serial controller: Intel Corporation Sunrise Point-H KT Redirection (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M2000M] (rev a2)
04:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
3e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)


How could I be getting video over the HDMI port if Mint hasn't detected the HDMI chip? Doesn't sound reasonable



Quote:
Originally Posted by ardvark71 View Post
Hi wingman...

Thanks. In your case, for some reason, it appears Mint hasn't detected the HDMI chip. As mentioned here, please also post the results of...

Code:
sudo lspci -H1
Code:
lspci
Disclaimer: Be careful with these commands. Ones that are prefaced with "su" or "sudo" will essentially allow root access to your system. Mistakes could possibly damage or even destroy your OS.

@bdk47: If you'd like help with your issue, please feel free to start a separate thread.

Regards...

Last edited by wingman358; 10-23-2016 at 06:53 PM.
 
Old 10-23-2016, 11:00 PM   #11
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by wingman358 View Post
Those commands show the same thing:

Code:
~ $ sudo lspci -H1 > H1
~ $ lspci > lspci
~ $ diff H1 lspci
[nothing]
See the thread here that I listed above, specifically the answer next to the green white check mark, as to why I asked for the two different results.

EDIT: Try Shadow_7's suggestion in the next post before attempting mine below...

One thing you can try is to install the drivers mentioned in the thread by opening a terminal and entering these commands, one by one...

Code:
sudo add-apt-repository ppa:ubuntu-audio-dev/alsa-daily
sudo apt-get update
sudo apt-get install oem-audio-hda-daily-dkms
After this completes, restart the computer and see if that fixes the issue. If not, please repost the results again.

Code:
sudo lspci -H1
Code:
lspci
Code:
aplay -l
Quote:
Originally Posted by wingman358 View Post
How could I be getting video over the HDMI port if Mint hasn't detected the HDMI chip? Doesn't sound reasonable
I'm not sure exactly, I would need to research how that works.

Regards...

Last edited by ardvark71; 10-23-2016 at 11:45 PM. Reason: Correction/Added information.
 
Old 10-23-2016, 11:25 PM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ egrep -r -i "id" /proc/asound/* | grep -i hdmi

In my case:
/proc/asound/card0/pcm3p/info:id: HDMI 0

So my HDMI audio is hw:0,3. Which should be selectable in pavucontrol. Or hard code-able in .asoundrc.

FILE: ~/.asoundrc
Code:
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 3
Or use it the hard way:
$ speaker-test -c 2 -l 2 -D hw:0,3

YMMV
 
Old 10-24-2016, 08:48 AM   #13
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 264

Rep: Reputation: 58
So you're both using Lenovo P50's and they both have hybrid Intel/Nvidia ("Optimus") graphics?
I'm going to guess the HDMI port is hooked up to the Nvidia GPU and the fact that the HDMI sound doesn't show in ALSA has something to do with your video driver.
So, what video driver and version are you folks using? Any relevant messages in dmesg?

Quote:
Originally Posted by Shadow_7
So my HDMI audio is hw:0,3. Which should be selectable in pavucontrol.
Yeah, if it shows up in aplay Unfortunately, I don't think the solution is going to be so simple here..
 
Old 10-24-2016, 03:06 PM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,806

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by Shadow_7 View Post
$ egrep -r -i "id" /proc/asound/* | grep -i hdmi
In my case:
/proc/asound/card0/pcm3p/info:id: HDMI 0

So my HDMI audio is hw:0,3. Which should be selectable in pavucontrol. Or hard code-able in .asoundrc.

FILE: ~/.asoundrc
Code:
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 3
Or use it the hard way:
$ speaker-test -c 2 -l 2 -D hw:0,3
I wrote something up about this HDMI audio issue a couple years ago:
http://www.linuxquestions.org/questi...nd-4175463313/

..it *MIGHT* have relevance or something helpful in it. Sounds like you're headed along the same path I was with some of the commands. One thing that was annoying (and still is), is that in the KDE desktop, even under plasma 5, you can't select a different device..the enumeration issue is still there. VLC works like a charm, and I've got new hardware since I wrote that thread up.
 
Old 10-28-2016, 12:43 AM   #15
wingman358
Member
 
Registered: Mar 2008
Location: Northeast US
Distribution: Mint, Ubuntu, Backtrack
Posts: 77

Original Poster
Rep: Reputation: 16
So I tried both Ardvark and Shadow's suggestions but still no luck.

Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
$ sudo lspci -H1 > h1
$ lspci > lspci
$ diff h1 lspci
$
 
  


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
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 01:43 AM
HDMI sound device NeXuS_2006 Linux - Hardware 1 09-25-2013 01:47 PM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
Quadro FX570 - HDMI not listed as output device (therefore no sound :-( ) ggerri Linux - Hardware 11 10-05-2011 06:24 PM
why doesn't HDMI only show picture and not sound? nickswitch Linux - Newbie 4 03-01-2011 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:26 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
Open Source Consulting | Domain Registration