Modelines for Montiors

cedric cedric.de.wijs at softhome.net
Tue Feb 24 05:11:49 PST 2004


On Tuesday 24 February 2004 11:48, Michael Brömer wrote:
> Am Dienstag, 24. Februar 2004 09:11 schrieb Arindam Dey:
> > And this is a LCD monitor so thats why I thought it
> > needs the modeline.
>
> You did not mention that you use a LCD monitor.
>
> The data you gave does most likely not belong to a
> LCD monitor. Vertical refresh with 160Hz?
> The width:height ration you gave was 4:3. Which, for
> a LCD monitor, does not correspond well with the
> displaysize you gave. Between 15" and 20" LCD
> monitors usually have a width:height ration of
> 5:4 and a resolution of 1280x1024.
>
> I have a LCD Monitor here and my monitor section is:
>
> Section "Monitor"
>   Identifier  	"MIRO FP176"
>   VendorName  	"MIRO"
>   ModelName  	"FP176"
>   HorizSync  	30-80
>   VertRefresh  	55-60
>   DisplaySize	338 270
> EndSection
>
> 60Hz is what you usually want from a LCD monitor. Since
> it has a fixed physical resolution you only need one mode
> in the "Display" section. Mine is 1280x1024.
>
> If you give the correct "DisplaySize" in your config
> file XFree will calculate the correct resolution by itself.
>
> It is highly unlikely that you would have to mess with
> a modeline. The last time i used a modeline was about
> 5 years ago, when i had a 20" "fixed frequency" monitor.

I have messed with a modeline recently, to get the output the same for the 
framebuffer and X.

Anyway, here's my config, hope it helps.

Regards, cedric

>
> --
> Michael

-- 
The only dumb question is the one omitted

De enige domme vraag is degene die niet gesteld wordt
-------------- next part --------------
#"1280x1024"   108.00   1280 1352 1464 1700   1024 1025 1028 1066 +hsync +vsync
#"1280x1024"   108.00   1280 1348 1460 1700   1024 1025 1028 1066 +hsync +vsync
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "ImPS/2"
	Option	    "Device" "/dev/mouse"
	Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
	#DisplaySize	  330   270	# mm
	Identifier   "Monitor0"
	VendorName   "LTN"
	ModelName    "B17AAH/S"
	Option	    "DPMS"
	ModeLine "1280x1024"   108.00   1280 1348 1460 1700   1024 1025 1028 1066 +hsync +vsync
	VertRefresh 60
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
	Option "NoLogo" "true"
	Identifier  "Card0"
	#Driver      "nv"  #zonder 3d acceleratie
	Driver      "nvidia" #met 3d acceleratie
	VendorName  "nVidia Corporation"
	BoardName   "NV11 [GeForce2 MX/MX 400]"
	BusID       "PCI:0:15:0"
EndSection

Section "Screen"
	DefaultDepth 24 #was 16
	#DefaultDepth 8 #voor wine/starcraft
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes	"640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes "1280x1024" 
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "1280x1024" "640x480"
	EndSubSection
EndSection



More information about the blfs-support mailing list