From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 20:57:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F423716A420 for ; Wed, 30 Jan 2008 20:57:41 +0000 (UTC) (envelope-from doug@safeport.com) Received: from pemaquid.safeport.com (pemaquid.safeport.com [209.31.154.17]) by mx1.freebsd.org (Postfix) with ESMTP id 8C04B13C4D5 for ; Wed, 30 Jan 2008 20:57:41 +0000 (UTC) (envelope-from doug@safeport.com) Received: from localhost (localhost [127.0.0.1]) by pemaquid.safeport.com (8.13.4/8.13.4) with ESMTP id m0UKve3w005464; Wed, 30 Jan 2008 15:57:40 -0500 (EST) (envelope-from doug@safeport.com) Date: Wed, 30 Jan 2008 15:57:40 -0500 (EST) From: doug@safeport.com To: Siraj Shaikh In-Reply-To: <3b2ddd940801301159i4173d36ag74b1d0f0955742d5@mail.gmail.com> Message-ID: <20080130152728.R45734@pemaquid.safeport.com> References: <3b2ddd940801281410o77b87c2ajbfbee2f5f276b934@mail.gmail.com> <20080129152311.T2946@wojtek.tensor.gdynia.pl> <479F3A8E.9000901@student.utwente.nl> <3b2ddd940801290856r5be3825bq36132618ceb82921@mail.gmail.com> <20080129150419.I92107@fledge.watson.org> <3b2ddd940801291217j668bccfbsde8c3259c79cd06b@mail.gmail.com> <3b2ddd940801291354q2926d2b0q753f5f449d3b92eb@mail.gmail.com> <20080129183439.X92107@fledge.watson.org> <3b2ddd940801300108o21f51f23sf82185f4f2f8ea5@mail.gmail.com> <20080130120639.S45734@pemaquid.safeport.com> <3b2ddd940801301159i4173d36ag74b1d0f0955742d5@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (pemaquid.safeport.com [127.0.0.1]); Wed, 30 Jan 2008 15:57:40 -0500 (EST) Cc: freebsd-questions@freebsd.org Subject: Re: Starting X - was Re: Vista / FreeBSD dual boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 20:57:42 -0000 On Wed, 30 Jan 2008, Siraj Shaikh wrote: > On 30/01/2008, doug@safeport.com wrote: >> On Wed, 30 Jan 2008, Siraj Shaikh wrote: >> >>> On 29/01/2008, doug wrote: >>>> On Tue, 29 Jan 2008, Siraj Shaikh wrote: >>>> >>>>> On 29/01/2008, Siraj Shaikh wrote: >>>>>> On 29/01/2008, doug wrote: >>>>>>> On Tue, 29 Jan 2008, Siraj Shaikh wrote: >>>>>>> >>>>>>>> One question: I have just installed FreeBSD 6.3, and tried "startx" >>>>>>>> but it isnt coming up, giving some sort of error. Am I missing >>>>>>>> something here? I did choose for "Windows X" during the FreeBSD setup >>>>>>>> - shall I do a port upgrade? >> >> [cut] >> >>>>> (EE) Failed to load module "fbdev" (module does not exist, 0) >>>>> (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found >>>>> (II) Module "ddc" already built-in >>>>> (EE) VESA(0): No matching modes >>>>> (EE) Screen(s) found, but none have a usable configuration >>>>> >>>>> Fatal server error: >>>>> no screens found >>>>> X connection to :0.0 broken (explicit kill or server shutdown) >> >> [cut x config stuff] >> >>> I did configure Xorg as it said in the handbook, but after that the >>> test didnt work, still gave me the same error. I then installed from a >>> port (I assume that will be the latest Xorg 7.3 is it? How can I check >>> what version do I have? >>> >>> What is way forward now? uninstall this and install Xorg 6? >> >> 1) Post xorg.conf.new as suggested. >> 2) pkg_info | grep xorg will show you whats installed >> 3) check the hardware list to see if there are know issues >> 4) Google the error and freebsd + xorg + your system >> >> You will get the most (probably) from posting xorg.conf.new. along with >> 'uname -a' output. Don't edit it just send it to the list avoiding line >> wrapping. >> > > Following is the result of pkg_info | grep xorg > > > xorg-7.3_1 X.Org complete distribution metaport > xorg-apps-7.3 X.org apps meta-port > xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds > xorg-docs-1.4,1 X.org documentation files > xorg-drivers-7.3 X.org drivers meta-port > xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts > xorg-fonts-7.3 X.org fonts meta-port > xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts > xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts > xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts > xorg-fonts-truetype-7.3 X.Org TrueType fonts > xorg-fonts-type1-7.3 X.Org Type1 fonts > xorg-libraries-7.3_1 X.org libraries meta-port > xorg-nestserver-1.4,1 Nesting X server from X.Org > xorg-protos-7.3 X.org protos meta-port > xorg-server-1.4_4,1 X.Org X server and related programs > xorg-vfbserver-1.4,1 X virtual framebuffer server from X.Org > > > The contents of my xorg.conf.new file are below > > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > EndSection > > Section "Files" > RgbPath "/usr/local/share/X11/rgb" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/lib/X11/fonts/misc/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/OTF" > FontPath "/usr/local/lib/X11/fonts/Type1/" > FontPath "/usr/local/lib/X11/fonts/100dpi/" > FontPath "/usr/local/lib/X11/fonts/75dpi/" > EndSection > > Section "Module" > Load "extmod" > Load "record" > Load "dbe" > Load "glx" > Load "GLcore" > Load "xtrap" > Load "dri" > Load "freetype" > Load "type1" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Section "Monitor" > Identifier "Monitor0" > VendorName "Monitor Vendor" > ModelName "Monitor Model" > EndSection > > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > #Option "ShadowFB" # [] > #Option "DefaultRefresh" # [] > #Option "ModeSetClearScreen" # [] > Identifier "Card0" > Driver "vesa" > VendorName "Intel Corporation" > BoardName "Mobile GM965/GL960 Integrated Graphics Controller" > BusID "PCI:0:2:0" > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > SubSection "Display" > Viewport 0 0 > Depth 1 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 4 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 8 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 15 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 16 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 24 > EndSubSection > EndSection > > > Just to repeat. I installed FreeBSD 6.3, its a new Toshiba notebook. I > chose to install X Windows during sysinstall. The very first time I > ran startx it didnt work. Then I did the "Xorg -configure" and tried > again, and still doesnt work. Please help !!!! > > Thanks Hopefully other will correct any errors I make. Hainvg said that ... If you are still getting: (EE) Failed to load module "fbdev" (module does not exist, 0) (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found (II) Module "ddc" already built-in (EE) VESA(0): No matching modes (EE) Screen(s) found, but none have a usable configuration Fatal server error: no screens found X connection to :0.0 broken (explicit kill or server shutdown) You need to deal with at least the (EE) errors. You are getting a more basic error that if you are using KDE, Gnome or whatever for a window manager. (EE) Failed to load module "fbdev".. You have to figure what's with fbdev. Possibilities are you need a driver other than vesa, or Xorg got built incorrectly. (EE) VESA(0): No matching modes I believe this means what it says. Try adding DefaultDepth 16 or 24 - pick one and Modes "1280x1024" - to the depth you picked (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found I think this means there were two video cards found. From your description I do not know why this would be. The xorg server choose the other one so this is not a drop dead error. I am assuming you get the same error running startx or Xorg -config xorg.conf.new. If not try the latter command. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-469-8766 Fax: 301-469-0601