Starting X - was Re: Vista / FreeBSD dual boot

Siraj Shaikh siraj.shaikh at gmail.com
Wed Jan 30 13:42:49 PST 2008


On 30/01/2008, Frank Shute <frank at esperance-linux.co.uk> wrote:
> On Wed, Jan 30, 2008 at 07:59:09PM +0000, Siraj Shaikh wrote:
> >
> > On 30/01/2008, doug at safeport.com <doug at 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
>
Frank

I have added DefaultColorDepth 24 to it as you said, but still havent
changed the keyboard settings (mine is a UK keyboard according to
sysintall). I have posted the contents of Xorg.0.log in reply to an
earlier email in this thread. Did you get it?


More information about the freebsd-questions mailing list