Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Daniel Martin <consume.noise@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: hda: Bug - (timing?) problem causes DP monitor to not	get activated
Date: Fri, 28 Feb 2014 14:23:34 +0100	[thread overview]
Message-ID: <s5hsir3bcbt.wl%tiwai@suse.de> (raw)
In-Reply-To: <20140228104726.GA3730@sn-dd496.dd.secunet.de>

At Fri, 28 Feb 2014 11:47:27 +0100,
Daniel Martin wrote:
> 
> Hi,
> 
> I'm having a bug here, where the loaded hda module causes some (timing?)
> problem resulting in a monitor connected to the DP not to get active.
> I can reproduce this on a Lenovo X201 and T410 (Ironlake) sitting on a
> docking station, which has a monitor (Dell U2410) connected to a DP.
> 
> Steps to reproduce:
> 1. boot with the laptop at the docking station and the monitor plugged in
> 2. start the X-Server
>    ... output on LVDS and DP is okay
> 3. disable the DP: xrandr --output LVDS1 --preferred --output DP1 --off
>    ... output on LVDS - okay
> 4. switch to DP: xrandr --output LVDS1 --off --output DP1 --preferred
>    ... DP _usually_ doesn't gets active, it turn off into suspend state
> 
> Why I think that it is related to the hda module? If I boot a kernel
> without the hda module step 4 always works. When having the hda module
> loaded I need some luck and some iterations of step 3 and 4 to activate
> the monitor at the DP.
> 
> I verified that the problem exists in kernel v3.13.1 and v3.14-rc4.
> 
> 
> The logs I have attached have been created on the T410 with kernel
> v3.14-rc4. The first alsa-info....txt has been created right after
> booting, the second one after step 4 failed. The kernel has been build
> with all alsa debug options I could find, the config is attached as
> well, and the kernel has been booted with drm.debug=0xe - this might be
> to much, but it shows pretty clear when the outputs have been switched.
> 
> I hope that anyone can read something usefull - something that went
> wrong - out of the log files. My unexercised eye can't spot anything
> obvious.
> 
> If more logs are necessary, I'll send them.

Could you rather post it to intel-gfx ML?  (Please keep me in Cc.)

For IronLake, i915_request_power_well() must be irrelevant, thus it
can't be the HD-audio's runtime PM refcount.  There is no other direct 
communication with the graphics device, but only via HD-audio's
controller and codec; i.e. it's communicated via a normal hardware
channel.  If anything in the graphic output doesn't work in that
situation, the likely culprit is rather in the graphics side.


thanks,

Takashi

      reply	other threads:[~2014-02-28 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 10:47 hda: Bug - (timing?) problem causes DP monitor to not get activated Daniel Martin
2014-02-28 13:23 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hsir3bcbt.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=consume.noise@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox