Subject: X stuck to 800x600
To: None <netbsd-users@netbsd.org>
From: Gilbert Fernandes <gilbert.fernandes@spamcop.net>
List: netbsd-users
Date: 02/15/2006 19:17:50
Hi all.

I configured my X for the laptop (Thinkpad X30 with i830)
and the display resolution is stuck to 800x600 it seems.

I have used xf86cfg and selected 1024x768 but it didn't use it.
So I edited the config file, set default depth to 16 bits / pixel
and told it I would prefer 1024x768. I have checked the
XF86Config man page and used the PreferredMode option
to ask for 1024x768 but when I launch X (mine is set for Blackbox)
it is using 800x600 640x480. I dont know.

An openned xterm uses 2/3 of the screen space :/

Here is my XF86Config. Anyone know what I did wrong ?

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/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc101"
	Option	    "XkbLayout" "gb"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "wsmouse"
	Option	    "Device" "/dev/wsmouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Option       "DPMS" "1"
	Option       "PreferredMode" "1024x768"
	Option       "UsePreferredMode" "1"
	HorizSync    31.5 - 31.5
	HorizSync    35.2 - 35.2
	HorizSync    35.5 - 35.5
	VertRefresh  50.0 - 70.0
EndSection

Section "Device"
        Option     "SWcursor" "1"
	Identifier  "Card0"
	Driver      "i810"
	VendorName  "Intel Corp."
	BoardName   "82830 CGC"
	BusID       "PCI:0:2:0"
	Option      "DRI" "1"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor     "Monitor0"
	DefaultDepth	16
	SubSection "Display"
		Viewport 0 0
		Depth 16
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Viewport 0 0
		Depth 24
		Modes "1024x768"
	EndSubSection
EndSection

--
unzip ; strip ; touch ; grep ; find ; finger ; mount ; fsck ; more ; yes ;
fsck ; umount ; sleep