[laptop-discuss] snv_49, Xorg/ i915 agpgart problems

Dmitry Pimenov unix at tut.by
Thu Nov 2 10:05:56 PST 2006


Hi all, 

I unable to use Xv extension in Xorg due  /dev/agpgart problems on my bfu'ed (20061002) nv_49 ,Amilo M6450G i915-based laptop:

Xorg is crashed by default:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

(II) Reloading /usr/X11/lib/modules/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 16064 kB
(II) I810(0): VESA VBE OEM: Intel(r)915GM/910ML/915MS 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)915GM/910ML/915MS Graphics Controlle
r
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): xf86AcquireGART: AGPIOC_ACQUIRE succeeded
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 256 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 5120 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0xffff000 (0x18f85000)
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xfffb000 (0x02f8d000)
(II) I810(0): Allocated 4 kB for Overlay registers at 0xfffa000 (0x13a86000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0xffea000
(II) I810(0): Updated framebuffer allocation size from 5120 to 10240 kByte
(II) I810(0): Updated pixmap cache from 256 scanlines to 1280 scanlines
(II) I810(0): 82a19f4: Memory at offset 0x00020000, size 10240 kBytes
(II) I810(0): 829dd20: Memory at offset 0x0ffff000, size 4 kBytes
(II) I810(0): 829dd48: Memory at offset 0x0fffb000, size 16 kBytes
(II) I810(0): 82a222c: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 82a1a34: Memory at offset 0x0ffea000, size 64 kBytes
(II) I810(0): 829dd70: Memory at offset 0x0fffa000, size 4 kBytes
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): xf86BindGARTMemory: bind key 0 at 0x0ffff000 (pgoffset 65535)
(WW) I810(0): xf86BindGARTMemory: binding of gart memory with key 0
        at offset 0xffff000 failed (Invalid argument)

Fatal server error:
AddScreen/ScreenInit failed for driver 0
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

But if i add  "VideoRam" option in range of ~5000-16064 kilobytes (In any another case Xorg fails), Xorg start to use gart but i have following message :
---
(EE) I810(0): Failed to allocate HW cursor space.
(EE) I810(0): Failed to allocate HW (ARGB) cursor space.
(EE) I810(0): Failed to allocate Overlay register space.
----

(i think - i have no memory for allocation  overlay/HW cursor features here, isn't it?)

Here is a my /etc/xorg.conf:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11/lib/X11/rgb"
	ModulePath   "/usr/X11/lib/modules"
	FontPath     "/usr/X11/lib/X11/fonts/TrueType/"
	FontPath     "/usr/X11/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11/lib/X11/fonts/Type1/sun/"
	FontPath     "/usr/X11/lib/X11/fonts/F3bitmaps/"
	FontPath     "/usr/X11/lib/X11/fonts/misc/"
	FontPath     "/usr/X11/lib/X11/fonts/100dpi/"
	FontPath     "/usr/X11/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
	Load  "IA"
	Load  "dbe"
	Load  "extmod"
	Load  "record"
	Load  "xtrap"
	Load  "glx"
	Load  "bitstream"
	Load  "type1"
	#Load  "dri"
	Load  "glx"	
EndSection

Section "dri"
	Mode 0666
EndSection
Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option "AutoRepeat" "500 30"
	Option "Xleds"	"1 2 3"
	Option "XkbRules" "xorg"
	Option "Xkbmodel" "pc105"
	Option "XkbLayout" "ru"
	Option "XkbOptions" "grp:ctrl_shift_toggle,ctrl:nocaps,grp_led:caps,altwin:menu,compose:menu,eurosign:e"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	#DisplaySize	  310   180	# mm
	Identifier   "Monitor0"
	VendorName   "CPT"
	ModelName    "1772"
	# 1280x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 80.14 MHz
  	Modeline "1280x768_60.00"  80.14  1280 1344 1480 1680  768 769 772 795  -HSync +Vsync
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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"    "1280"     	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Option	"XVideo" "true"
	Option	"VBERestore" "true"
	Option	"DisplayInfo"	"false"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
	BusID       "PCI:0:2:0"
	VideoRam    16064

EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes "1280x768"
	EndSubSection
EndSection
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Any ideas greeted,

Thanks, 
Dmitry
 
 
This message posted from opensolaris.org



More information about the laptop-discuss mailing list