Hi.
I am running slackware 11 with the nvidia drivers.
I will post the relevant portions of my xorg.conf
Please note that the refresh rates are for my monitor (viewsonic A90f+).
Your vertical and horizontal rates may need to be different.
Lines starting with # are commented out.
Code:
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "ViewSonic A90f+"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 31-120
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 50-180
Option "dpms" "true"
Option "UseEdidDpi" "false"
# calc: [96 DPI : 3.8], [100 DPI : 3.96], [104 DPI : 4.12]
# 96 / 25.25 = 3.8 100 / 25.25 = 3.96 104 / 25.25 = 4.12
#
# DisplaySize 168 126 # 96 DPI @ 640x480
# DisplaySize 210 157 # 96 DPI @ 800x600
# DisplaySize 270.3 202.1 # 96 DPI @ 1024x768
# DisplaySize 258.6 193.9 # 100 DPI @ 1024x768
# DisplaySize 256.0 192.0 # 101 DPI @ 1024x768
DisplaySize 303.2 227.4 # 96 DPI @ 1152x864
# DisplaySize 336 252 # 96 DPI @ 1280x960
# DisplaySize 336 269 # 96 DPI @ 1280x1024 (non 4:3 aspect)
# DisplaySize 420 315 # 96 DPI @ 1600x1200
EndSection
Regarding the above section:
I like my resolution for fonts to be 96 dpi.
The "UseEdidDpi - false" section is needed or the DisplaySize lines are ignored.
I am currently running at 1152x864
Code:
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
Section "Device"
Identifier "nVidia"
# Driver "nv"
Driver "nvidia"
EndSection
Regarding the above section:
I am running the nvidia driver. The nv driver line is commented out (#)
Code:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "nVidia"
Monitor "ViewSonic A90f+"
# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32
# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Regarding the above section:
My color depth is 24. The mode section for 24 color depth starts with "1152x864". This is where you would define the display mode you want besides the "800x600" you are currently experiencing. The X server will default to the first setting in the list (1152x864 in my example). Bear in mind that you will need the specify the correct horizontal and vertical refresh rates for your monitor in the monitor section or you will run at a too low a refresh rate or not be able to start X at all.
HTH
Steve