Re: X problems on i810 | AddScreen/ScreenInit failed
24bit isn't supported by the driver so I run in 16bit which is fine. I think acceleration isn't supported in 24 bit at least for the i815e chipset (on my motherboard). The default configurator option to XFree86 gives a config which doesn't work, incidently. That would explain why I couldn't get it working on NetBSD. Grrr, typical. Andrew Lankford To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems on i810 | AddScreen/ScreenInit failed
On Tue, Feb 11, 2003 at 09:09:56AM -0700, Darren Spruell wrote: }Andrew Lankford wrote: }To my knowledge, DRI extensions have never worked with i810 on FreeBSD. }Whenever I felt tinkering with the config to see I could enable DRI, it }wouldn't take, but I don't think it ever mucked up my screen. My video }monitor did have some trouble with the DDC option (on my stable partition, }just after I had upgraded the bios), but DDC seems to work ok now. If }you do get it working, I would stay with a DefaultDepth of 16 instead }of 24, as a setting of 24 tends to slow demanding apps down without }noticeably improving picture quality. Notice also that the HorizSync }and VertRefresh values are a tiny bit different on mine as well. }Aargh. I tried both the changes you suggested, as well as adjusting only }the relevant parts of your config and trying it.. same result in both }cases. I even pulled a Red Hat 7.3 XFree86-4 config off of a working X }station and adjusted paths, etc. Same stupid staticy crap with the white }square ;) I hope you haven't given up yet - I just noticed your post. I run XFree86 4.2.0 on an i810. There is no dri yet (see http://people.freebsd.org/~anholt/dri/), but enabling it in the config is harmless. 24bit isn't supported by the driver so I run in 16bit which is fine. The default configurator option to XFree86 gives a config which doesn't work, incidently. -- Callum Gibson [EMAIL PROTECTED] Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620 ### The opinions in this message are mine and not Deutsche's ### # File generated by xf86config. # # Copyright (c) 1999 by The XFree86 Project, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the Software), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Except as contained in this notice, the name of the XFree86 Project shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from the # XFree86 Project. # # ** # Refer to the XF86Config(4/5) man page for details about the format of # this file. # ** # ** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ** # Section Module # This loads the DBE extension module. # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection extmod Optionomit xfree86-dga # don't initialise the DGA extension EndSubSection # This loads the Type1 and FreeType font modules Loadtype1 Loadfreetype # This loads the GLX module Load dbe Load glx Load dri EndSection # ** # Files section. This allows default font and rgb paths to be set # ** Section Files # The location of the RGB database. Note, this is the name of the # file minus the extension (like .txt or .db). There is normally # no need to change the default. RgbPath /usr/X11R6/lib/X11/rgb # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # # If you don't have a floating point coprocessor and emacs, Mosaic or other # programs take long to start up, try moving the Type1 and Speedo directory # to the end of this list (or comment them out). # FontPath /usr/X11R6/lib/X11/fonts/local/ FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
Re: X problems on i810 | AddScreen/ScreenInit failed
In Device section, try using Driver i810 (rt. now u r using vga) If still it doesn't work, I can send you the working XF86Config offlist. Regards, Shantanu +++ Darren Spruell [11-02-03 08:03 -0700]: | Date: Tue, 11 Feb 2003 08:03:39 -0700 | From: Darren Spruell [EMAIL PROTECTED] | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 | To: Shantanu Mahajan [EMAIL PROTECTED] | CC: [EMAIL PROTECTED] | Subject: Re: X problems on i810 | AddScreen/ScreenInit failed | | | | Shantanu Mahajan wrote: | in which file you have made changes? from the logs, you are using | ./XF86Config.new | Make changes in that file. | | Regards, | Shantanu | | That is the file I am changing and testing (/root/XF86Config.new). | | | +++ Darren Spruell [10-02-03 13:28 -0700]: | | Date: Mon, 10 Feb 2003 13:28:42 -0700 | | From: Darren Spruell [EMAIL PROTECTED] | | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) | Gecko/20020826 | | To: Shantanu Mahajan [EMAIL PROTECTED] | | CC: [EMAIL PROTECTED] | | Subject: Re: X problems on i810 | AddScreen/ScreenInit failed | | | | Shantanu Mahajan wrote: | | try adding following lines | | | | in Device section | | Option NoDDC | | | | in Monitor section | | Option DPMS | | | | Regards, | | Shantanu | | | | Added as suggested. Relevant sections now read: | | | | Section Monitor | | Identifier Monitor0 | | Option DPMS | | VendorName Gateway | | ModelNameEV700 | | HorizSync30 - 69 | | VertRefresh 50 - 110 | | 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 ShadowFB # [bool] | | #Option VGAClocks # [bool] | | Option NoDDC | | Identifier Card0 | | Driver vga | | VendorName Intel | | BoardName i810-dc100 | | BusID PCI:0:1:0 | | EndSection | | | | | | | | | | | | +++ Darren Spruell [freebsd] [10-02-03 11:07 -0700]: | | | Date: Mon, 10 Feb 2003 11:07:22 -0700 | | | From: Darren Spruell [EMAIL PROTECTED] | | | 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 (0xa,0x1) 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: Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller mem | | | 0xffa8-0xffaf,0xf800-0xfbff 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 | | | InputDeviceMouse0 CorePointer | | | InputDeviceKeyboard0 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
Re: X problems on i810 | AddScreen/ScreenInit failed
in which file you have made changes? from the logs, you are using ./XF86Config.new Make changes in that file. Regards, Shantanu +++ Darren Spruell [10-02-03 13:28 -0700]: | Date: Mon, 10 Feb 2003 13:28:42 -0700 | From: Darren Spruell [EMAIL PROTECTED] | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 | To: Shantanu Mahajan [EMAIL PROTECTED] | CC: [EMAIL PROTECTED] | Subject: Re: X problems on i810 | AddScreen/ScreenInit failed | | Shantanu Mahajan wrote: | try adding following lines | | in Device section | Option NoDDC | | in Monitor section | Option DPMS | | Regards, | Shantanu | | Added as suggested. Relevant sections now read: | | Section Monitor | Identifier Monitor0 | Option DPMS | VendorName Gateway | ModelNameEV700 | HorizSync30 - 69 | VertRefresh 50 - 110 | 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 ShadowFB # [bool] | #Option VGAClocks # [bool] | Option NoDDC | Identifier Card0 | Driver vga | VendorName Intel | BoardName i810-dc100 | BusID PCI:0:1:0 | EndSection | | | | Still the same error occurs. Here is the full output of the | /var/log/XFree86.0.log for this attempt: | | | | XFree86 Version 4.2.1 / X Window System | (protocol Version 11, revision 0, vendor release 6600) | Release Date: 3 September 2002 | If the server is older than 6-12 months, or if your card is | newer than the above date, look for a newer version before | reporting problems. (See http://www.XFree86.Org/) | Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF] | Module Loader present | Markers: (--) probed, (**) from config file, (==) default setting, | (++) from command line, (!!) notice, (II) informational, | (WW) warning, (EE) error, (NI) not implemented, (??) unknown. | (==) Log file: /var/log/XFree86.0.log, Time: Mon Feb 10 14:23:18 2003 | (++) Using config file: ./XF86Config.new | (==) ServerLayout XFree86 Configured | (**) |--Screen Screen0 (0) | (**) | |--Monitor Monitor0 | (**) | |--Device Card0 | (**) |--Input Device Mouse0 | (**) |--Input Device Keyboard0 | (==) Keyboard: CustomKeycode disabled | (**) FontPath set to | |/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts | /75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ | (**) RgbPath set to /usr/X11R6/lib/X11/rgb | (**) ModulePath set to /usr/X11R6/lib/modules | (--) Using syscons driver with X support (version 2.0) | (--) using VT number 9 | | (II) Module ABI versions: | XFree86 ANSI C Emulation: 0.1 | XFree86 Video Driver: 0.5 | XFree86 XInput driver : 0.3 | XFree86 Server Extension : 0.1 | XFree86 Font Renderer : 0.3 | (II) Loader running on freebsd | (II) LoadModule: bitmap | (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a | (II) Module bitmap: vendor=The XFree86 Project | compiled for 4.2.1, module version = 1.0.0 | Module class: XFree86 Font Renderer | ABI class: XFree86 Font Renderer, version 0.3 | (II) Loading font Bitmap | (II) LoadModule: pcidata | (II) Loading /usr/X11R6/lib/modules/libpcidata.a | (II) Module pcidata: vendor=The XFree86 Project | compiled for 4.2.1, module version = 0.1.0 | ABI class: XFree86 Video Driver, version 0.5 | (II) PCI: Probing config type using method 1 | (II) PCI: Config type is 1 | (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 | (II) PCI: PCI scan (all values are in hex) | (II) PCI: 00:00:0: chip 8086,7122 card , rev 03 class 06,00,00 | hdr 00 | (II) PCI: 00:01:0: chip 8086,7123 card 8086,5355 rev 03 class 03,00,00 | hdr 00 | (II) PCI: 00:1e:0: chip 8086,2418 card , rev 02 class 06,04,00 | hdr 01 | (II) PCI: 00:1f:0: chip 8086,2410 card , rev 02 class 06,01,00 | hdr 80 | (II) PCI: 00:1f:1: chip 8086,2411 card 8086,2411 rev 02 class 01,01,80 | hdr 00 | (II) PCI: 00:1f:2: chip 8086,2412 card 8086,2412 rev 02 class 0c,03,00 | hdr 00 | (II) PCI: 00:1f:3: chip 8086,2413 card 8086,2413 rev 02 class 0c,05,00 | hdr 00 | (II) PCI: 00:1f:5: chip 8086,2415 card 8086,5355 rev 02 class 04,01,00 | hdr 00 | (II) PCI: 01:01:0: chip 8086,1229 card 8086,3002 rev 08 class 02,00,00 | hdr 00 | (II) PCI: End of PCI scan | (II) LoadModule: scanpci | (II) Loading /usr/X11R6/lib/modules/libscanpci.a | (II) Module scanpci: vendor=The XFree86 Project | compiled for 4.2.1, module version = 0.1.0 | ABI class: XFree86 Video Driver, version 0.5 | (II) UnloadModule: scanpci | (II) Unloading /usr/X11R6/lib/modules/libscanpci.a | (II) Host-to-PCI bridge
Re: X problems on i810 | AddScreen/ScreenInit failed
Shantanu Mahajan wrote: in which file you have made changes? from the logs, you are using ./XF86Config.new Make changes in that file. Regards, Shantanu That is the file I am changing and testing (/root/XF86Config.new). +++ Darren Spruell [10-02-03 13:28 -0700]: | Date: Mon, 10 Feb 2003 13:28:42 -0700 | From: Darren Spruell [EMAIL PROTECTED] | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 | To: Shantanu Mahajan [EMAIL PROTECTED] | CC: [EMAIL PROTECTED] | Subject: Re: X problems on i810 | AddScreen/ScreenInit failed | | Shantanu Mahajan wrote: | try adding following lines | | in Device section | Option NoDDC | | in Monitor section | Option DPMS | | Regards, | Shantanu | | Added as suggested. Relevant sections now read: | | Section Monitor | Identifier Monitor0 | Option DPMS | VendorName Gateway | ModelNameEV700 | HorizSync30 - 69 | VertRefresh 50 - 110 | 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 ShadowFB # [bool] | #Option VGAClocks # [bool] | Option NoDDC | Identifier Card0 | Driver vga | VendorName Intel | BoardName i810-dc100 | BusID PCI:0:1:0 | EndSection | | | | Still the same error occurs. Here is the full output of the | /var/log/XFree86.0.log for this attempt: | | | | XFree86 Version 4.2.1 / X Window System | (protocol Version 11, revision 0, vendor release 6600) | Release Date: 3 September 2002 | If the server is older than 6-12 months, or if your card is | newer than the above date, look for a newer version before | reporting problems. (See http://www.XFree86.Org/) | Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF] | Module Loader present | Markers: (--) probed, (**) from config file, (==) default setting, | (++) from command line, (!!) notice, (II) informational, | (WW) warning, (EE) error, (NI) not implemented, (??) unknown. | (==) Log file: /var/log/XFree86.0.log, Time: Mon Feb 10 14:23:18 2003 | (++) Using config file: ./XF86Config.new | (==) ServerLayout XFree86 Configured | (**) |--Screen Screen0 (0) | (**) | |--Monitor Monitor0 | (**) | |--Device Card0 | (**) |--Input Device Mouse0 | (**) |--Input Device Keyboard0 | (==) Keyboard: CustomKeycode disabled | (**) FontPath set to | /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts | /75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ | (**) RgbPath set to /usr/X11R6/lib/X11/rgb | (**) ModulePath set to /usr/X11R6/lib/modules | (--) Using syscons driver with X support (version 2.0) | (--) using VT number 9 | | (II) Module ABI versions: | XFree86 ANSI C Emulation: 0.1 | XFree86 Video Driver: 0.5 | XFree86 XInput driver : 0.3 | XFree86 Server Extension : 0.1 | XFree86 Font Renderer : 0.3 | (II) Loader running on freebsd | (II) LoadModule: bitmap | (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a | (II) Module bitmap: vendor=The XFree86 Project | compiled for 4.2.1, module version = 1.0.0 | Module class: XFree86 Font Renderer | ABI class: XFree86 Font Renderer, version 0.3 | (II) Loading font Bitmap | (II) LoadModule: pcidata | (II) Loading /usr/X11R6/lib/modules/libpcidata.a | (II) Module pcidata: vendor=The XFree86 Project | compiled for 4.2.1, module version = 0.1.0 | ABI class: XFree86 Video Driver, version 0.5 | (II) PCI: Probing config type using method 1 | (II) PCI: Config type is 1 | (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 | (II) PCI: PCI scan (all values are in hex) | (II) PCI: 00:00:0: chip 8086,7122 card , rev 03 class 06,00,00 | hdr 00 | (II) PCI: 00:01:0: chip 8086,7123 card 8086,5355 rev 03 class 03,00,00 | hdr 00 | (II) PCI: 00:1e:0: chip 8086,2418 card , rev 02 class 06,04,00 | hdr 01 | (II) PCI: 00:1f:0: chip 8086,2410 card , rev 02 class 06,01,00 | hdr 80 | (II) PCI: 00:1f:1: chip 8086,2411 card 8086,2411 rev 02 class 01,01,80 | hdr 00 | (II) PCI: 00:1f:2: chip 8086,2412 card 8086,2412 rev 02 class 0c,03,00 | hdr 00 | (II) PCI: 00:1f:3: chip 8086,2413 card 8086,2413 rev 02 class 0c,05,00 | hdr 00 | (II) PCI: 00:1f:5: chip 8086,2415 card 8086,5355 rev 02 class 04,01,00 | hdr 00 | (II) PCI: 01:01:0: chip 8086,1229 card 8086,3002 rev 08 class 02,00,00 | hdr 00 | (II) PCI: End of PCI scan | (II) LoadModule: scanpci | (II) Loading /usr/X11R6/lib/modules/libscanpci.a | (II) Module scanpci: vendor=The XFree86 Project | compiled for 4.2.1, module version = 0.1.0 | ABI class: XFree86 Video Driver, version 0.5 | (II) UnloadModule
Re: X problems on i810 | AddScreen/ScreenInit failed
Andrew Lankford wrote: To my knowledge, DRI extensions have never worked with i810 on FreeBSD. Whenever I felt tinkering with the config to see I could enable DRI, it wouldn't take, but I don't think it ever mucked up my screen. My video monitor did have some trouble with the DDC option (on my stable partition, just after I had upgraded the bios), but DDC seems to work ok now. If you do get it working, I would stay with a DefaultDepth of 16 instead of 24, as a setting of 24 tends to slow demanding apps down without noticeably improving picture quality. Notice also that the HorizSync and VertRefresh values are a tiny bit different on mine as well. Anyway, here's my XF86Config: [...] Aargh. I tried both the changes you suggested, as well as adjusting only the relevant parts of your config and trying it.. same result in both cases. I even pulled a Red Hat 7.3 XFree86-4 config off of a working X station and adjusted paths, etc. Same stupid staticy crap with the white square ;) Anyway. I hate getting whooped by something this stupid, but I'm at wit's end. Any other suggestions? If not, I found another huddy OEM Gateway box with a different video card. I've got half a mind to try X out on it. -- Darren Spruell Sento IS Department [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems on i810 | AddScreen/ScreenInit failed
I did have an instance where my screen had this annoying green square on it, I tried soo many things until I kicked the box in desperation. [ kick = reboot ] It was gone when I restarted. I don't know if this will help or not, just thought I'd throw what happened to me into the mix. R. On Tue, 11 Feb 2003, Darren Spruell wrote: Andrew Lankford wrote: To my knowledge, DRI extensions have never worked with i810 on FreeBSD. Whenever I felt tinkering with the config to see I could enable DRI, it wouldn't take, but I don't think it ever mucked up my screen. My video monitor did have some trouble with the DDC option (on my stable partition, just after I had upgraded the bios), but DDC seems to work ok now. If you do get it working, I would stay with a DefaultDepth of 16 instead of 24, as a setting of 24 tends to slow demanding apps down without noticeably improving picture quality. Notice also that the HorizSync and VertRefresh values are a tiny bit different on mine as well. Anyway, here's my XF86Config: [...] Aargh. I tried both the changes you suggested, as well as adjusting only the relevant parts of your config and trying it.. same result in both cases. I even pulled a Red Hat 7.3 XFree86-4 config off of a working X station and adjusted paths, etc. Same stupid staticy crap with the white square ;) Anyway. I hate getting whooped by something this stupid, but I'm at wit's end. Any other suggestions? If not, I found another huddy OEM Gateway box with a different video card. I've got half a mind to try X out on it. -- Darren Spruell Sento IS Department [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems on i810 | AddScreen/ScreenInit failed
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 [EMAIL PROTECTED] | 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 (0xa,0x1) 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: Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller mem | 0xffa8-0xffaf,0xf800-0xfbff 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 | InputDeviceMouse0 CorePointer | InputDeviceKeyboard0 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 | ModelNameEV700 | HorizSync30 - 69 | VertRefresh 50 - 110 | 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 ShadowFB # [bool] | #Option VGAClocks # [bool] | Identifier Card0 | Driver vga | VendorName Intel | BoardName i810-dc100 | BusID PCI:0:1:0 | EndSection | | Section Screen | Identifier Screen0 | Device Card0 | MonitorMonitor0 | 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 | [EMAIL PROTECTED]:/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=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE | 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: math processor on motherboard | npx0: INT 16 interface | pcib0: Intel 82810-DC100 (i810-DC100 GMCH) Host To Hub bridge on |
Re: X problems on i810 | AddScreen/ScreenInit failed
Shantanu Mahajan wrote: try adding following lines in Device section Option NoDDC in Monitor section Option DPMS Regards, Shantanu Added as suggested. Relevant sections now read: Section Monitor Identifier Monitor0 Option DPMS VendorName Gateway ModelNameEV700 HorizSync30 - 69 VertRefresh 50 - 110 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 ShadowFB # [bool] #Option VGAClocks # [bool] Option NoDDC Identifier Card0 Driver vga VendorName Intel BoardName i810-dc100 BusID PCI:0:1:0 EndSection Still the same error occurs. Here is the full output of the /var/log/XFree86.0.log for this attempt: XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/XFree86.0.log, Time: Mon Feb 10 14:23:18 2003 (++) Using config file: ./XF86Config.new (==) ServerLayout XFree86 Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Keyboard: CustomKeycode disabled (**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts /75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ (**) RgbPath set to /usr/X11R6/lib/X11/rgb (**) ModulePath set to /usr/X11R6/lib/modules (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.5 XFree86 XInput driver : 0.3 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.3 (II) Loader running on freebsd (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.2.1, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.3 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,7122 card , rev 03 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,7123 card 8086,5355 rev 03 class 03,00,00 hdr 00 (II) PCI: 00:1e:0: chip 8086,2418 card , rev 02 class 06,04,00 hdr 01 (II) PCI: 00:1f:0: chip 8086,2410 card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:1f:1: chip 8086,2411 card 8086,2411 rev 02 class 01,01,80 hdr 00 (II) PCI: 00:1f:2: chip 8086,2412 card 8086,2412 rev 02 class 0c,03,00 hdr 00 (II) PCI: 00:1f:3: chip 8086,2413 card 8086,2413 rev 02 class 0c,05,00 hdr 00 (II) PCI: 00:1f:5: chip 8086,2415 card 8086,5355 rev 02 class 04,01,00 hdr 00 (II) PCI: 01:01:0: chip 8086,1229 card 8086,3002 rev 08 class 02,00,00 hdr 00 (II) PCI: End of PCI scan (II) LoadModule: scanpci (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor=The XFree86 Project compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) UnloadModule: scanpci (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (II) Host-to-PCI bridge: (II) PCI-to-ISA bridge: (II) PCI-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0x - 0x (0x0) MX[B] (II) Bus 1: bridge is at (0:30:0), (0,1,1), BCTRL: 0x02 (VGA_EN is cleared) (II) Bus 1 I/O range: [0] -1 0xd000 - 0xdfff (0x1000) IX[B] (II) Bus 1 non-prefetchable memory range: [0] -1 0xff40 - 0xff8f (0x50) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0xf6a0 - 0xf6af (0x10)
Re: X problems on i810 | AddScreen/ScreenInit failed
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: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option ShadowFB # [bool] #Option VGAClocks # [bool] #VideoRam16 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 [EMAIL PROTECTED] | 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 (0xa,0x1) 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: Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller mem | 0xffa8-0xffaf,0xf800-0xfbff 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 | InputDeviceMouse0 CorePointer | InputDeviceKeyboard0 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
Re: X problems on i810 | AddScreen/ScreenInit failed
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: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option ShadowFB # [bool] #Option VGAClocks # [bool] #VideoRam16 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 [EMAIL PROTECTED] | 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 (0xa,0x1) 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: Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller mem | 0xffa8-0xffaf,0xf800-0xfbff 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 | InputDeviceMouse0 CorePointer | InputDeviceKeyboard0 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
Re: X problems on i810 | AddScreen/ScreenInit failed
To my knowledge, DRI extensions have never worked with i810 on FreeBSD. Whenever I felt tinkering with the config to see I could enable DRI, it wouldn't take, but I don't think it ever mucked up my screen. My video monitor did have some trouble with the DDC option (on my stable partition, just after I had upgraded the bios), but DDC seems to work ok now. If you do get it working, I would stay with a DefaultDepth of 16 instead of 24, as a setting of 24 tends to slow demanding apps down without noticeably improving picture quality. Notice also that the HorizSync and VertRefresh values are a tiny bit different on mine as well. Anyway, here's my XF86Config: Section ServerLayout Identifier XFree86 Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 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/ FontPath /usr/X11R6/lib/X11/fonts/URW EndSection Section Module Load extmod Load xie Load pex5 #Load dri Load ddc #Load glx Load dbe Load record Load xtrap Load speedo Load type1 EndSection Section InputDevice Identifier Keyboard0 Driver keyboard EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Resolution 1200 Option Buttons 5 Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model HorizSync31.5 - 57.0 VertRefresh 50.0 - 100.0 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# i #Option Dac6Bit # [bool] #Option DRI # [bool] #Option NoDDC # [bool] #Option XvMCSurfaces 8 # i Identifier Card0 Driver i810 VendorName Intel BoardName i815 #VideoRam 1 #BusID PCI:0:2:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 16 SubSection Display Depth 24 Modes1024x768 800x600 640x480 320x240 EndSubSection SubSection Display Depth 16 Modes1024x768 800x600 640x480 320x240 EndSubSection SubSection Display Depth 8 Modes1024x768 800x600 640x480 320x240 EndSubSection EndSection To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message