Screen resolution on FreeBSD 7.0

Nishita Desai nishita at mri.ernet.in
Wed Apr 9 18:33:47 UTC 2008


From: Nishita Desai <nishita at mri.ernet.in>
Date: Wed, Apr 9, 2008 at 10:26 PM
Subject: Screen resolution on FreeBSD 7.0
To: freebsd-question at freebsd.org


Hello,

 I just installed FreeBSD 7.0 on a Dell Inspirion 640m notebook and am
 trying to get the screen resolution right. I need a 1280x800
 wide-screen resolution and according to the Handbook, I should be able
 to do that by modifying the xorg.conf. I also have Ubuntu running a
 nice resolution on the other partition (slice) so I used the "Screen"
 section of it's xorg.conf to make the changes

 Here is the xorg.conf file:

 ------
 Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection

 Section "Files"
        RgbPath      "/usr/local/share/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
 EndSection

 Section "Module"
        Load  "GLcore"
        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      300   190     # mm
        Identifier   "Monitor0"
        VendorName   "QDS"
        ModelName    "47"
 EndSection

 Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics
 Controller"
        BusID       "PCI:0:2:0"
 EndSection

 Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1280x800"
        EndSubSection
 EndSection

 ----


 I also found this in /var/log/Xorg.0.log

 (II) I810(0): Monitor0: Using hsync range of 45.71-50.53 kHz
 (II) I810(0): Monitor0: Using vrefresh value of 60.00 Hz
 (II) I810(0): Not using mode "1280x800" (no mode of this name)
 (--) I810(0): Virtual size is 1024x768 (pitch 1024)
 (**) I810(0):  Built-in mode "1024x768"

 Can anyone help?

 Thanks,
 Nishita.


More information about the freebsd-questions mailing list