Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 10:57:31 +0530
From:      Shantanu Mahajan <shantanoo+fbsd@ieee.org>
To:        Darren Spruell <darren_spruell@sento.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X problems on i810 | AddScreen/ScreenInit failed
Message-ID:  <20030212052731.GA161@dhumketu.homeunix.net>
In-Reply-To: <3E4910CB.6050801@sento.com>
References:  <20030210185635.GA694@dhumketu.homeunix.net> <3E480B7A.3090805@sento.com> <20030211102944.GB380@dhumketu.homeunix.net> <3E4910CB.6050801@sento.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <darren_spruell@sento.com>
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
| To: Shantanu Mahajan <shantanoo+fbsd@ieee.org>
| CC: freebsd-questions@FreeBSD.ORG
| 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 <darren_spruell@sento.com>
| >| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) 
| >Gecko/20020826
| >| To: Shantanu Mahajan <shantanoo+fbsd@ieee.org>
| >| CC: freebsd-questions@freebsd.org
| >| 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"
| >|         ModelName    "EV700"
| >|         HorizSync    30 - 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 <darren_spruell@sento.com>
| >| >| 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: <Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller> 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: <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"
| >| >|          Monitor    "Monitor0"
| >| >|          DefaultDepth      16
| >| >|          SubSection "Display"
| >| >|                  Depth     16
| >| >|                  Modes     "1024x768"
| >| >|          EndSubSection
| >| >| EndSection

-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 

PGP keyID 137AFD9E
(C7DA 3350 1DEA F371 37DC  D92A F0D4 C2ED 137A FD9E)

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?20030212052731.GA161>