Hi,

> > >
> > > Could you please share your xfree config file too ?
> > > I am having a very hard time with an N5445 equiped with the
> > > same chipset, although I suspect my main problem is with
> > > the screen. I am using using XF4.10.
> >
> >   From my experiences I can tell You that You should definitely go for
> > the newest XFree86. You have to get it from CVS and compile fom source.
> > The i830M driver is only included in this CVS version (as a part of i810
> > driver). Also, don't forget to compile the i830 drm module supplied with
> > the XFree86 CVS (it is in:
> > Xserver/hw/xfree86/os-support/linux/drm/kernel/ ) - do not use the one
> > supplied with the standard kernel - it doesn't work. 
> 
> I went in that directory, made the "make -f Makefile.linux" as
> indicated (it's not built by default) and copied the i810.o module
> in the 2.4.13 module directory, is that the correct thing to do ?

  Not exactly. The whole point of compiling the modules from XFree86 is
to get the ones for Your chipset - that is i830. So the modules You have
to copy to Your /lib/modules directory (and then load into kernel of
course) are (in order): i830.o, i830_drm.o and i830_drv.o.

> 
> > As for the
> > configuration file, I use the file automaticaly generated with the
> > "XFree86 -configure" command, 
> 
> It is still aborting, after complaining that xf86PciInfo.h doesn't contains
> the required data (the same way it was aborting with the 4.10, which
> make me think I missed something obvious), the complete message is 
> attached.
  That happens to me too. but You still have the XF86Config.new file in
Your directory - just add the modifications I describe below and You
should be ready to go.

> 
> > with slight modifications: Just add these
> > lines to Your screen section (the hi-res modes are needed for the
> > external monitor display)
> >
> >         SubSection "Display"
> >                 Depth     16
> >                 Modes     "1600x1200" "1400x1050" "1280x1024" "1024x768"
> >         EndSubSection
> >         SubSection "Display"
> >                 Depth     24
> >                 Modes     "1600x1200" "1400x1050" "1280x1024" "1024x768"
> >         EndSubSection
> >
> > You can also enable "DRI" int the "i810" drivers options.
> > Just for completeness my configuration is:
> > kernel-2.4.13 (custom built), XFree86 4.1.99.1 (latest CVS) + drm kernel
> > module for i830 chipset from XFree86 source tree.
> >
> >     If You still have problems I will supply You with the actual XF86Config
> > file.
> 
> I would like to try it, thanks. Do you still have the .config used  to build
> the kernel ? specialy the agp part ?
  I use the latest kernel (2.4.14, or even 2.4.15-pre4). One needs to
compile the AGP support (together with i830M chipset support), but NOT
the DRM support. It is all in Character Devices section.

> 
> I tried to make a config file, but haven't been very succesfull (not at all
> actually). I attached the xfree86 log and the scanpci output, in case anyone
> could find it usefull. 
> The scanpci indicate 2 pci id (0:2:0 and 0:2:1) on the
> same device (0x3577, seems to denote the 830 chipset). Does anyone 
> see why ? xfreee complains that:
> 
> (II) I810: Driver for Intel i810 chipset: i810, i810-dc100, i810e, i815
> (II) Primary Device is: PCI 00:02:0
> (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
> (EE) No devices detected.
  I get this error too. Actually only the PCI:0:2:0 seems to be working.
It looks like the driver supports only one device at the time (although
it detects two...). 

> Fatal server error:
> no screens found
  This should be fixed by adding the modelines I wrote about above.
> 
> If I explicitly mention BusID PCI:0:2:1 in the Device section, I just get the
> same error with PC:I:0:2:0 instead).
> 

  Below is my XF86Config file, it works for me, although it is not very
clean (especially the FontPath will likely be different for You):

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
#       Option       "Xinerama" "off"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
#       FontPath     "unix/:-1"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
        FontPath     "/usr/X11R6/lib/X11/fonts/mdk:unscaled"
        FontPath     "/usr/share/fonts/default/Type1"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/ttf/western"
EndSection

Section "Module"
#       Load  "pex5"
#       Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xie"
        Load  "type1"
        Load  "speedo"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel"  "pc105"
        Option      "XkbLayout" "pl"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/usbmouse"
        Option      "Buttons"               "5"
        Option      "ZAxisMapping"          "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        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     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        Option     "DRI"     "on"               # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel"
        BoardName   "i830M"
        BusID       "PCI:0:2:0"
        Screen      0
        VideoRam    16384
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"    "on"                # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        Identifier  "Card1"
        Driver      "vesa"
        VendorName  "Intel"
        BoardName   "i830M"
        BusID       "PCI:0:2:1"
        Screen      1
        VideoRam    16384
#       BiosBase    0xc000
        MemBase     0xf0000000
        IOBase      0xe0080000
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth    16
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes     "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes     "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600"
#               Modes     "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultColorDepth    16
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
        Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes     "1400x1050" "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes     "1400x1050" "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

  I hope this will help You run Your X server

        Adam Kisiel
-- 
--------------------------------------------------------------------------
Adam Kisiel                          | e-mail: [EMAIL PROTECTED]
Faculty of Physics                   | homepage:
www.if.pw.edu.pl/~kisiel
Warsaw University Of Technology      |
--------------------------------------------------------------------------


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to