Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2001 21:48:25 +0000 (GMT)
From:      bruno schwander <bruno@tinkerbox.org>
To:        questions@freebsd.org
Subject:   XFree86 4.1
Message-ID:  <Pine.BSF.4.21.0107062140390.229-100000@duron.bschwand.net>

next in thread | raw e-mail | index | archive | help
Hi all,

I built XFree86 4.1 from the ports and I am unable to make it work. when I
try to run startx as root, it just makes my pc reboot after a few seconds
!

This is on FreeBSD 4.3 stable, athlon 1 gig, matrox G400.


I tried with and without the mga_hal binary downloaded from matrax ftp,
same result. I tried to generate a new XF86Config from the xf86config
script, and then tried with the XF86Config that I had working with 4.0


Any suggestions ?
Thanks

bruno


here is the end of /var/log/XFree86.0.log

(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.4
(==) MGA(0): Depth 8, (==) framebuffer bpp 8
(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(II) Loading
/usr/X11R6/lib/modules/drivers/mga_hal_drv.o
(II) Module mga_hal: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.3
(II) MGA(0): Matrox HAL module used
(--) MGA(0): Chipset: "mgag400"
(==) MGA(0): Using AGP 1x mode
(--) MGA(0): Linear framebuffer at 0xF6000000
(--) MGA(0): MMIO registers at 0xF4000000
(--) MGA(0): Pseudo-DMA transfer window at 0xF3800000
(--) MGA(0): BIOS at 0xF5FF0000
(II) xf86ReadBIOS(f6000000, 0, Buf, 40)-> 55 aa 40 eb...
(II) xf86ReadBIOS(f6000000, 0, Buf, 10000)-> 55 aa 40 eb...
(--) MGA(0): Video BIOS info block at offset 0x07B20
(WW) MGA(0): Video BIOS info block not detected!
(II) MGA(0): MGABios.RamdacType = 0x0
(==) MGA(0): Write-combining range (0xf4000000,0x4000) was already clear


and /etc/X11/XF86Config


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

Section "Module"
	Load  "dbe"
	SubSection  "extmod"
	  Option    "omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection
# This loads the Type1 and FreeType font modules
	Load        "type1"
	Load        "freetype"
#	Load  "extmod"
	Load  "xie"
#	Load  "pex5"
#	Load  "glx"
#	Load  "dri"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
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     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "PciRetry"           	# [<bool>]
        #Option     "SyncOnGreen"        	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "Overlay"            	# [<str>]
        #Option     "MGASDRAM"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "SetMclk"            	# <freq>
        #Option     "OverclockMem"       	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "Rotate"             	# [<str>]
        #Option     "TexturedVideo"      	# [<bool>]
        #Option     "Crtc2Half"          	# [<bool>]
        #Option     "Crtc2Ram"           	# <i>
        #Option     "Int10"              	# [<bool>]
        #Option     "AGPMode"            	# <i>
        #Option     "DigitalScreen"      	# [<bool>]
        #Option     "TV"                 	# [<bool>]
        #Option     "TVStandard"         	# [<str>]
        #Option     "CableType"          	# [<str>]
        #Option     "NoHal"              	# [<bool>]
        #Option     "SwappedHead"        	# [<bool>]
        #Option     "DRI"                	# [<bool>]
	Identifier  "Card0"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G400 AGP"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
	EndSubSection
EndSection



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0107062140390.229-100000>