Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752437AbdLDSeD (ORCPT ); Mon, 4 Dec 2017 13:34:03 -0500 Received: from mail3.start.ca ([64.140.120.243]:52577 "EHLO mail3.start.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbdLDSeC (ORCPT ); Mon, 4 Dec 2017 13:34:02 -0500 Date: Mon, 4 Dec 2017 13:33:52 -0500 From: Nick Bowler To: Jose Abreu Cc: Laurent Pinchart , Laurent Pinchart , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Dave Airlie , Linus Torvalds Subject: Re: PROBLEM: Asus C201 video mode problems on HDMI hotplug (regression) Message-ID: References: <20171116062811.g27zgeejizfxu6oc@aura.draconx.ca> <269ce21a-3685-30e8-fcc8-65070bc59eea@codeaurora.org> <13872912.d01MB1IQ9u@avalon> <20171128033044.bw4jwps2gya2vbig@aura.draconx.ca> <20171201001146.fezhkf5c3zrbqjlj@aura.draconx.ca> <20171203052045.5povltrffufaic7o@aura.draconx.ca> <3c938f3f-fa1f-b08a-5ca5-b2044ed6fb4c@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3c938f3f-fa1f-b08a-5ca5-b2044ed6fb4c@synopsys.com> X-Originating-IP: [2604:a880:0:1010::23:4001] X-TUID: wvIYXHAIx0oy User-Agent: NeoMutt/20171027 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1593 Lines: 42 On 2017-12-04 10:04 +0000, Jose Abreu wrote: > On 03-12-2017 05:20, Nick Bowler wrote: > > I brought the original test equipment back to the setup so I can > > see the video and pink bar again. The symptoms remain the same > > (unexpected size, pink bar, and no audio). > > > > Can you tell me which test equipment are you using? I am using an XRGB-Mini Framemeister as the sink device for testing which isn't "real" test equipment but does show details of the video and audio mode (which the monitor I have does not do). The normal setup of this laptop has a small "audio splitter" as the sink, which among other things includes HDMI input and output ports and an S/PDIF audio output. These devices can be connected together in various ways and the results seem to be consistent in any configuration. > > It is very consistent: pink bar <=> no audio. > > > > My suspicion is that the audio problem is just the wrong video mode > > on the sink side messing things up, but I have no way of confirming > > that (that I know of). > > Hmmm, my first thought was that audio is being configured first > because of the phy lock wait time, I've seen this happening before. > > Lets try this: > - Disable all alsa clients (e.g. pulseaudio, ...) so that no one > tries to configure audio. > - Plug out/in the cable until the issue appears > - When the issue appears use aplay to play audio through the HDMI > output > - Repeat several times with different audio rates and with no > resample (you can use the plughw interface in aplay). OK, I will give it a try later this evening. Cheers, Nick