From mboxrd@z Thu Jan 1 00:00:00 1970 From: The Fungi Subject: Re: Using quirks to fix incorrect Monitor physical size Date: Mon, 13 Sep 2010 13:44:38 +0000 Message-ID: <20100913134436.GX2241@yuggoth.org> References: <4C8E0792.3090404@earthlink.net> <848094323.727859.1284378142343.JavaMail.root@sz0115a.westchester.pa.mail.comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by gabe.freedesktop.org (Postfix) with ESMTP id D831F9E710 for ; Mon, 13 Sep 2010 06:44:41 -0700 (PDT) Received: from cthulhu.yuggoth.org ([172.23.5.50] ident=Debian-exim) by dagon.yuggoth.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Ov9Kp-0007TL-Bo for intel-gfx@lists.freedesktop.org; Mon, 13 Sep 2010 13:44:39 +0000 Received: from fungi by cthulhu.yuggoth.org with local (Exim 4.71) (envelope-from ) id 1Ov9Ko-0004z3-E1 for intel-gfx@lists.freedesktop.org; Mon, 13 Sep 2010 13:44:38 +0000 Content-Disposition: inline In-Reply-To: <848094323.727859.1284378142343.JavaMail.root@sz0115a.westchester.pa.mail.comcast.net> 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: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Mon, Sep 13, 2010 at 11:42:22AM +0000, Nasa wrote: [...] > I have also verified that the monitor doesn't provide EDID data as > the file size (I found were it's dump to, just can't recall right > now) was 0. [...] You checked the size of the /sys/devices/*/*/drm/*/*/edid structure (remember to cat it and redirect or pipe that through something, since it's not a real file)? fungi@hastur:~$ cat '/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI Type A-1/edid' | wc -c 256 If memory serves, there was a commit to the driver a kernel rev or two after KMS went in allowing explicit mode timings to be supplied on as a kernel/driver parameter, though I'm having trouble digging up the details now (I could also be misremembering and it just allows you to pick among the additional non-preferred modes detected by the driver). For a while, I was stuck editing the kernel source and hacking the default display timings to match my monitor, which was ugly but definitely worked. If you're using Xorg and can survive with no visible display until after it starts (using a mode your driver supports but your monitor does not), xrandr can be used to manually insert additional modelines and switch to those (I used to do that in my ~/.xinitrc until mode detection for my HDTV's HDMI input improved). -- { IRL(Jeremy_Stanley); PGP(97AE496FC02DEC9FC353B2E748F9961143495829); SMTP(fungi@yuggoth.org); IRC(fungi@irc.yuggoth.org#ccl); ICQ(114362511); AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fungi@yuggoth.org); MUD(kinrui@katarsis.mudpy.org:6669); WWW(http://fungi.yuggoth.org/); }