nVidia video driver - ugh!

From: Neil (neshort-drop-_at_yahoo.com)
Date: 08/16/04


Date: Mon, 16 Aug 2004 08:12:59 -0700

I can't figure this out.
My goal is to be able to use both the LCD and the CRT videos (for public
projection.)

I can get the built-in nv driver to work on the LCD. It doesn't seem to
have options to use both LCD and CRT. If someone has the answer here,
there may be a quick fix.

Anyway, when I try to start XFree86 with the "nvidia" driver (from ports)
I get this (scripted, note the line about the NVIDIA kernel module):

Script started on Sun Aug 15 17:10:11 2004
laptop# XFree86

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.10 i386 [ELF]
Build Date: 29 April 2004
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Aug 15 17:10:23 2004
(==) Using config file: "/etc/XF86Config"
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(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.

laptop# exit

I'm pretty sure I properly followed the directions in the
/usr/X11R6/share/doc/NVIDIA/README file;
however, my understanding is that the particular error is closer related
to a problem with the module than with configuring of the surrounding
configuration files (which I believe I set up properly.)

My computer is an HP pavilion zv5000 with an AMD Athlon XP-M processor.

/boot/loader.conf:
agp_load="YES"
nvidia_load="YES"

# -- sysinstall generated deltas -- #
userconfig_script_load="YES"

XF86Config:
[...]
Section "Monitor"
        Identifier "Monitor0"
        VendorName "Monitor Vendor"
        ModelName "Monitor Model"
        UseModes "16:10"
        HorizSync 30-90
        VertRefresh 50-90
        Option "FlatPanelProperties" "Scaling=aspect-scaled"
EndSection
[...]
Section "Modes"
        Identifier "16:10"
        ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
EndSection

Section "Device"
        Identifier "Card0"
# Driver "nv"
        Driver "nvidia"
        VendorName "nVidia Corporation"
        BoardName "NV17 [GeForce4 440 Go 64M]"
        BusID "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor0"
        DefaultDepth 24

        SubSection "Display"
                Depth 24
                Modes "1280x800" "1024x768" "800x600"
                ViewPort 0 0
        EndSubSection
EndSection