Subject: Problem with resolution setting for Intel Extreme with vesa driver
To: None <tech-x11@netbsd.org>
From: Curtis Faith <curtis@galtcapital.com>
List: tech-x11
Date: 08/21/2002 15:01:48
Hello,

I'm having all sorts of problems getting X up with my Intel Extreme
(motherboard-based) video card under FreeBSD 4.6.2 with anything other than
vga resolution.

It runs but I only seem to get a VGA screen resolution of 640x480. I've
looked through every similar situation on the web that I can find but I
can't see any similar problems that don't suggest approaches I've already
tried.

I've appended from my XF86Config and XFree86.0.log file but I don't know
enough about the vesa driver to figure out what I should do.

It seems like the vesa driver can find the right modes based on the log
output, and I have the config file set up for them but I can't seem to get
any mode other than vga.

- Curtis

P.S. Please cc' to curtis@galtcapital.com since I'm not on the list.


********************************************************************
Configuration details from XF86Config  and output from XFree86.0.log
********************************************************************

My monitor is set up properly and supports the desired resolutions. I have
the screen set in XF86Config to:

>    HorizSync   30-90
>    VertRefresh 40-150

and have verified that this is the XF86Config that X is using to start with.

I am using the 'vesa' driver as per Intel's support website since there is
no specific driver for the Intel Extreme chipset yet for XFree86.

>   Section "Device"
>      Identifier  "Extreme Intel"
>       Driver      "vesa"
>   	# unsupported card
>      #VideoRam    8192
>      # Insert Clocks lines here if appropriate
>   EndSection

The screen is set to:

	Section "Screen"
		Identifier  "Screen 1"
		Device      "Extreme Intel"
		Monitor     "Dell"
		DefaultDepth 16

		Subsection "Display"
			Depth       8
			Modes       "640x480" "800x600" "1024x768" "1280x1024"
			ViewPort    0 0
		EndSubsection
		Subsection "Display"
			Depth       16
			Modes       "640x480" "800x600" "1024x768" "1280x1024"
			ViewPort    0 0
		EndSubsection
		Subsection "Display"
			Depth       24
			Modes       "1280x1024"
			ViewPort    0 0
		EndSubsection
	EndSection

I tried setting the "1280x1024" as the first mode for depth 16 at that
seemed to make no difference.

***************************
Extracts from XFree86.0.log
***************************

The VESA driver seems to recognize the modes:

	(II) VESA(0): Supported VESA Video Modes:
	(II) VESA(0): 720x400@70Hz
	(II) VESA(0): 640x480@60Hz
	(II) VESA(0): 640x480@75Hz
	(II) VESA(0): 800x600@60Hz
	(II) VESA(0): 800x600@75Hz
	(II) VESA(0): 1024x768@60Hz
	(II) VESA(0): 1024x768@75Hz
	(II) VESA(0): 1280x1024@75Hz

And then finds the desired mode as its first entry:

	(II) VESA(0): Searching for matching VESA mode(s):
	Mode: 107 (1280x1024)
		ModeAttributes: 0x9a
		WinAAttributes: 0x7
		WinBAttributes: 0x0
		WinGranularity: 64
		WinSize: 64
		WinASegment: 0xa000
		WinBSegment: 0x0
		WinFuncPtr: 0xc0005857
		BytesPerScanline: 1280
		XResolution: 1280
		YResolution: 1024
		XCharSize: 8
		YCharSize: 16
		NumberOfPlanes: 1
		BitsPerPixel: 8
		NumberOfBanks: 1
		MemoryModel: 4
		BankSize: 0
		NumberOfImages: 0
		RedMaskSize: 0
		RedFieldPosition: 0
		GreenMaskSize: 0
		GreenFieldPosition: 0
		BlueMaskSize: 0
		BlueFieldPosition: 0
		RsvdMaskSize: 0
		RsvdFieldPosition: 0
		DirectColorModeInfo: 0
		PhysBasePtr: 0xf0000000
		LinBytesPerScanLine: 1280
		BnkNumberOfImagePages: 0
		LinNumberOfImagePages: 0
		LinRedMaskSize: 0
		LinRedFieldPosition: 0
		LinGreenMaskSize: 0
		LinGreenFieldPosition: 0
		LinBlueMaskSize: 0
		LinBlueFieldPosition: 0
		LinRsvdMaskSize: 0
		LinRsvdFieldPosition: 0
		MaxPixelClock: 230000000

then later in the file I get:

	(II) Loading sub module "int10"
	(II) LoadModule: "int10"
	(II) Reloading /usr/X11R6/lib/modules/libint10.a
	(II) VESA(0): initializing int10
	(WW) VESA(0): Bad V_BIOS checksum
	(II) VESA(0): Primary V_BIOS segment is: 0xc000
	(II) VESA(0): VESA BIOS detected
	(II) VESA(0): VESA VBE Version 3.0
	(II) VESA(0): VESA VBE Total Mem: 832 kB
	(II) VESA(0): VESA VBE OEM: Brookdale-G Graphics Chip Accelerated VGA BIOS
	(II) VESA(0): VESA VBE OEM Software Rev: 1.0
	(II) VESA(0): VESA VBE OEM Vendor: Intel Corporation
	(II) VESA(0): VESA VBE OEM Product: Brookdale-G Graphics Controller
	(II) VESA(0): VESA VBE OEM Product Rev: Hardware Version 0.0
	virtual address = 0x282ab000  -  physical address = 0xf0000000  -  size =
851968
	(==) VESA(0): Default visual is TrueColor
	(==) VESA(0): Backing store disabled
	(II) Setting vga for screen 0.