Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 21:26:47 +0000
From:      Frank Shute <frank@esperance-linux.co.uk>
To:        Siraj Shaikh <siraj.shaikh@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Starting X - was Re: Vista / FreeBSD dual boot
Message-ID:  <20080130212647.GA9703@melon.esperance-linux.co.uk>
In-Reply-To: <3b2ddd940801301159i4173d36ag74b1d0f0955742d5@mail.gmail.com>
References:  <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 30, 2008 at 07:59:09PM +0000, Siraj Shaikh wrote:
>
> On 30/01/2008, doug@safeport.com <doug@safeport.com> wrote:
> > On Wed, 30 Jan 2008, Siraj Shaikh wrote:
> >
<snip>
> >
>>> (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

Looks like you've got everything, from a glance.

> 
> 
> 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

You'll need to edit the above if you're using a non-US keyboard.
E.g:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "XkbRules"   "xfree86"
        Option "XkbModel" "pc102"
        Option "XkbLayout" "gb"
EndSection

If you tell us which country your keyboard is for, we could provide
more help. 

I think you want:

        Option "XkbModel" "pc101"

for a laptop.

> 
> 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: <i>: integer, <f>: float, <bool>: "True"/"False",
>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "ShadowFB"           	# [<bool>]
>         #Option     "DefaultRefresh"     	# [<bool>]
>         #Option     "ModeSetClearScreen" 	# [<bool>]
> 	Identifier  "Card0"
> 	Driver      "vesa"
> 	VendorName  "Intel Corporation"
> 	BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
> 	BusID       "PCI:0:2:0"
> EndSection

Bad news. i810 doesn't support your graphics chip yet and you have to use
crappy old vesa. 

> 
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Card0"
> 	Monitor    "Monitor0"

Add here:

	DefaultColorDepth 24

> 	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

Try again with your changed xorg.conf and post back here any errors.

-- 

 Frank 

	
 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080130212647.GA9703>