[TriLUG] Red Hat 9 and Samsung Monitor

David A. Cafaro dac at cafaro.net
Sat May 3 01:05:59 EDT 2003


gtf! Cool, didn't know of that utility, and here I was trying to dig up
the old modeline notes I have somewhere.  Glad you got it working. 

-David

On Fri, 2003-05-02 at 21:33, Mike wrote:
> I got it to work!  In case anyone else needs to do this.
> 
> First run gtf
> 
> [mike at TUX logs]$ su root
> Password:
> [root at TUX logs]# gtf
> 
> usage: gtf x y refresh [-v|--verbose] [-f|--fbmode] [-x|-xf86mode]
> 
>             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|-xf86mode : output an XFree86-style mode description (this is the default
>                 if no mode description is requested)
> 
> [root at TUX logs]# gtf 1024 768 100
> 
>   # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
>   Modeline "1024x768_100.00"  113.31  1024 1096 1208 1392  768 769 772 814 
> HSync +Vsync
> 
> [root at TUX logs]#
> 
> Then modify XF86Config.  The modeline is long and wraping KMail, but not the 
> config file.
> 
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Monitor Vendor"
>         ModelName    "S/M 955DF"
>         DisplaySize  360        270
>         HorizSync    30.0 - 85.0
>         VertRefresh  50.0 - 160.0
>         Option      "dpms"
>        # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
>         Modeline "1024x768_100.00"  113.31  1024 1096 1208 1392  768 769 772 
> 814  -HSync +Vsync
> EndSection
> 
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Videocard0"
>         Monitor    "Monitor0"
>         DefaultDepth     16
>         SubSection "Display"
>                 Depth     16
>                 Modes    "1024x768_100.00" "1024x768" "800x600" "640x480"
>         EndSubSection
> EndSection
> 
> Thanks,
> Mike
> 
> On Friday 02 May 2003 15:49, David A. Cafaro wrote:
> > Maybe you could go back to the old way and specify a modeline for each
> > of your resolutions?  Looking though my Xfree86 log I find examples such
> > as these:
> >
> > *Default mode "1600x1200": 229.5 MHz, 106.2 kHz, 85.0 Hz
> > Modeline "1600x1200"  229.50  1600 1664 1856 2160  1200 1201 1204 1250
> > 			+hsync +vsync
> >
> > *Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
> > Modeline "1024x768"   94.50  1024 1072 1168 1376  768 769 772 808
> > 			+hsync +vsync
> >
> > Interestingly enough it looks like the HorizSync and VertRefresh
> > statements never try anything over 85.3 Hz on my system even though I
> > know I can run much much more at low resolutions (1280x1024 and under
> > should be able to do 100Hz+).  My guess is your best bet will be to
> > manually specify modelines to force X to higher refresh rates.
> > Unfortunately it's been a long time since I did modelines manually...
> >
> > -David




More information about the TriLUG mailing list