View Single Post
Old 06-22-07, 12:33 PM   #4
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Ubuntu/Debian + Nvidia 420 + Toshiba 2410 resolution issue

Code:
luser@ids-m8cj4:~$ gtf

usage: gtf x y refresh [-v|--verbose] [-f|--fbmode] [-x|--xorgmode]

            x : the desired horizontal resolution (required)
            y : the desired vertical resolution (required)
      refresh : the desired refresh rate (required)
 -v|--verbose : enable verbose printouts (traces each step of the computation)
  -f|--fbmode : output an fbset(8)-style mode description
 -x|--xorgmode : output an Xorg-style mode description (this is the default
                if no mode description is requested)

luser@ids-m8cj4:~$ gtf 1024 768 60

  # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
  Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync

luser@ids-m8cj4:~$
Example modeline in production, on my machine at home. Note since you're ignoring EDID and DDC you'll need to specify your VertRefresh and HorizSync.

Code:
Section "Monitor"
        Identifier      "DFP-0"
        Option          "DPMS"
        VertRefresh     51-75
        HorizSync       51-150
        Modeline        "1440x900" 97.54  1440 1472 1840 1872 900 919 927 946
EndSection
Section "Screen"
        Identifier      "Screen0"
        Device          "NVIDIA Corporation NV36 [GeForce FX Go 5700]"
        Monitor         "DFP-0"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1440x900" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
evilghost is offline   Reply With Quote