"Out of range" starting Xorg on dual display

Garrett Cooper youshi10 at u.washington.edu
Thu Nov 10 20:18:11 GMT 2005


On Nov 10, 2005, at 11:07 AM, Pat Maddox wrote:

> On 11/10/05, Garrett Cooper <youshi10 at u.washington.edu> wrote:
>> On Nov 10, 2005, at 3:10 AM, Pat Maddox wrote:
>>
>>> I've got a dual display setup, and it had been working fine once I
>>> finally got the config done.  They're two displays running off one
>>> graphics card, one through the DVI output and one through the D-SUB.
>>> Today I had to switch the inputs that the monitors use, and it just
>>> doesn't work anymore.  I get a message on my left display that says
>>> "Out of range."  This isn't an Xorg or FreeBSD error, it's a message
>>> from the displays built-in HUD.  This doesn't make any sense because
>>> as far as Xorg is concerned, there shouldn't be any difference.  The
>>> D-SUB display should be on the left, and the DVI one should be on  
>>> the
>>> right.  I really don't understand what could be causing a  
>>> problem, but
>>> for what it's worth, the display now connected to the D-SUB has  
>>> always
>>> been more finicky than my other display.  They're a ViewSonic vp201
>>> (D-SUB) and Dell 2001fp (DVI).  Here's my config:
>>>
>>>
>>> Section "ServerLayout"
>>>       Identifier     "Dual Head"
>>>       Screen      0  "Screen0" 0 0
>>>       Screen      1  "Screen1" RightOf "Screen0"
>>>       InputDevice    "Mouse0" "CorePointer"
>>>       InputDevice    "Keyboard0" "CoreKeyboard"
>>>
>>>       Option "Xinerama" "true"
>>>       Option "Clone" "off"
>>> EndSection
>>>
>>> Section "Files"
>>>       RgbPath      "/usr/X11R6/lib/X11/rgb"
>>>       ModulePath   "/usr/X11R6/lib/modules"
>>>       FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
>>>       FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
>>>       FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
>>>       FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
>>>       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
>>>       FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
>>> EndSection
>>>
>>> Section "Module"
>>>       Load  "dbe"
>>>       #Load  "dri"
>>>       Load  "extmod"
>>>       Load  "glx"
>>>       Load  "record"
>>>       Load  "xtrap"
>>>       Load  "freetype"
>>>       Load  "type1"
>>> EndSection
>>>
>>> Section "InputDevice"
>>>       Identifier  "Keyboard0"
>>>       Driver      "kbd"
>>> EndSection
>>>
>>> Section "InputDevice"
>>>       Identifier  "Mouse0"
>>>       Driver      "mouse"
>>>       Option      "Protocol" "auto"
>>>       Option      "Device" "/dev/sysmouse"
>>>       Option      "ZAxisMapping"      "4 5"
>>> EndSection
>>>
>>> Section "Monitor"
>>>       Identifier      "Monitor0"
>>>       VendorName      "Vendor Name"
>>>       ModelName       "Model Name"
>>> EndSection
>>>
>>> Section "Device"
>>>       Identifier "Card0"
>>>       Driver "nvidia"
>>>       VendorName "nVidia Corporation"
>>>       BoardName "NV25 [GeForce4 Ti 4600]"
>>>       BusID "PCI:1:0:0"
>>>       Screen 0
>>>       Option "RenderAccel" "true"
>>>       Option "AllowGLXWithComposite" "true"
>>> EndSection
>>>
>>> Section "Device"
>>>       Identifier "Card1"
>>>       Driver "nvidia"
>>>       VendorName "nVidia Corporation"
>>>       BoardName "NV25 [GeForce4 Ti 4600]"
>>>       BusID "PCI:1:0:0"
>>>       Screen 1
>>>       Option "RenderAccel" "true"
>>>       Option "AllowGLXWithComposite" "true"
>>> EndSection
>>>
>>> Section "Screen"
>>>       Identifier "Screen0"
>>>       Device     "Card0"
>>>       Monitor    "Monitor0"
>>>       DefaultDepth 24
>>>
>>>       SubSection "Display"
>>>               Viewport 0 0
>>>               Depth     24
>>>               Modes   "1600x1200"
>>>       EndSubSection
>>> EndSection
>>>
>>> Section "Screen"
>>>       Identifier "Screen1"
>>>       Device "Card1"
>>>       Monitor "Monitor0"
>>>       DefaultDepth 24
>>>
>>>       SubSection "Display"
>>>               Viewport 0 0
>>>               Depth 24
>>>       EndSubSection
>>> EndSection
>>
>>         The issue is with your refresh rates on one of the  
>> monitors is out
>> of range. So what you need to do is go online, search for the maximum
>> resolution for your monitors, and match it with the maximum supported
>> resolution for your card along with the individual monitor's maximum
>> resolution.
>> -Garrett
>>
>
> Thanks for the reply.
>
> I checked out what refresh rates they're using in Windows, and both
> monitors are set to 60.  The finicky monitor apparently can run at 60,
> 70, or 72.
>
> I set the VertRefresh to 60, start up Xorg, and now I'm not getting
> the error, but it's really flickery.  Really, it's more like a bunch
> of lines are scrolling down very quickly, it's not flicker, so
> something definitely isn't right.  If I set the VertRefresh to a
> range, like 60-72, I still get that Out of Range error.  I haven't
> been able to find out exactly what refresh rates to use, because these
> are LCDs and the refresh rates given in ms, not Hertz.  Not really
> sure what that means.
>
> Thanks for the reply, seems like I'm getting closer...I'd appreciate
> any more help you can give me.
>
> Pat

Pat,
	That's not the actual refresh range for the monitor, it's just the  
currently used range.
	What you want to do is search for "{maker} {model} horizontal  
refresh" in google; the pages which come up are the ones you want to  
refer to for your xorg.conf configuration.
	Also, just as a sidenote, setting the refresh rate of the monitor to  
the highest possible range will help your eyes as they are accustomed  
to a higher refresh rate than 60 Hz
-Garrett


More information about the freebsd-questions mailing list