From owner-freebsd-questions Sat Jun 2 5:35:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from evilfry.dyndns.org (dyn15ppp140.qala.com.sg [210.193.15.140]) by hub.freebsd.org (Postfix) with ESMTP id 7FFED37B423 for ; Sat, 2 Jun 2001 05:35:35 -0700 (PDT) (envelope-from root@evilfry.dyndns.org) Received: by evilfry.dyndns.org (Postfix, from userid 0) id ED9E1183BDE; Sat, 2 Jun 2001 20:38:35 +0800 (SGT) Content-Type: text/plain; charset="iso-8859-1" From: James Lim Reply-To: evilfry@sg.freebsd.org To: Darren Evans , freebsd-questions@FreeBSD.ORG Subject: Re: Dell Inspiron 8000 + nVidia GeForce2 Go gfx card Date: Sat, 2 Jun 2001 20:38:22 +0800 X-Mailer: KMail [version 1.2] References: <5.1.0.14.1.20010602123610.03730bb8@pop3.demon.co.uk> In-Reply-To: <5.1.0.14.1.20010602123610.03730bb8@pop3.demon.co.uk> MIME-Version: 1.0 Message-Id: <01060220382202.95350@evilfry.dyndns.org> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, =09I am using 4.0.3 wth Geforce 2 MX, which version are you using? You co= uld=20 try using this with 4.0.3. XFree86 -configure - -configure When this option is specified, the X server loads all video driver modules, probes for available hardware, and writes out an initial XF86Config(5) file based on what was detected. This option cur- rently has some problems on some platforms, but in most cases it is a good way to bootstrap the con- figuration process. This option is only available when the server is run as root (i.e, with real-uid 0) I hope this helps. On Saturday 02 June 2001 19:59, Darren Evans wrote: > I'm having some difficulty in getting this card to be configured > under X. Have copied the XF86Config from the Linux section > on http://www.nvidia.com/Products/Drivers.nsf/Linux.html > > It detects the chip set and then cannot load the module > for it. I think this is because it's a Linux kernel module > that needs to be loaded. What can we do about this under > FreeBSD is there a workaround? > > (EE) NVIDIA(0): Failed to initialize the NVdriver kernel module! > (EE) NVIDIA(0): *** Aborting *** > > Now i don't think this driver below supports the GeForce 2 Go > card, but i could be wrong. > > /usr/X11R6/lib/modules/drivers/nvidia_drv.o exists as well as > /usr/X11R6/lib/modules/drivers/nv_drv.o > > This is on a FreeBSD 4.3-STABLE laptop. > > > startx -layout AGP > > XFree86 Version 4.0.3 / X Window System > (protocol Version 11, revision 0, vendor release 6400) > Release Date: 16 March 2001 > =09If the server is older than 6-12 months, or if your card is > =09newer than the above date, look for a newer version before > =09reporting problems. (See http://www.XFree86.Org/FAQ) > Operating System: FreeBSD 4.2-BETA i386 [ELF] > Module Loader present > (=3D=3D) Log file: "/var/log/XFree86.0.log", Time: Sat Jun 2 12:37:28 = 2001 > (=3D=3D) Using config file: "/etc/X11/XF86Config" > Markers: (--) probed, (**) from config file, (=3D=3D) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (??) unknown. > (=3D=3D) ServerLayout "AGP" > (**) |-->Screen "Screen AGP" (0) > (**) | |-->Monitor "MyMonitor" > (**) | |-->Device "NV AGP" > (**) |-->Input Device "Mouse1" > (**) |-->Input Device "Keyboard1" > (**) XKB: rules: "xfree86" > (**) XKB: model: "pc105" > (**) XKB: layout: "us" > (**) FontPath set to "unix/:-1" > (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" > (=3D=3D) ModulePath set to "/usr/X11R6/lib/modules" > (--) Using syscons driver with X support (version 2.0) > (--) using VT number 9 > > (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a > (II) Module bitmap: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 1.0.0 > (II) Loading /usr/X11R6/lib/modules/libpcidata.a > (II) Module pcidata: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 0.1.0 > (II) Loading /usr/X11R6/lib/modules/libscanpci.a > (II) Module scanpci: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 0.1.0 > (II) Unloading /usr/X11R6/lib/modules/libscanpci.a > (--) PCI:*(1:0:0) NVidia unknown chipset (0x0112) rev 178, Mem @ > 0xfc000000/24, 0xe0000000/27 > (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a > (II) Module dbe: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 1.0.0 > (WW) Warning, couldn't open module glx > (EE) Failed to load module "glx" (module does not exist, 0) > (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a > (II) Module extmod: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 1.0.0 > (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a > (II) Module type1: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 1.0.0 > (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a > (II) Module freetype: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 1.1.9 > (II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o > (II) Module nvidia: vendor=3D"NVIDIA Corporation" > =09compiled for 4.0.2, module version =3D 1.0.1251 > (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o > (II) Module mouse: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 1.0.0 > (II) NVIDIA: NVIDIA driver for: RIVA TNT, RIVA TNT2, RIVA TNT2 (Ultra), > =09RIVA TNT2 (Vanta), RIVA TNT2 (M64), RIVA TNT2 (??), RIVA TNT2 (??), > =09RIVA TNT2 (Integrated), GeForce 256, GeForce DDR, Quadro, > =09GeForce2 MX, GeForce2 MX DDR, GeForce2 Go, GeForce2 MXR, > =09GeForce2 GTS, GeForce2 GTS, GeForce2 Ultra, Quadro2 Pro, GeForce3, > =09GeForce3, GeForce3, GeForce3 > (--) Chipset GeForce2 Go found > (II) Loading /usr/X11R6/lib/modules/libvgahw.a > (II) Module vgahw: vendor=3D"The XFree86 Project" > =09compiled for 4.0.3, module version =3D 0.1.0 > (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 > (=3D=3D) NVIDIA(0): RGB weight 888 > (=3D=3D) NVIDIA(0): Default visual is TrueColor > (=3D=3D) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) > (--) NVIDIA(0): Linear framebuffer at 0xE0000000 > (--) NVIDIA(0): MMIO registers at 0xFC000000 > (=3D=3D) NVIDIA(0): Write-combining range (0xa0000,0x10000) was already= clear > (=3D=3D) NVIDIA(0): Write-combining range (0xfc680000,0x1000) was alrea= dy clear > (=3D=3D) NVIDIA(0): Write-combining range (0xfc682000,0x1000) was alrea= dy clear > (=3D=3D) NVIDIA(0): Write-combining range (0xfc601000,0x1000) was alrea= dy clear > (=3D=3D) NVIDIA(0): Write-combining range (0xfc603000,0x1000) was alrea= dy clear > (=3D=3D) NVIDIA(0): Write-combining range (0xfc0c0000,0x1000) was alrea= dy clear > (=3D=3D) NVIDIA(0): Write-combining range (0xfc681000,0x1000) was alrea= dy clear > (EE) NVIDIA(0): Failed to initialize the NVdriver kernel module! > (EE) NVIDIA(0): *** Aborting *** > (II) Unloading /usr/X11R6/lib/modules/libvgahw.a > (EE) Screen(s) found, but none have a usable configuration. > > Fatal server error: > no screens found > > When reporting a problem related to a server crash, please send > the full server output, not just the last messages. > This can be found in the log file "/var/log/XFree86.0.log". > Please report problems to xfree86@xfree86.org. > > X connection to :0.0 broken (explicit kill or server shutdown). > > > > > And here is the XF86Config file. > > > #######################################################################= ### > # Sample XF86Config file for NVIDIA XFree86 drivers. > # > # Refer to the XF86Config(4/5) man page for details about the format of > # this file. > # > # Be sure to replace the monitor values with correct values for your > # monitor! > #######################################################################= ### > > > Section "Files" > > RgbPath=09"/usr/X11R6/lib/X11/rgb" > FontPath "unix/:-1" > > EndSection > > > #######################################################################= ### > # Server flags section. > #######################################################################= ### > > Section "ServerFlags" > > # Uncomment this to cause a core dump at the spot where a signal i= s > # received. This may leave the console in an unusable state, but = may > # provide a better stack trace in the core dump to aid in debuggin= g > #NoTrapSignals > > # Uncomment this to disable the server abort seque= nce > # This allows clients to receive this key event. > #DontZap > > # Uncomment this to disable the / mode > switching # sequences. This allows clients to receive these key events= =2E > #DontZoom > > # This allows the server to start up even if the > # mouse device can't be opened/initialised. > AllowMouseOpenFail > > EndSection > > > #######################################################################= ### > # Input devices > #######################################################################= ### > > # > # Keyboard section > # > Section "InputDevice" > > Identifier "Keyboard1" > Driver "Keyboard" > Option "AutoRepeat" "250 30" > > Option "XkbRules" "xfree86" > Option "XkbModel" "pc105" > Option "XkbLayout" "us" > > EndSection > > > # > # Pointer section > # > Section "InputDevice" > > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > > EndSection > > > #######################################################################= ### > # Module section > #######################################################################= ### > > Section "Module" > > Load "dbe" > > # Load the glx module. > Load=09"glx" > > Load "extmod" > > Load=09"type1" > Load=09"freetype" > Load=09"nvidia" > EndSection > > > #######################################################################= ### > # Monitor section > #######################################################################= ### > > Section "Monitor" > > Identifier "MyMonitor" > VendorName "Mitsubisi" > ModelName "Diamond Plus 120u" > > # be sure to replace these values with values appropriate for your > # monitor! > HorizSync 31-82 > VertRefresh 55-120 > > EndSection > > > #######################################################################= ### > # Graphics device section(s) > #######################################################################= ### > > Section "Device" > Identifier "NV AGP" > VendorName "nvidia" > Driver "nvidia" > # update this with the PCI id of your card. Consult the output > # of the 'lspci' command. > BusID "PCI:1:0:0" > EndSection > > Section "Device" > Identifier "NV PCI" > VendorName "nvidia" > Driver "nvidia" > # update this with the PCI id of your card. Consult the output > # of the 'lspci' command. > BusID "PCI:0:13:0" > EndSection > > Section "Device" > Identifier "NV AGP TwinView" > VendorName "nvidia" > Driver "nvidia" > # update this with the PCI id of your card. Consult the output > # of the 'lspci' command. > BusID "PCI:1:0:0" > > # sample twinview setup > Option "TwinView" > # be sure to replace the HorizSync and VertRefresh with correct va= lues > # for your monitor! > Option "SecondMonitorHorizSync" "31-82" > Option "SecondMonitorVertRefresh" "55-120" > Option "TwinViewOrientation" "RightOf" > Option "MetaModes" "1280x1024,1280x1024; > 1024x768,1024x768" Option "ConnectedMonitor" "crt,crt" > EndSection > > > #######################################################################= ### > # Screen sections > #######################################################################= ### > > # > # screen section for an nvidia AGP card > # > Section "Screen" > Identifier "Screen AGP" > Device "NV AGP" > Monitor "MyMonitor" > DefaultColorDepth 24 > Subsection "Display" > Depth 8 > Modes "1280x1024" "1024x768" "800x600" "640x400" > EndSubsection > Subsection "Display" > Depth 16 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubsection > Subsection "Display" > Depth 24 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubsection > > EndSection > > > # > # screen section for an nvidia PCI card > # > Section "Screen" > Identifier "Screen PCI" > Device "NV PCI" > Monitor "MyMonitor" > DefaultColorDepth 24 > Subsection "Display" > Depth 8 > Modes "1280x1024" "1024x768" "800x600" "640x400" > EndSubsection > Subsection "Display" > Depth 16 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubsection > Subsection "Display" > Depth 24 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubsection > EndSection > > # > # screen section for an nvidia AGP TwinView card > # (look at the appropriate Device section) > # > Section "Screen" > Identifier "Screen AGP TwinView" > Device "NV AGP TwinView" > Monitor "MyMonitor" > DefaultColorDepth 24 > Subsection "Display" > Depth 8 > Modes "1280x1024" "1024x768" "800x600" "640x400" > EndSubsection > Subsection "Display" > Depth 16 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubsection > Subsection "Display" > Depth 24 > Modes "1280x1024" "1024x768" "800x600" "640x480" > EndSubsection > EndSection > > > #######################################################################= ### > # ServerLayout sections > # (invoke using the '-layout' option of 'startx'. > #######################################################################= ### > > # > # just one agp card > # > Section "ServerLayout" > Identifier "AGP" > Screen "Screen AGP" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > # > # just one pci card > # > Section "ServerLayout" > Identifier "PCI" > Screen "Screen PCI" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > # > # 2 cards, non twinview > # > Section "ServerLayout" > Identifier "Both" > Screen "Screen AGP" > Screen "Screen PCI" LeftOf "Screen AGP" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > # > # just one agp twinview card > # > Section "ServerLayout" > Identifier "AGPTwinView" > Screen "Screen AGP TwinView" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > # > # 2 cards, one agp twinview and one pci (3 monitors total) > # > Section "ServerLayout" > Identifier "BothTwinView" > Screen "Screen AGP TwinView" > Screen "Screen PCI" LeftOf "Screen AGP TwinView" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > > thanks > Darren > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message - --=20 Regards, James Lim http://sg.freebsd.org | http://www.bsd-geeks.org -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBOxjePppTakonTMbIEQKi0wCg5OLiv9ZaLC91tFmVOjyu1YOU++cAniVd k4DXyXS6Di8vfQwcQ2jEaiF8 =3Deh/f -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message