a problem setting screen resolution with Xorg-6.9.0

Simon Phoenix phoenix.lists at gmail.com
Sun Aug 20 23:41:56 UTC 2006


On Sunday 20 August 2006 20:13, carl at udel.edu wrote:
> Fellow FreeBSDers,
>
> I have recently installed FreeBSD 6.1 on a Pentium III box, using an NVidia
> GeForce 2 GTS card and a CTX PL9 monitor.  Running "X -configure" as root
> generates the file xorg.conf.new, and then running "X -config
> xorg.conf.new", pulls up a generic X screen with a resolution of 1600x1200.
>  I go in and modify the xorg.conf.new file to make the default resolution
> 1280x1024, and rerun "X -config xorg.conf.new", but the resolution is still
> 1600x1200.  This is a wonderful resolution, but it makes everything rather
> small, and the icons are difficult to see.  I am obviously setting
> something wrong, but I do not know what it is.  Might anyone have any
> suggestions.  I really would rather have the resolution be 1280x1024. 
> Thanks for your help!
>
>
> Carl
>
> The following is the file xorg.conf.new:
>
> Section "ServerLayout"
>         Identifier     "X.org Configured"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> 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 6 7"
> EndSection
>
> Section "Monitor"
>         #DisplaySize      360   270     # mm
>         Identifier   "Monitor0"
>         VendorName   "CTX"
>         ModelName    "3700"
>  ### Comment all HorizSync and VertSync values to use DDC:
>         HorizSync    30.0 - 95.0
>         VertRefresh  50.0 - 160.0
>         Option      "DPMS"
> EndSection
>
> Section "Device"
>         ### Available Driver options are:-
>                                                                            
>                  ### Values: <i>: integer, <f>: float, <bool>:
> "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "SWcursor"                  # [<bool>]
>         #Option     "HWcursor"                  # [<bool>]
>         #Option     "NoAccel"                   # [<bool>]
>         #Option     "ShadowFB"                  # [<bool>]
>         #Option     "UseFBDev"                  # [<bool>]
>         #Option     "Rotate"                    # [<str>]
>         #Option     "VideoKey"                  # <i>
>         #Option     "FlatPanel"                 # [<bool>]
>         #Option     "FPDither"                  # [<bool>]
>         #Option     "CrtcNumber"                # <i>
>         #Option     "FPScale"                   # [<bool>]
>         #Option     "FPTweak"                   # <i>
>         Identifier  "Card0"
>         Driver      "nv"
>         VendorName  "nVidia Corporation"
>         BoardName   "NV15 [GeForce2 GTS/Pro]"
>         BusID       "PCI:1:0:0"
> EndSection
>
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Card0"
>         Monitor    "Monitor0"
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     24
>                 Modes     "1280x1024"
>         EndSubSection
> EndSection

I can't find any mistakes in your config.
Maybe You can try ModeLine option in the Monitor section.
More details - man 5 xorg.conf
You can generate ModeLine string by gtf(1)
or on the http://www.dkfz-heidelberg.de/spec/linux/modeline/

And remember, that very hight frequency values may DAMAGE Your monitor.
Be careful.

-- 
Best regards,
Simon Phoenix (Phoenix Lab.)
---------------------------------------------------------------
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
---------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20060820/0d98afc8/attachment.pgp


More information about the freebsd-x11 mailing list