Re: FC3 + Dell WUXGA Screen + NVidia = Working Configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This is very interesting.

I've been struggling with my Toshiba laptop with a WXGA 1280x800 display. I've seen several xorg.conf files all have issues so I've been trying to figure out the format myself.

My specific question is how do you determine how to write your own ModeLine? Do you have a reference to good documentation on how to make my own?


Jason McCormick wrote:
  I was asked by someone in another thread to post my working xorg.conf
file since this appears to be a common question and mine works.  This
configuration file is working on my Dell Inspiron 8600 w/ the WUXGA screen
and the NVidia drivers (nvidia.com not the nv module).  This sets the
screen to run in the 16:10 aspect mode at 1920x1200, 1680x1050 and 1280x800
resolutions.  This configuration has some extra tweaking with the
DisplaySize directive for the Monitor to make the fonts in KDE look right
but if you're using Gnome, it's unnecessary.  If you have questions or
comments, please CC me directly as I generally read this list in "batch
mode". Please note that some wrapping of lines has most likely occurred in
your mail reader.  Everything except for "Section" and "EndSection" starts
one tab in so anything wrapped starting in column 1 most likely belongs at
the end of the previous line.

  Some notes: I'm not specifying rhgb in grub.conf.  I do not use
xdm/gdm/kdm so this is not tested with those.  I'm setting mode 0600 on
/dev/nv* in /etc/security/console.perms. There appears to be a problem with
GL screensavers running at this aspect/resolution that makes them unusable.
If someone has a fix for this, I'd like it.  This configuration assumes you
have the nvidia.com closed-source drivers properly installed.

# Xorg configuration

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of
the # file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection


Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
#       Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#       Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#       Option  "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#       Option  "XkbLayout"     "de"
# or:
#       Option  "XkbLayout"     "de"
#       Option  "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#       Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Modes"
Identifier "16:10"
ModeLine "1280x800" 107.2 1280 1360 1496 1712 800 801 804 835
ModeLine "1280x800" 123.4 1280 1368 1504 1728 800 801 804 840
ModeLine "1280x800" 147.9 1280 1376 1512 1744 800 801 804 848
ModeLine "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054
1087
ModeLine "1680x1050" 188.1 1680 1800 1984 2288 1050 1051 1054
1096
ModeLine "1680x1050" 214.5 1680 1800 1984 2288 1050 1051 1054
1103
ModeLine "1680x1050" 256.2 1680 1808 1992 2304 1050 1051 1054
1112
ModeLine "1920x1200" 193.16 1920 2048 2256 2592 1200 1201 1204
1242 -Hsync +Vsync
EndSection


Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Dell WUXGA"
        ModelName    "LCD Panel 1920x1200"
        UseModes     "16:10"
        HorizSync    31.5 - 90.0
        VertRefresh  60.0 - 60.0
        DisplaySize  505 315
        Option      "dpms"
EndSection

Section "Device"

        Option      "FlatPanel" "1"
        Option      "UseEdidFreqs" "yes"
        Option      "FlatPanelProperties" "Scaling = aspect-scaled"
        Option      "NvAGP" "3"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "NVIDIA"
        BoardName   "NVIDIA GeForce FX (generic)"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1920x1200" "1680x1050" "1280x1024" "1280x960" "1024x76
8" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection



-- Greg Gulik http://www.gulik.org/greg/ greg @ gulik.org


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux