From owner-freebsd-questions Mon Feb 10 10:58:31 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C3137B401 for ; Mon, 10 Feb 2003 10:58:25 -0800 (PST) Received: from dhumketu.homeunix.net (dialpool-210-214-64-44.maa.sify.net [210.214.64.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1B4343FA3 for ; Mon, 10 Feb 2003 10:58:21 -0800 (PST) (envelope-from shantanoo+fbsd@ieee.org) Received: (from shantanu@localhost) by dhumketu.homeunix.net (8.12.6/8.12.6) id h1AIuZJr000720; Tue, 11 Feb 2003 00:26:35 +0530 (IST) (envelope-from shantanoo+fbsd@ieee.org) X-Authentication-Warning: dhumketu.homeunix.net: shantanu set sender to shantanoo+fbsd@ieee.org using -f Date: Tue, 11 Feb 2003 00:26:35 +0530 From: Shantanu Mahajan To: Darren Spruell Cc: freebsd-questions@freebsd.org Subject: Re: X problems on i810 | AddScreen/ScreenInit failed Message-ID: <20030210185635.GA694@dhumketu.homeunix.net> Mail-Followup-To: Darren Spruell , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.7-RELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG try adding following lines in Device section Option "NoDDC" in Monitor section Option "DPMS" Regards, Shantanu +++ Darren Spruell [freebsd] [10-02-03 11:07 -0700]: | Date: Mon, 10 Feb 2003 11:07:22 -0700 | From: Darren Spruell | Subject: X problems on i810 | AddScreen/ScreenInit failed | | Greetz, | | I'm trying to configure v4.7 to run X but am having a hard time getting | the server to start. | | I've followed the config instructions at | http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html | by doing the following steps: | | Run XFree86 -configure | to create the default XF86Config.new | Run XFree86 -xf86config ./XF86Config.new | to ensure that it works w/my hardware | Edit it to taste, to change specifics for HorizSync, VertRefresh, and | the Display subsection under "Screen". | | However, running 'XFree86 -xf86config ./XF86Config.new' after changing | my config does not work. The output error is: | | ====================================================================== | (==) VGA(0): Write-combining range (0xa0000,0x10000) was already clear | | Fatal server error: | AddScreen/ScreenInit failed for driver 0 | ====================================================================== | | I followed through the part in the Advanced Configuration section about | adding in support for agpgart and created the device node and added the | following to /boot/loader.conf: | agp_load="YES" | | dmesg now shows: | Preloaded elf module "agp.ko" at 0xc051a09c. | agp0: mem | 0xffa80000-0xffafffff,0xf8000000-0xfbffffff irq 11 at device 1.0 on pci0 | | Here is the current XF86Config.new (non-working). The Monitor section | was taken from a specs page on the Monitor (Gateway EV700). Full dmesg | included below this: | | 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/75dpi/" | FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" | EndSection | | Section "Module" | Load "dbe" | Load "dri" | Load "extmod" | Load "glx" | Load "pex5" | Load "record" | Load "xie" | Load "xtrap" | Load "speedo" | Load "type1" | EndSection | | Section "InputDevice" | Identifier "Keyboard0" | Driver "keyboard" | EndSection | | Section "InputDevice" | Identifier "Mouse0" | Driver "mouse" | Option "Protocol" "MouseSystems" | Option "Device" "/dev/sysmouse" | EndSection | | Section "Monitor" | Identifier "Monitor0" | VendorName "Gateway" | ModelName "EV700" | HorizSync 30 - 69 | VertRefresh 50 - 110 | EndSection | | Section "Device" | ### Available Driver options are:- | ### Values: : integer, : float, : "True"/"False", | ### : "String", : " Hz/kHz/MHz" | ### [arg]: arg optional | #Option "ShadowFB" # [] | #Option "VGAClocks" # [] | Identifier "Card0" | Driver "vga" | VendorName "Intel" | BoardName "i810-dc100" | BusID "PCI:0:1:0" | EndSection | | Section "Screen" | Identifier "Screen0" | Device "Card0" | Monitor "Monitor0" | DefaultDepth 16 | SubSection "Display" | Depth 16 | Modes "1024x768" | EndSubSection | EndSection | | Copyright (c) 1992-2002 The FreeBSD Project. | Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 | The Regents of the University of California. All rights reserved. | FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 | root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC | Timecounter "i8254" frequency 1193182 Hz | CPU: Pentium III/Pentium III Xeon/Celeron (697.88-MHz 686-class CPU) | Origin = "GenuineIntel" Id = 0x686 Stepping = 6 | | Features=0x383f9ff | real memory = 267124736 (260864K bytes) | avail memory = 254693376 (248724K bytes) | Preloaded elf kernel "kernel" at 0xc051a000. | Preloaded elf module "agp.ko" at 0xc051a09c. | Pentium Pro MTRR support enabled | md0: Malloc disk | Using $PIR table, 11 entries at 0xc00f35a0 | npx0: on motherboard | npx0: INT 16 interface | pcib0: on | motherboard | pci0: on pcib0 | agp0: mem | 0xffa80000-0xffafffff,0xf8000000-0xfbffffff irq 11 at device 1.0 on pci0 | pcib1: at device 30.0 on pci0 | pci1: on pcib1 | fxp0: port 0xdf00-0xdf3f mem | 0xff700000-0xff7fffff,0xff8ff000-0xff8fffff irq 3 at device 1.0 on pci1 | fxp0: Ethernet address 00:03:47:0b:0e:20 | inphy0: on miibus0 | inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto | isab0: at device 31.0 on pci0 | isa0: on isab0 | atapci0: port 0xffa0-0xffaf at device 31.1 | on pci0 | ata0: at 0x1f0 irq 14 on atapci0 | ata1: at 0x170 irq 15 on atapci0 | uhci0: port 0xef80-0xef9f irq 10 at | device 31.2 on pci0 | usb0: on uhci0 | usb0: USB revision 1.0 | uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 | uhub0: 2 ports with 2 removable, self powered | pci0: (vendor=0x8086, dev=0x2413) at 31.3 irq 9 | chip1: port | 0xef00-0xef3f,0xe800-0xe8ff irq 9 at device 31.5 on pci0 | orm0: