Created attachment 143625 [details] Non working audio with Samsung 4K Series D model Connecting Samsung Monitor 4K display(U28D590) to Chromebook (WHL), audio doesn't route to display (same device and monitor works fine with HDMI ). Connection type is USB Type-C to DP. Audio drivers are legacy HD Audio and graphics is i915. Issue only happens with this particular monitor U28D590 and not happening on Samsung 4K U28E590, Dell or any other monitor(as far as I know). I have also read edid after connection and it shows "Audio Data Block" evtest is also passes. Issue is not reprodcible after adding 5 sec delay: diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c index ee3ca2de983b..9c794968bb2a 100644 --- a/drivers/gpu/drm/i915/intel_audio.c +++ b/drivers/gpu/drm/i915/intel_audio.c @@ -26,7 +26,7 @@ #include <drm/i915_component.h> #include <drm/intel_lpe_audio.h> #include "intel_drv.h" - +#include<linux/delay.h> #include <drm/drmP.h> #include <drm/drm_edid.h> #include "i915_drv.h" @@ -456,7 +456,8 @@ static void hsw_audio_codec_enable(struct intel_encoder *encoder, const u8 *eld = connector->eld; u32 tmp; int len, i; - + mdelay(5000); DRM_DEBUG_KMS("Enable audio codec on pipe %c, %u bytes ELD\n", pipe_name(pipe), drm_eld_size(eld)); Important Observations: 1. Same monitor U28D590 works fine on Windows or any other chromebook. 2. Tried on different platforms with Legacy –HDA (no dsp), issue is reproducible 3. If above mentioned delay is less than 5 sec, issue is reproducible. 4. Issue reproducible with drm-tip; 78b288a16a32 drm-tip: 2019y-03m-08d-19h-11m-52s UTC integration manifest
Created attachment 143626 [details] Working audio with Samsung 4k Series E model
Chintan, Can you please add full dmesg log from boot?
Created attachment 143636 [details] Logs of failure case without adding any delay. Attached the logs in the non-working case.
Created attachment 143637 [details] Logs of working case that has the delay.
Hi lakshmi, Jairaj uploaded full drm logs. Once important observation worth to mentioned is audio routing works fine through type-c via aplay command.
Update: Waiting for the response from audio team. If there is any update here, I will post the information here.
Assigning this issue to Filip to get feedback related to this bug.
@Filip, any updates here? As a high priority bug this issue needs an update at least once in a week.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/244.
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.