All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: milk <niteshadez@gmail.com>, intel-gfx@lists.freedesktop.org
Subject: Re: H55 chipset and KMS with HDMI/VGA
Date: Thu, 07 Oct 2010 09:09:13 +0100	[thread overview]
Message-ID: <89k77n$p5gqkk@fmsmga001.fm.intel.com> (raw)
In-Reply-To: <AANLkTikCtyLUUJJ78MiWU=dR=WE8fudG03FhK9Yjet4c@mail.gmail.com>

On Wed, 6 Oct 2010 22:57:49 -0700, milk <niteshadez@gmail.com> wrote:
> I recently purchased a Shuttle SH55J2 which has the Intel H55 chipset
> (Auburndale). Using xf86-video-intel-2.12.0-3 for arch linux, I am
> having KMS issues with the VGA/HDMI output. With KMS enabled, the VGA
> output is wavey and unreadable and the HDMI output has either no
> signal on an HDMI monitor or wrong colors (pink or green background,
> white text) using a HDMI->DVI converter. With KMS disabled, VGA and
> HDMI are fine, but X cannot startup because it now requires KMS to be
> enabled.

Seems like you've been bitten by two separate bugs. The first is that we
always enable audio over HDMI even through a dongle and to a device that
is not audio capable. That has the effect of making the output green/pink
or even preventing sync'ing entirely. The second is that for some reason
we have not been able to get VGA 100% reliable on Ironlake, which is
itself very peculiar.

To fix the first:
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi
index 9fb9501..084a987 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -73,7 +73,7 @@ static void intel_hdmi_mode_set(struct drm_encoder *encoder,
                sdvox |= SDVO_HSYNC_ACTIVE_HIGH;
 
        if (intel_hdmi->has_hdmi_sink) {
-               sdvox |= SDVO_AUDIO_ENABLE;
+               //sdvox |= SDVO_AUDIO_ENABLE;
                if (HAS_PCH_CPT(dev))
                        sdvox |= HDMI_MODE_SELECT;
        }

and we hope to have a complete patch shortly. (Zhenyu did you get a chance
to update the patches?)

For the second issue with the wavering VGA, could you please attach your
Xorg.log and an intel_reg_dumper output to
https://bugs.freedesktop.org/show_bug.cgi?id=28306 (and obviously look
carefully at that bug to see if the video of the symptoms are indeed the
same.) An alternative explanation might be that is a self-refresh issue
instead.

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  parent reply	other threads:[~2010-10-07  8:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07  5:57 H55 chipset and KMS with HDMI/VGA milk
2010-10-07  7:06 ` Jin, Gordon
2010-10-07  7:09   ` milk
2010-10-07  8:09 ` Chris Wilson [this message]
2010-10-08  7:19   ` milk
2010-10-09  6:19   ` milk
2010-10-10  4:32     ` milk

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='89k77n$p5gqkk@fmsmga001.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=niteshadez@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.