Dear Xn Nooby,

Im not sure if there is such a tool to edit xorg.conf file and limit the 
maximum resolution.
In gnome desktop there is a graphical tool to switch resolution (System -> 
Preferences -> Screen Resolution)

To make things obvious you will have to take a look at your xorg.conf file
Please do change  dir to its parent folder (cd /etx/X11/) and run 
cat xorg.conf | tr -s "\n" | grep -v "#"
that should make your xorg.conf look simple and clear. 

There is a sample output below. It is a working xorg.conf
Take a look at the section "Screen" It has 
Identifier, Device, Monitor, DefaultDepth options
and 3 Subsections named "Display" for each depth
where the screen resolution modes are listed:
1024 x 7 6 8 <-
800 x 600

One of the following key sequence switches modes on a running server.
KP_-, KP_+ (those are keypad minus or keypad plus, or gray -/+)



Section "Module"
    SubSection  "extmod"
    Load        "type1"
    Load        "freetype"
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    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/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
Section "ServerFlags"
     Option "AllowMouseOpenFail" "False"
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "us"
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Device"      "/dev/ums1"
    Option "ZAxisMapping"   "4 5 6 7"
Section "Monitor"
    Identifier  "Philips105B"
    HorizSync   31.5 - 57.0
    VertRefresh 50-100
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
Section "Device"
    Identifier  "S3G IGP PRO"
    Driver      "vesa"
Section "Screen"
    Identifier  "Screen 1"
    Device      "S3G IGP PRO"
    Monitor     "Philips105B"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

----- Original Message ----
From: Xn Nooby <[EMAIL PROTECTED]>
Sent: Tuesday, January 1, 2008 2:01:47 PM
Subject: Resolution too high with 7-RC1, nVidia, xorg

I am having trouble getting X to use a screen resolution that is less
than the maximum.  When I edit my xorg.conf to add a DefaultDepth and
a Mode of "1024x768", it still comes up at 1280x1024.  I did not
create any modeline entries yet, since I'm not sure how to do that.
My GUI (icewm) works, but browsing the web creates enormous eye-strain
from the high-resolution letters.

My hardware is a Dell Inspiron 530 Desktop with an nVidia Card. It
comes with SATA CD's, so I have to install with FreeBSD 7-RC1.

I started by running "xorg -configure", and used the xorg.conf that it
generated.  I looked at /var/log/Xorg.0.log, and it had many entries
from probing my hardware.  It appears there is some kind of dynamic
configuration going on, but I know its using the xorg.conf, because it
got an error when I changed the adapter entry from "nv" to "vga".

I actually had a similar problem on Ubuntu, and they had some
"xorg-reconfigure" program that would let you use less than maximum
values.  I was wondering if FreeBSD had something similar.

The "DefaultDepth 24" and "Modes "1024x786"" entries are from the
online FreeBSD Handbook, I believe I followed the Handbook
instructions properly.

Am I missing something obvious?  From using Linux, I was expecting the
"Modes" values to work.
_______________________________________________ mailing list
To unsubscribe, send any mail to

Never miss a thing.  Make Yahoo your home page.
_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to