I wouldn't say I know more about the OS. I just work a lot with the offical "ubuntu way" of doing things. But thanks for the compliment
Now on to a xorg.conf
I guess I should of given the complete instructions. Anyways, you can find them here
www.ubuntuguide.org But I'm going to repoduce them here anyways.
To install and enable the nvidia video driver.
sudo apt-get install nvidia-glx
sudo apt-get install nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nvidia-glx-config enable
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop
Insert the following lines into the new file
[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
That will make a new menu in Applications, System Tools, Nvidia settings
Save the file.
Restart the PC or just restart gnome by entering this command
sudo /etc/init.d/gdm restart
Now after you have done that, if you still do not have your required setting, you will need to do the following.
backup your xorg.conf
open your xorg.conf with the editor of your choice.
Find the section that looks like this.
Section "Monitor"
Identifier "My Monitor"
# 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.5 - 50.0
# 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 40-90
# Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection
Now, what you want to do is edit your HorizSync and VertRefresh to values supplied by your monitor manual.
From what I can find googling we want it like this
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 150.0
Also you probably want Option "dpms" for power managment
so lets change it to look like this
Section "Monitor"
Identifier "ViewSonic"
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 150.0
Option "dpms"
EndSection
Now, lets find a section that looks like this
# **********************************************************************
# 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 "GeForce FX"
Monitor "My Monitor"
# 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 24
#Modes "1440x900" "1024x768" "800x600" "640x480"
Modes "1024x768" "800x600" "640x480"
#Modes "1600x1200"
EndSubsection
EndSection
What we will need to do is first setup this area
Section "Screen"
Identifier "Screen 1"
Device "GeForce FX"
Monitor "ViewSonic"
Make sure you use the device id for your video card, and for your monitor. So whatever you called them is what you should be using.
Next find this section
DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32
Make sure you have DefaultDepth 24 as your default depth (in linux there is no 32bit, just 24bit, they are the same thing)
And finally we will edit this section
Subsection "Display"
Depth 24
#Modes "1440x900" "1024x768" "800x600" "640x480"
Modes "1024x768" "800x600" "640x480"
#Modes "1600x1200"
EndSubsection
For each of your color depths (8, 16, and 24) you can set which resolutions you want to use.
so for 24 we would do this (we need to add all resoultuions you may use, even ones for video games)
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
Depth 16
Modes "1600x1200" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
Depth 8
Modes "1600x1200" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
EndSubsection
Finally in this area
Section "ServerLayout"
Make sure you have your Screen set to the new screen we just setup (Screen 1) and you have the proper InputDevice's set.
Then restart X and give that a try. If the nvidia driver fails to load, make sure that in
Section "Module"
That Load "dri" and Load "glcore" are both commented out (put a # in front of them)
and that Load "glx" is enabled. If you followed the nvidia install instructions above that should of been done for you.