Bug 101304 - [DP] [HSW] No audio on DP
Summary: [DP] [HSW] No audio on DP
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-05 17:11 UTC by Victor Lopez
Modified: 2017-07-10 20:03 UTC (History)
3 users (show)

See Also:
i915 platform: HSW
i915 features: display/audio, display/DP, display/HDMI


Attachments
dmesg for audio failure (456.48 KB, text/plain)
2017-06-05 17:11 UTC, Victor Lopez
no flags Details
kernel log (1.17 MB, text/plain)
2017-06-05 17:12 UTC, Victor Lopez
no flags Details
alsa-info (46.90 KB, text/plain)
2017-07-07 20:33 UTC, Ricardo Madrigal
no flags Details

Description Victor Lopez 2017-06-05 17:11:55 UTC
Created attachment 131714 [details]
dmesg for audio failure

System Environment
 =======
 OS: Linux Ubuntu 17.04 64 bits
 Kernel: 4.12.0-rc3-drm-tip-ww2-commit-187376e+
 X-Org: 1.19.99.1

Regression?
 =======
 Not sure

Bug detailed description
 =======
 Audio is unavailable via DP, as it fails to reproduce any audio (using aplay, the browser, or ffmpeg)

Reproduce Steps
 ==============
 -Connect via DP to an audio capable display
 -Turn the DUT on
 -Test audio output via the method you most prefer

Expected Result
 =============
 Audio should reproduce

Actual Result
 ===========
 Audio fails to reproduce

Analysis & Root Cause
 ===================
 Possibly audio clock misconfiguration

Commentaries
 ===================
 This problem is present with any of the ports included with the hardware, HDMI and DP.
Comment 1 Victor Lopez 2017-06-05 17:12:25 UTC
Created attachment 131715 [details]
kernel log
Comment 2 keqiao 2017-06-22 08:20:20 UTC
I verified this issue with latest drm-tip 4.12.0-rc6+, the DP/HDMI audio both work well.
# aplay -D hw:0,3 audio.wav
# aplay -D hw:0,7 audio.wav

I tested it on my HSW NUC with OS 17.04, so could you help to check ti again in your side, if this issue still exist, please let me know. 

Thanks~
Comment 3 Clinton Taylor 2017-07-05 23:11:32 UTC
Can you work with Keqiao to determine the setup issue you may be having?
Comment 4 Ricardo 2017-07-06 12:19:03 UTC
Assigning to Ricardo to check with latest configuration
Comment 5 Ricardo Madrigal 2017-07-06 20:40:21 UTC
Hello keqiao.

I verified this issue in the same way that you ask, and I did it with this configuration:

Platform HSD-NUC with drm-tip 4.12.0-rc7+ connected (mDP-DP) to monitor - ASUS (1920x1080) (audio) -
Platform HSD-NUC with drm-tip 4.12.0-rc7+ connected (mHDMI-HDMI) to monitor - ASUS (1920x1080) (audio) -

And I had the same result for both test, the audio is unavailable via DP or HDMI

This is the general configuration. 
=====================================
             Software
======================================
kernel version              : 4.12.0-rc7-drm-tip-ww27-commit-2998b27+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
mesa                        : 17.0.3
modesetting                 : enabled
modesetting compiled for    : 1.19.3 X.Org Video Driver
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
cairo                       : 1.14.8
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : Haswell-Nuc
motherboard id             : D54250WYK
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
gpu card                   : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 3.79 GB
max memory ram             : 16 GB
display resolution         : 3520x1080
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 69
cpu stepping               : 1
socket                     : Socket LGA1150
signature                  : Type 0, Family 6, Model 69, Stepping 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 450000 kHz
========================================

I hope this information helps.

I remain at your disposal for any questions or comments.

Greetings.
Comment 6 Libin Yang 2017-07-07 02:20:08 UTC
Could you please send out the 'alsa-info --stdout' information?
Comment 7 Ricardo Madrigal 2017-07-07 20:33:55 UTC
Created attachment 132556 [details]
alsa-info

addig alsa-info file
Comment 8 Ricardo Madrigal 2017-07-07 20:51:52 UTC
We did a double check working with Keqiao and we defined that using this specific kernel version ""4.12.0 + "" works for us

We are working with this configuration:
Platform HSD-NUC with drm-tip 4.12.0-rc7+ connected (mDP-DP) to monitor - ASUS (1920x1080) (audio) -

Using the following configuration:
=====================================
             Software
======================================
kernel version              : 4.12.0 +
xorg-xserver              : 1.19.3
os version                  : Ubuntu 17.04
platform                   : HSW-Nuc


Greetings.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.