xorg-7.3_1 runs only once, i810 error

J.R. Oldroyd fbsd at opal.com
Thu Nov 1 21:43:00 PDT 2007


I posted this to stable@ thinking it was related to having just
upgraded to freebsd-7.0b1.  Then on reading this list, I realize
it may be an x11 problem, so I'm reposting with some slight edits
here.


I just upgraded a desktop machine from freebsd 6.2-stable to
7.0beta1.  Csup'd the kernel source and portsnap'd the latest
ports on Oct 29th.  Compiled everything locally.  Removed all old
files, libs, etc.  Everything looks good, except...


xorg-7.3_1 runs fine, but it runs just once.

Subsequent attempts to start xorg result in:
	(EE) I810(0): V_BIOS address 0x0 out of range
	(EE) I810(0): VBE initialization failed.
	(EE) Screen(s) found, but none have a usable configuration.

Xorg.0.log then ends in:
	(II) Module vgahw: vendor="X.Org Foundation"
		compiled for 1.4.0, module version = 0.1.0
		ABI class: X.Org Video Driver, version 2.0
	(==) I810(0): Depth 24, (==) framebuffer bpp 32
	(==) I810(0): RGB weight 888
	(==) I810(0): Default visual is TrueColor
	(II) Loading sub module "int10"
	(II) LoadModule: "int10"
	(II) Reloading /usr/local/lib/xorg/modules//libint10.so
	(II) I810(0): initializing int10
	(==) I810(0): Write-combining range (0xa0000,0x20000) was already clear
	(==) I810(0): Write-combining range (0xc0000,0x40000) was already clear
	(EE) I810(0): V_BIOS address 0x0 out of range
	(EE) I810(0): VBE initialization failed.
	(II) UnloadModule: "i810"
	(II) UnloadModule: "int10"
	(II) UnloadModule: "vgahw"
	(II) Unloading /usr/local/lib/xorg/modules//libvgahw.so
	(II) UnloadModule: "vbe"
	(II) Unloading /usr/local/lib/xorg/modules//libvbe.so
	(II) UnloadModule: "int10"
	(II) Unloading /usr/local/lib/xorg/modules//libint10.so
	(EE) Screen(s) found, but none have a usable configuration.
		
	Fatal server error:
	no screens found

On the good starts, Xorg.0.log contains:
	(II) Module vgahw: vendor="X.Org Foundation"
		compiled for 1.4.0, module version = 0.1.0
		ABI class: X.Org Video Driver, version 2.0
	(==) I810(0): Depth 24, (==) framebuffer bpp 32
	(==) I810(0): RGB weight 888
	(==) I810(0): Default visual is TrueColor
	(II) Loading sub module "int10"
	(II) LoadModule: "int10"
	(II) Reloading /usr/local/lib/xorg/modules//libint10.so
	(II) I810(0): initializing int10
	(==) I810(0): Write-combining range (0xa0000,0x20000) was already clear
	(==) I810(0): Write-combining range (0xc0000,0x40000) was already clear
	(II) I810(0): Primary V_BIOS segment is: 0xc000
	(==) I810(0): Write-combining range (0x0,0x1000) was already clear
	(II) I810(0): VESA BIOS detected
	(II) I810(0): VESA VBE Version 3.0
	(II) I810(0): VESA VBE Total Mem: 8000 kB
	(II) I810(0): VESA VBE OEM: Intel(r)865G Graphics Chip Accelerated VGA BIOS
	(II) I810(0): VESA VBE OEM Software Rev: 1.0
	(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
	(II) I810(0): VESA VBE OEM Product: Intel(r)865G Graphics Controller
	(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
	(II) I810(0): Integrated Graphics Chipset: Intel(R) 865G
	(--) I810(0): Chipset: "865G"
	(--) I810(0): Linear framebuffer at 0xF0000000
	(--) I810(0): IO registers at addr 0xFE780000
	(==) I810(0): Write-combining range (0xfe780000,0x80000) was already clear
	(II) I810(0): 1 display pipe available.
	(II) I810(0): detected 8060 kB stolen memory.
	(II) I810(0): Kernel reported 491520 total, 0 used
	(II) I810(0): I830CheckAvailableMemory: 1966080 kB available
	(II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoRAM
	(WW) I810(0): Extended BIOS function 0x5f11 not supported.
	(==) I810(0): Write-combining range (0x0,0x1000) was already clear
	...

On 6.2-stable, xorg (which was then xorg-6.9) worked repeatedly.

On 7.0b1, need to reboot system before xorg will run once again
(pun intended).

I have tried with my xorg.conf from xorg-6.9 and also removing it
and using the defaults.  No difference.

For the upgrade from freebsd-6.2 to 7.0b1, I removed all ports and
recompiled the lot from scratch.  Just to make sure I didn't mess up,
I have already recompiled the kernel and all the xorg/xf86 ports to
make sure.  No difference.

Now, I have noticed that running xorg the first time loads drm and
i915.  I see that i915.ko and drm.ko are modules.  On unloading them,
I get this:

drm0: detached
Warning: memory type drm leaked memory on destroy (4 allocations, 128 bytes leaked).

Reloading them and running xorg again doesn't fix the "V_BIOS out
of range" problem; xorg still doesn't start more than once.

I am not familiar with the structure of xorg, or the kernel video
support for that matter, so I'm not sure if these messages point to
an error in the kernel i915 or drm code or if it's more likely a
bug in xorg.  I'd appreciate some pointers.

	-jr
-------------- next part --------------
An embedded message was scrubbed...
From: "J.R. Oldroyd" <fbsd at opal.com>
Subject: freebsd-7.0b1 xorg-7.3_1 runs only once
Date: Wed, 31 Oct 2007 18:23:53 -0400
Size: 4370
Url: http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20071102/28a0c829/attachment.eml
-------------- next part --------------
_______________________________________________
freebsd-stable at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


More information about the freebsd-x11 mailing list