Bug 1440797 - Audio not available through HDMI on laptop with NVIDIA GTX 1060 GPU
Summary: Audio not available through HDMI on laptop with NVIDIA GTX 1060 GPU
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 25
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-10 13:35 UTC by Pedro Albuquerque Santos
Modified: 2017-12-12 10:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:21:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1377653 0 None None None 2017-04-10 13:35:37 UTC

Description Pedro Albuquerque Santos 2017-04-10 13:35:37 UTC
Description of problem:
My laptop is an ASUS GL502VM with an Intel Core i7 6700HQ CPU and an NVIDIA GTX 1060 GPU. I'm able to connect to my monitor through HDMI but I can't get audio at all. My monitor is connected to my speakers and on Windows I'm able to connect to it and get sound through the speakers. On Linux the HDMI Audio output is not recognized at all.

Also keep in mind that this is not a hybrid setup. This laptop supports G-SYNC so the Intel card is completely disabled. As far as I know, the HDMI port is directly connected to the NVIDIA GPU. It should work similarly to what you would expect on a desktop with a GTX 1060.

Version-Release number of selected component (if applicable):
Fedora 25 with the latest updates (including kernel 4.10) as of 2017-04-10.

How reproducible:
Always.

Steps to Reproduce:
1. Connect monitor with speaker output (or TV).
2. Play some media with sound (e.g., YouTube video).
3. The sound comes out from the laptop's speakers.
4. Go to Sound under the Gnome Control Center to change your output device.

Actual results:
5. There is no selectable output other than the laptop's built-in speakers.

Expected results:
5. I should have been able to select HDMI as an audio output.

Additional info:
I tried this on my Fedora install with the proprietary NVIDIA drivers. I also tried on a Live Ubuntu 16.04 and 17.04 (Daily) with the nouveau drivers. The problem is always present.

I tried to troubleshout by checking a few commands I found online:
- "aplay -l"
- "aplay -L"
- "lspci"
- "lspci -H1"

Neither of them lists the NVIDIA HDMI Audio output.

I also found these two workarounds for Ubuntu for someone with similar problems:
http://askubuntu.com/questions/641172/does-not-detect-my-sound-card-hdmi
http://askubuntu.com/questions/444132/hdmi-audio-on-optimus-system/511907

I have however been unable to successfully follow their tips. Partially because on my Fedora install I've been unable to unload the proprietary nvidia drivers, so I get a kernel hang/panic whenever I try to follow the instructions provided on those "askubuntu" posts. So I'll probably give it a try on a Live system with the nouveau drivers to check if it makes any different. Besides that, I'm not connected to an HDMI monitor with audio right now so I'll give it another try later when I'm at home.

If you need or want any additional details please just ask, I'll be more than glad to help you sort this problem out.

P.S.: The same, similar or related bug seems to have already been reported (but not fixed) on Ubuntu's Launchpad: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1377653

Comment 1 Jan Drabner 2017-06-22 08:16:19 UTC
Just wanted to chime in to report I have the exact same problem (using Ubuntu 16.04), with the same GPU (in an MSI Apache Pro).
No matter what I do, I cannot get the HDMI sound device to show up...

One thing that changed things for me is if I restart the PC with the HDMI cable plugged in, I do get the HDMI device - but unfortunately it completely messes up the screens (it somehow thinks the external TV is my main monitor, laptop screen becomes unclickable... it really is a mess).

Could this be connected to the graphics card drivers? I'm using the latest from the Ubuntu packages, 375.

Comment 2 Fedora End Of Life 2017-11-16 18:33:22 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2017-12-12 10:21:59 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.