[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Nvidia problems in kernel 2.6.7



Hi,

I was using Nvidia drives in 2.4.26 and they were working pretty nicely (with the necessary changes in /etc/X11/XF86Config-4. But Since using 2.6.7 (now about a day) the same drivers do not work for the new kernel. In 2.4.26, there is documentatoin in /usr/share/doc/nvidia-kernel-2.4.26-1-686, but there is nothing similar for the newer kernel. From the reading that I have done, it seems that there is no need for such modules for the new kernels. Correct me if I am wrong.

Also, for the newer kernel, I did the changes in the XF86Config-4 file and replace "nv" with "nvidia" but that didn't help either. Any suggestions what could going wrong? Or I am just missing some packages that I don't now about?

These are the changes that work for 2.4.26:
Section "Module"
#comment out this for Nvidia(2.4.26)
        Load    "GLcore"          <------------------------ a
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#comment out this for Nvidia(2.4.26)    <------------------ b
        Load    "dri"
...
...
Section "Device"
        Identifier      "Matrox GeForce"
#comment out "nv" and add "nvidia" for Nvidia(2.4.26)
        Driver          "nv"     <------------------------- c
#       Driver          "nvidia"   <----------------------- d


So commenting out a,b and c and putting in d worked for 2.4.26. Not in 2.6.7.

All help is appreciates,
thanks,
->HS

---------------------------My config file:---------------------
> cat /etc/X11/XF86Config-4
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86
Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
#comment out this for Nvidia
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#comment out this for Nvidia
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection
Section "Device"
        Identifier      "Matrox GeForce"
#comment out "nv" and add "nvidia" for Nvidia
        Driver          "nv"
#       Driver          "nvidia"
        BusID           "PCI:1:0:0"
        VideoRam        65536
EndSection
Section "Monitor"
        Identifier      "CPD-G420S"
        HorizSync       30-110
        VertRefresh     48-170
        Option          "DPMS"
EndSection
Section "Screen"
        Identifier      "Default Screen"
        Device          "Matrox GeForce"
        Monitor         "CPD-G420S"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
Modes "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
Modes "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
Modes "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
Modes "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
Modes "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
Modes "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection
Section "DRI"
        Mode    0666
EndSection



Reply to: