Monitor: LG Flatron L1710S
Graphics card: nvidia geforce 6600 GT
CPU: Intel P4, 2.4 gHz, IA32
Distro: Slack 10.2
I am also using Slack 10.2 and I had the exact same problem. The nvidia driver (NVIDIA-Linux-x86-1.0-8762) kept using the 800x600 resolution even though I had a 1280x1024 mode in xorg.conf
In the following I will describe how I solved the problem and got a 1280x1024 resolution
First of all I made sure that I had the proper horizontal and vertical refresh rates for my monitor as mentioned previously by HappyTux. That just was not enough to solve the problem.
I browsed the Web and found out, that there is something called "EDID" (short for Extended Display Identification Data). nvidia uses EDID to obtain information about the monitor. If there is somehow something wrong with that information (perhaps because of wrong driver for the monitor?) then nvidia discards all modes in xorg.conf and falls back to a default resolution (800x600). This turned out to be my problem.
I could not get a driver for my LG monitor as the site had technical problems, so I found out how to make nvidia ignore EDID. It is done by adding the line
Code:
Option "UseEDID" "FALSE"
in the device section, something like
Code:
Section "Device"
Identifier "VESA Framebuffer"
Driver "nvidia"
Option "UseEDID" "FALSE"
EndSection
Since this prevents nvidia from obtaining techinical specs for the monitor via EDID I had to make my own modeline by using a modeline generator. I used XFREE86's modeline generetor at http ://xtiming.sourceforge.net/cgi-bin/xtiming.pl and inserted the modeline
Code:
Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
in the monitor section, something like
Code:
Section "Monitor"
Identifier "My Monitor"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
EndSection
WARNING! IF YOU DO SOMETHING LIKE THIS YOU TAKE THE RISK OF DAMAGING YOUR HARDWARE BECAUSE THOSE NUMBERS ARE USED TO CONTROL THE HARDWARE!
In my screen section I can now refer to the above modeline, something like
Code:
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024@60"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024@60"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024@60"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024@60"
EndSubSection
EndSection
This worked for me
It is helpful to check /var/log/Xorg.0.log. Somewhere in this log file nvidia reports back. Good luck!