Bug 1386016 - HDMI sound device not detected
Summary: HDMI sound device not detected
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-18 01:24 UTC by Brian Kaye
Modified: 2016-11-06 04:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-06 04:33:14 UTC
Type: Bug


Attachments (Terms of Use)
Output from alsa-info (23.96 KB, text/plain)
2016-10-18 01:24 UTC, Brian Kaye
no flags Details
Windows 10 screenshot of sound devices when attached to TV (67.19 KB, image/png)
2016-10-18 01:29 UTC, Brian Kaye
no flags Details
New alsa-info.sh output for discrete graphics (37.72 KB, text/plain)
2016-11-06 04:22 UTC, Brian Kaye
no flags Details

Description Brian Kaye 2016-10-18 01:24:40 UTC
Created attachment 1211581 [details]
Output from alsa-info

Description of problem: Lenovo Thinkpad P50 with NVidia M1000M, 4K screen. The sound device associated with the Nvidia card is not detected


Version-Release number of selected component (if applicable):4.7.7-200.fc24.x86_64


How reproducible: All the time.


Steps to Reproduce:
1. Always
2.
3.

Actual results:


Expected results: Sound on TV when attached via HDMI from Laptop


Additional info:

Lenovo Thinkpad P50, Fedora 24 KDE Spin 



lspci |grep VGA

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)

lspci -kv -s 01:00.0

01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 222e
        Flags: bus master, fast devsel, latency 0, IRQ 129
        Memory at d3000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 4000 [size=128]
        Expansion ROM at d4000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] #19
        Kernel driver in use: nouveau
        Kernel modules: nouveau

The sound devices are  detected when I run Windows 10 so the hardware and cable are functional. The machine has the latest firmware installed. The video does work on Linux 

The output from also-info.sh is attached. I have a couple of screen shots showing the sound devices on Windows 10 but there is no way to attach multiple files.

Comment 1 Brian Kaye 2016-10-18 01:29:06 UTC
Created attachment 1211582 [details]
Windows 10 screenshot of sound devices when attached to TV

The devices are dynamically created when I plug in the HDMI cable and disappear when the cable is removed.

Comment 2 Peter Wu 2016-11-04 23:54:39 UTC
Upstream (nouveau) bug:
https://bugs.freedesktop.org/show_bug.cgi?id=75985

You can try the workaround there (remove/rescan). It will prevent runtime PM (power saving) from working though.

Comment 3 Brian Kaye 2016-11-06 04:22:25 UTC
Created attachment 1217672 [details]
New alsa-info.sh output for discrete graphics

Comment 4 Brian Kaye 2016-11-06 04:33:14 UTC
I cannot do the things as suggested by the link provided by Peter Wu. For example lspci -H1 generates an error even as root. Can force a rescan.I have applied all patches including a new 4.8 kernel. Same problem. 

I rebooted and enabled discrete graphics and the problem goes away ( I am pretty sure that I tested this before reporting this but I have tried so many things  I don't know). I can see the HDMI sound devices. See attachment in comment 3. Discrete graphics will cause a bigger drain on my battery and there are still some issues about where windows open and which display is primary I will mark this issue closed.


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