From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: i915 problem with DVI to HDMI adapter: crazy colors Date: Mon, 9 Jul 2012 10:11:43 +0200 Message-ID: <20120709081143.GA5349@phenom.ffwll.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id EBF989F308 for ; Mon, 9 Jul 2012 01:11:47 -0700 (PDT) Received: by wgbdr1 with SMTP id dr1so8776178wgb.12 for ; Mon, 09 Jul 2012 01:11:47 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Dan Callahan Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sun, Jul 08, 2012 at 06:33:14PM -0500, Dan Callahan wrote: > Hi all, > > I'm running Debian Wheezy (testing) on an Asus Eee Box B202 nettop > which has an Intel 945GME chip and a DVI-I output. > > I'm trying to connect it to a Panasonic Viera TC-L42E50 HDTV via a > DVI-to-HDMI adapter. The resolution and rendering acceleration all > seem to be working fine, but the colors are very wrong: Black > appears green, and white appears pink. > > This only happens when KMS kicks in and I'm going from DVI to HDMI. > During POST and at the GRUB selection screen, everything looks > great. Things also look fine over a DVI to VGA adapter, or when KMS > is disabled via i915.modeset=0. For photos, check out > http://imgur.com/a/sVAx7 > > I'm using Debian's stock 3.2.0-2-686-pae i686 kernel. A slightly > similar issue was reported at http://bugs.debian.org/607529 and in > an old thread here: http://lists.freedesktop.org/archives/intel-gfx/2010-October/008315.html > Alas, the patches mentioned in the above threads appear to have made > it into the upstream kernel without resolving the issue on my > hardware. > > I've attached the output of dmesg when booting with drm.debug=0x0e > to this message. Please let me know if I can provide other > information or be of further help. I'm all set up to recompile the > i915 module, so I'm happy to test patches. I guess this is yet another incarnation of us not properly setting up hdmi infoframes. Can you please test with a 3.5-rc kernel, that one contains a fix for sdvo hdmi support. Specifically commit 81014b9d0b55fb0b48f26cd2a943359750d532db Author: Daniel Vetter Date: Sat May 12 20:22:00 2012 +0200 drm/i915: fixup infoframe support for sdvo If that doesn't help, please also attach the output of xrandr --verbose. Yours, Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48