From owner-freebsd-questions Mon Feb 10 18:59:25 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 747B837B401 for ; Mon, 10 Feb 2003 18:59:17 -0800 (PST) Received: from server1.ultratrends.com (biik894y288a.ab.hsia.telus.net [66.222.129.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9076843F85 for ; Mon, 10 Feb 2003 18:59:16 -0800 (PST) (envelope-from trodat@server1.ultratrends.com) Received: from server1.ultratrends.com (localhost [127.0.0.1]) by server1.ultratrends.com (8.12.6/8.12.6) with ESMTP id h1B2xBpo073319 for ; Mon, 10 Feb 2003 19:59:11 -0700 (MST) Received: from localhost (trodat@localhost) by server1.ultratrends.com (8.12.6/8.12.4/Submit) with ESMTP id h1B2xBVv073316 for ; Mon, 10 Feb 2003 19:59:11 -0700 (MST) Date: Mon, 10 Feb 2003 19:59:11 -0700 (MST) From: YOU To: freebsd-questions@FreeBSD.ORG Subject: Re: X problems on i810 | AddScreen/ScreenInit failed In-Reply-To: <3E482B77.9040703@sento.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 My i815e wouldn't run until I did the following: NoDDC as an option. Configured horiz & vert according to monitor specs. Added agp into kernel configuration. Compiled new agp enabled kernel and installed it. NOTE: For a test I loaded the agp module and then ran X. NOTE2: I also took the generic XF86Config and edited by hand so I didn't have to use -configure. I don't know if this will help any but that's what I did. You might want to check your /dev/agpgart as well to make sure it exists. R. On Mon, 10 Feb 2003, Darren Spruell wrote: > Continuing on from my previous posting below, I have scoured some docs > to make some changes to the XF86Config: > > * Added Option "DPMS" to Monitor section (by suggestion of list member) > * Added Option "NoDDC" to Device section (by suggestion of list member) > * Changed Device section to now read as follows, from i810 man page... > (in short, was using the vga driver, changed to the i810 driver.) > > > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > #Option "ShadowFB" # [] > #Option "VGAClocks" # [] > #VideoRam 16 > Option "NoDDC" > Identifier "Intel i810" > Driver "i810" > VendorName "Intel" > BoardName "i810-dc100" > BusID "PCI:0:1:0" > EndSection > > The problem now is that when I run "XFree86 -xf86config > ./XF86Config.new", it looks like the X display is coming up but all it > shows me is a 1 inch by 1 inch white square surrounded by a screen of > staticy purplish, bluish, and greenish lines.. and stays. Desktop never > displays. > > The log file shows lines like this, with the following error: > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is -1, (Unknown error: 999() > drmOpenDevice: Open failed > drmOpenDevice: minor is 1 > drmOpenDevice: node name is /dev/dri/card1 > drmOpenDevice: open result is -1, (Unknown error: 999() > drmOpenDevice: Open failed > [...] > drmOpenDevice: minor is 13 > drmOpenDevice: node name is /dev/dri/card13 > drmOpenDevice: open result is -1, (Unknown error: 999() > drmOpenDevice: Open failed > drmOpenDevice: minor is 14 > drmOpenDevice: node name is /dev/dri/card14 > drmOpenDevice: open result is -1, (Unknown error: 999() > drmOpenDevice: Open failed > drmOpenDevice: Open failed > (II) I810(0): [drm] drmOpen failed > (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI. > > > Any other suggestions? > > > DS > > > > +++ 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: