From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 18:19:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69C7616A400 for ; Mon, 30 Apr 2007 18:19:47 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 17BFF13C457 for ; Mon, 30 Apr 2007 18:19:46 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so1434671pyh for ; Mon, 30 Apr 2007 11:19:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nZkFndIpFcuDuxof5RkzEvcb4899Ct2bGScyACGERFk2+YTe1OKwiVeq8qxc5KrazAOYAazWeZfz/TW9y3XLo05otJNBBCLLqSI86V6RsxIC0g12+qCgn8euWoHb93Nkn+keANI4abge9lS4GBvFPrOmwjn6CwTSWdFV7WSb+/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nvARjrGcvwmt9bfvmMwPdg+AZC7hnQ0XzITcSL91SB48bLsrUtyRY7dBeBWT95214/AXrNwGxhPvmq0C0OoQ5MGi7LSEDxVTuKispzxw6q3T54iheYEaNpqASjQayg6aU9NSLungqb4gTicY5++BOGaUDKPal3uOED3eHsXObP8= Received: by 10.65.84.6 with SMTP id m6mr11959136qbl.1177957186012; Mon, 30 Apr 2007 11:19:46 -0700 (PDT) Received: by 10.65.211.20 with HTTP; Mon, 30 Apr 2007 11:19:45 -0700 (PDT) Message-ID: <19861fba0704301119k213f36b4ifb9836c722396e72@mail.gmail.com> Date: Mon, 30 Apr 2007 20:19:45 +0200 From: J65nko To: "FreeBSD Questions" In-Reply-To: <7d4f41f50704300202y366d468cu61a81b27786130c8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d4f41f50704300202y366d468cu61a81b27786130c8@mail.gmail.com> Cc: Victor Engmark Subject: Re: How to find HorizSync / VertRefresh rates? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 18:19:47 -0000 On 4/30/07, Victor Engmark wrote: > Hi all, > > I'm trying to create a pristine xorg.conf, but I've been unable to > find proper values for HorizSync and VertRefresh for my Dell Latitude > D610. > > I've tried the values presented in MonitorsDB > > for "Dell 1400x1050 Laptop Display Panel", which are HorizSync > 31.5-90.0 and VertRefresh 59.0-75.0, but I get a warning in > /var/log/Xorg.0.log for both of them saying they are "not within DDC > ranges." [snip] > (WW) I810(0): config file hsync range 60-66.3158kHz not within DDC hsync ranges. [snip] > > It seems that a DDC (or, apparently, DDS) query should be able to > determine these numbers, but [snip] I don't understand why people still configure X the old ancient way. Follow the FBSD handbook to do a 'Xorg -configure' and a test run of X with the generated Xorg.conf file. Then have a look at your your '/var/log/Xorg.0.log'. You will find a log of X using DDC to interrogate your LCD screen for it's capabilities and the acceptable modelines A snippet of my Xorg.0.log file ---------------------- (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Loading /usr/X11R6/lib/modules/libddc.so (II) Module ddc: vendor="X.Org Foundation" compiled for 6.9.0, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.8 (II) NV(0): I2C bus "DDC" initialized. (II) NV(0): Probing for EDID on I2C bus A... (II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0. (II) NV(0): I2C device "DDC:ddc2" removed. (--) NV(0): DDC detected a CRT: (II) NV(0): Manufacturer: AOC Model: a770 Serial#: 30015 (II) NV(0): Year: 1998 Week: 15 (II) NV(0): EDID Version: 1.0 (II) NV(0): Analog Display Input, Input Voltage Level: 0.714/0.286 V (II) NV(0): Sync: Separate (II) NV(0): Max H-Image Size [cm]: horiz.: 32 vert.: 24 (II) NV(0): Gamma: 1.50 (II) NV(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display (II) NV(0): redX: 0.622 redY: 0.340 greenX: 0.282 greenY: 0.600 (II) NV(0): blueX: 0.147 blueY: 0.062 whiteX: 0.278 whiteY: 0.311 (II) NV(0): Supported VESA Video Modes: (II) NV(0): 720x400@70Hz (II) NV(0): 640x480@60Hz (II) NV(0): 640x480@75Hz (II) NV(0): 800x600@75Hz (II) NV(0): 1024x768@75Hz (II) NV(0): Manufacturer's mask: 0 (II) NV(0): Supported Future Video Modes: (II) NV(0): #0: hsize: 640 vsize 480 refresh: 85 vid: 22833 (II) NV(0): #1: hsize: 800 vsize 600 refresh: 85 vid: 22853 (II) NV(0): #2: hsize: 1024 vsize 768 refresh: 85 vid: 22881 [snip] (==) NV(0): Using gamma correction (1.0, 1.0, 1.0) (II) NV(0): Monitor0: Using default hsync range of 43.27-69.85 kHz (II) NV(0): Monitor0: Using default vrefresh range of 60.02-85.01 Hz (II) NV(0): Clock range: 12.00 to 350.00 MHz [snip](**) NV(0): *Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz (II) NV(0): Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (**) NV(0): *Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz (II) NV(0): Modeline "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync (**) NV(0): Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz (II) NV(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (**) NV(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz (II) NV(0): Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (**) NV(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz (II) NV(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (**) NV(0): Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz [remainder snipped] ----------------------------------------- In your Xorg conf just put in the resolution you want and X will usually figure out which sync rates to use. Or copy the modelines you find in your Xorg.0.log file.