Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2007 20:19:45 +0200
From:      J65nko <j65nko@gmail.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Cc:        Victor Engmark <victor.engmark@gmail.com>
Subject:   Re: How to find HorizSync / VertRefresh rates?
Message-ID:  <19861fba0704301119k213f36b4ifb9836c722396e72@mail.gmail.com>
In-Reply-To: <7d4f41f50704300202y366d468cu61a81b27786130c8@mail.gmail.com>
References:  <7d4f41f50704300202y366d468cu61a81b27786130c8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/30/07, Victor Engmark <victor.engmark@gmail.com> 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
> <http://sources.gentoo.org/viewcvs.py/gentoo/src/hwdata/MonitorsDB?view=markup>;
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19861fba0704301119k213f36b4ifb9836c722396e72>