[CentOS] 4.4 on Dell D620: widescreenresolution?

Dag Wieers dag at wieers.com
Fri Sep 29 09:40:20 UTC 2006


On Fri, 29 Sep 2006, Henk van Lingen wrote:

> Did anyone manage to get 4.4 working on a Dell  D620 laptop? The thing
> has a 1440x900 LCD screen, but I don't get X the work with that
> resolution. (lspci: Intel Corporation Mobile 945GM/GMS/940GML Express 
> Integrated Graphics Controller (rev 03))
> 
> Google suggested to use '915resolution', which I installed
> (915resolution-0.5.2-1.el4.rf), but that doesn't help.

It is always useful to reference the sources you are mentioning so people 
can interprete the information themselves.

On a Dell D610 at work, I am doing this:

	/usr/sbin/915resolution 38 1280 1024
	/usr/sbin/915resolution 3c 1400 1050

To make the external and internal video to work with the correct 
resolution. I assume what you need to do is something similar.

PS Are you sure it is 1440x900 ? Mine is 1440x1050...

PS2 The X configuration should work barebones. So no specific ModeLines 
are necessary. But what worked here as well was the following 
configuration file (for a Xinerama dual-head setup using the internal LCD 
and the external TFT).

A lot of stuff in there however was things I experimented with, so your 
mileage may vary.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]
-------------- next part --------------
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "Multihead layout"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" LeftOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	    "Xinerama" "on"
	Option	    "Clone" "off"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "dri"
        Load  "randr"
        Load  "ddc"
        Load  "extmod"
        Load  "int10"
        Load  "vbe"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "be"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Modes"
	Identifier   "Modes0"
	ModeLine     "1280x800" 107.2 1280 1360 1496 1712 800 801 804 835
	ModeLine     "1280x800" 123.4 1280 1368 1504 1728 800 801 804 840
	ModeLine     "1280x800" 147.9 1280 1376 1512 1744 800 801 804 848
	ModeLine     "1400x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087
	ModeLine     "1400x1050" 188.1 1680 1800 1984 2288 1050 1051 1054 1096
	ModeLine     "1400x1050" 214.5 1680 1800 1984 2288 1050 1051 1054 1103
	ModeLine     "1400x1050" 256.2 1680 1808 1992 2304 1050 1051 1054 1112
EndSection

Section "Modes"
	Identifier "Modes1"
	Modeline "1280x1024" 80 1280 1360 1496 1712 1024 1025 1028 1059
#	Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
#	Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +HSync +VSync
#	Modeline "1280x1024" 114.98 1280 1312 1744 1776 1024 1045 1055 1076 
#	Modeline "1280x1024" 125.14 1280 1368 1504 1728 1024 1025 1028 1065
#	Modeline "1280x1024" 145.69 1280 1376 1512 1744 1024 1025 1028 1071
#	Modeline "1280x1024" 165.29 1280 1376 1512 1744 1024 1025 1028 1077
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Dell 1400x1050 Laptop Display Panel"
#	UseModes     "Modes0"
	DisplaySize  290	210
#	HorizSync    31.5 - 100.0
#	VertRefresh  30.0 - 90.0
#	HorizSync    30.0 - 81.0
#	VertRefresh  56.0 - 76.0
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "i810"
	VendorName  "Videocard vendor"
	BoardName   "Intel 915"
	BusID       "PCI:0:2:0"
	Screen      0
#	Option	    "MonitorLayout" "DFP,CRT+LFP"
	Option	    "MonitorLayout" "DFP,LFP"
	Option      "DevicePresence" "true"
	Option      "AGPMode" "4"
#	Option      "EnablePageFlip" "true"
	Option      "DynamicClocks" "true"
#	Option	    "Clone" "off"
#	Option	    "DevicePresence" "off"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1400x1050" #"1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
#		Virtual  1280 1024
	EndSubSection
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Dell 1704FPT (Digital)"
	UseModes     "Modes1"
#	HorizSync    31.5 - 100.0
#	VertRefresh  30.0 - 90.0
#	HorizSync    30.0 - 81.0
#	VertRefresh  56.0 - 76.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard1"
	Driver      "i810"
	VendorName  "Videocard Vendor"
	BoardName   "Intel 915"
	BusID       "PCI:0:2:0"
	Screen      1
	Option      "DevicePresence" "true"
	Option      "AGPMode" "4"
#	Option      "EnablePageFlip" "true"
	Option      "DynamicClocks" "true"
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Videocard1"
	Monitor    "Monitor1"
	DefaultDepth     16
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1280x1024"
#		Modes    "1024x768"
#		Virtual  1400 1050
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection



More information about the CentOS mailing list