I can't find out what I'm doing wrong. I have a nvidia card (GeForce FX
5200) and I managed to launch the X server with the nv driver. When I
try to use the nvidia driver, the server aborts, complaining about not
finding a usable screen section.

The following file is the one that works (with nv). To try nvidia, I
made two changes: Load "glx" (instead of dri) and nvidia (as driver)
instead of nv. Something is missing... (Didn't change identifiers and
such.)
I emerged nvidia/kernel and nvidia-glx for good measure, issued "modprobe 
nvidia",
 modules-update, openglx-update nvidia...
 Kernel is 2.6.13-gentoo-r3.

Section "Module"
    Load        "dbe"   # Double buffer extension
        Load  "fbdevhw"
        Load  "record"
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "dri"
EndSection
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"  "us_intl"
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option      "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   24-80
    VertRefresh 49-75
EndSection
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection
Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
    Driver      "nv"
    VideoRam    131072
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "** NVIDIA (generic)                   [nv]"
    Monitor     "My Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


The last lines of /var/log/Xorg.0.log :

        [29] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
        (II) Setting vga for screen 0.
        (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
        (==) NVIDIA(0): RGB weight 888
        (==) NVIDIA(0): Default visual is TrueColor
        (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
        (--) NVIDIA(0): Linear framebuffer at 0xE0000000
        (--) NVIDIA(0): MMIO registers at 0xFD000000
        (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
        (EE) NVIDIA(0):  *** Aborting ***
        (II) UnloadModule: "nvidia"
        (EE) Screen(s) found, but none have a usable configuration.

        Fatal server error:
        no screens found

-- 
Jorge Almeida
-- 
[email protected] mailing list

Reply via email to