View Full Version : How to determine proper modeline?
Cheetos
06-14-05, 05:06 PM
Prior to switching to switching to the nvidia driver, I was using Xorg's nv driver. I have a Dell 2005FPW which is an LCD monitor with a native resolution of 1680x1050.
When using the nv driver, I was able to specify the ModeLine for that resolution. E.g., the xorg.conf entry was:
ModeLine "1680x1050" 188.1 1680 1800 1984 2288 1050 1051 1054 1096
I've been unable to run at 1680x1050 when using the nvidia driver as it complains about the modeline entry. The specific error message is:
(II) NVIDIA(0): Not using mode "1680x1050" (bad mode clock/interlace/doublescan)
How do I go about determining a proper modeline entry?
You can set your resolution in Modes line: Section "Screen" -> SubSection "Display" -> Modes
For.Ex.:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
There could be several SubSections "Display" for differnet depths, DefaultDepth line is used to switch them.
Cheetos
06-15-05, 10:40 AM
Thanks, for the reply. The problem, unfortunately, is the ModeLine entry. My Screen section does have a Mode entry, referring to the 1680x1050 mode.
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050"
EndSubSection
But the nvidia driver cannot honor that mode request because it thinks the 1680x1050 mode is invalid. Presumably since Xorg's nv driver can support a 1670x1050 resolution, NVidia's nvidia driver can, too. I just don't know how to determine how to construct a proper ModeLine entry.
Cheetos
06-17-05, 03:02 PM
Answer to my own question: use Windows :( ...
The ModeLine entered while working for Xorg's nv did not for NVidia's nvidia. A post on another nvnews forum (here (http://www.nvnews.net/vbulletin/showpost.php?p=542952&postcount=39) ) identfied a working Modeline entry as reported by some Windows utility.
The working ModeLine entry is:
ModeLine "1680x1050" 119.0 1680 1728 1760 1840 1050 1053 1059 1080
and for the record, the entire xorg.conf is:
Section "ServerLayout"
Identifier "default"
Screen 0 "OfficeScreen" 0 0
InputDevice "Mice" "CorePointer"
InputDevice "Keyboard" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11/lib/X11/rgb"
ModulePath "/usr/X11/lib/modules"
FontPath "/usr/X11/lib/X11/fonts/TrueType/"
FontPath "/usr/X11/lib/X11/fonts/Type1/"
FontPath "/usr/X11/lib/X11/fonts/Type1/sun/"
FontPath "/usr/X11/lib/X11/fonts/F3bitmaps/"
FontPath "/usr/X11/lib/X11/fonts/misc/"
FontPath "/usr/X11/lib/X11/fonts/100dpi/"
FontPath "/usr/X11/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "IA"
Load "Xst"
Load "dbe"
Load "extmod"
Load "record"
Load "xtrap"
Load "bitstream"
Load "type1"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mice"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "OfficeHead"
VendorName "Dell"
ModelName "Dell 2005FPW"
Option "DPMS"
ModeLine "1680x1050" 119.0 1680 1728 1760 1840 1050 1053 1059 1080
EndSection
Section "Device"
Identifier "Quadro4"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV18GL [Quadro4 NVS AGP 8x]"
BusID "PCI:9:0:0"
Option "CursorShadow" "true"
EndSection
Section "Screen"
Identifier "OfficeScreen"
Device "Quadro4"
Monitor "OfficeHead"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050"
EndSubSection
EndSection
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.