Results 1 to 6 of 6

Thread: Installing NVIDIA drivers HOWTO

  1. #1
    Senior Member
    Join Date
    Nov 2003
    Posts
    171

    Installing NVIDIA drivers HOWTO

    Here is a shortened howto taken from http://home.comcast.net/~andrex/Debian-nVidia/ with changes according to how I successfully completed this. You should not that the bleeding edge nvidia cards may not be supported by the linux driver package.

    I used vanilla kernel soucre (linux-2.6.5) from kernel.org and applied the knoppix-kernel26.patch (probably not neccessary to apply patch). Kernel sources from apt are debian kernel sources with extra debian specific patches, they are not what Klaus used.

    wget ftp://ftp.kernel.org/pub/linux/kerne...-2.6.5.tar.bz2
    cp linux-2.6.5.tar.bz2 /usr/src
    tar jxvf linux-2.6.5.tar.bz2
    rm -f linux
    ln -s linux-2.6.5 linux
    cp /boot/config-2.6.5 linux/.config
    cd linux/include
    ln -s asm-i386 asm
    cd ..
    make oldconfig
    patch -p1 <../knoppix-kernel26.patch
    make include/linux/version.h (bug in cleaning process of linux-2.6.5)
    cd /usr/bin
    rm -f gcc (the kernel image was compiled with gcc-2.95 but symlink is to gcc-3.3)
    ln -s gcc-2.95 gcc
    cd /usr/src
    apt-get update
    apt-get install nvidia-kernel-common nvidia-kernel-source
    tar zxvf nvidia-kernel-source
    cd modules/nvidia-kernel
    debian/rules KSRC=/usr/src/linux-2.6.5 KVERS=2.6.5 kdist_image
    cd ..
    dpkg -i nvidia-kernel-2.6.5_1.0.5336-9_i386.deb
    apt-get install nvidia-glx
    cd /usrbin
    rm -f gcc
    ln -s gcc-3.3 gcc

    Thats the building and installation procedure done, now to let xserver know what driver to use. Edit /etc/X11/XF86Config-4 with your fav text editor and make the following mods:-

    Drivers Section
    Replace "nv" with "nvidia"

    Modules Section
    Remove or comment out lines including "dri" and "GLCore"
    Ensure there is a line with Load "glx"

    Done.

    If you did this while running a 2.4 series kernel it is neccessary to boot up with the 2.6 kernel and do a "dpkg-reconfigure nvidia-glx". So maybe boot into linux 2.6.5 with the "single' boot option and do this and reboot and enjoy the 3d accellerated xserver.

    If you get sick of the nvidia logo add this line to the device section of XF86config-4:-

    Option "NoLogo" "true"

    Kano provides an automated script for the installation of these drivers the 'nvidia way' on his scriptage page. Maybe this is easier to use than the 'debian way'.

    Thanks to Andrew the author of the Debian-nVidia HOWTO

    [/i]

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    Kelmo, does frozen bubble work on your system after you follow this method. I used another method on a remaster. All the open gL stuff works great but some of the games that don't use open GL crapped out

  3. #3
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    13
    Thanks for the info!

    However I don't appear to have been succesfull. I have followed the instructions you posted
    however the glx module does not get loaded despite having load "glx" in the modules section, and dri and GLcore commented out.

    From my /var/log/XFree86.0.log

    (II) LoadModule: "glx"
    (WW) Warning, couldn't open module glx
    (II) UnloadModule: "glx"
    (EE) Failed to load module "glx" (module does not exist, 0)


    Any suggestions?

    --
    Brian

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    171
    Frozen Bubble works fine.

    As for the glx module problem, try a dpkg-reconfigure nvidia-glx after x refuses to start, and then start kdm. I don't know what is going on with your setup?

  5. #5
    Member registered user
    Join Date
    Nov 2003
    Posts
    66
    Quote Originally Posted by kelmo
    Frozen Bubble works fine.

    As for the glx module problem, try a dpkg-reconfigure nvidia-glx after x refuses to start, and then start kdm. I don't know what is going on with your setup?
    I belive that was a problem with the version of the older drivers (not sure, my bro had the same problem but I *unfortunately* have an ATI card, and the issue was on the NeverWinter Nights Board after people had upgraded in Linux).

  6. #6
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    13
    Quote Originally Posted by kelmo
    Frozen Bubble works fine.

    As for the glx module problem, try a dpkg-reconfigure nvidia-glx after x refuses to start, and then start kdm. I don't know what is going on with your setup?
    Oh, the nvidia X Server works - XFree86.0.log shows nvidia module loaded and running.

    Just glx does not load!


    --Edit -- Fromthe nvidia-glx documentation I ran the command
    Code:
    /etc/init.d/nvidia-glx start
    Now I have glx loaded, but I only get 5 fps in glx-gears! I'm sure I had this problem before in Fedora,
    I solved it by going back to an older driver.

    -- Edit -- got nvidia & glx working perfectly by using Kanos install-nvidia-4496-debian.sh script.




    --
    Brian

Similar Threads

  1. Help with installing nVidia Drivers /newbie/
    By nlight40 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 12-16-2004, 09:21 AM
  2. HOWTO: Nvidia drivers after hard drive install
    By robelanator in forum Hdd Install / Debian / Apt
    Replies: 49
    Last Post: 10-06-2004, 10:10 PM
  3. Guide to Installing NVIDIA Drivers under 2.6.6
    By naventus in forum Hdd Install / Debian / Apt
    Replies: 22
    Last Post: 07-17-2004, 05:05 AM
  4. nvidia drivers with kernel 2.6.6 howto (resolved)
    By Yakumo in forum Hdd Install / Debian / Apt
    Replies: 14
    Last Post: 06-14-2004, 05:07 PM
  5. Installing Nvidia drivers for remastered cd
    By ill in forum Customising & Remastering
    Replies: 13
    Last Post: 03-22-2004, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins picture

HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins

$72.93



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$35.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB picture

HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB

$127.20



Dell Memory Upgrade 16GB 1Rx8 DDR5 SODIMM 4800MHz ECC SNPCYXXPC/16G AC258275 RAM picture

Dell Memory Upgrade 16GB 1Rx8 DDR5 SODIMM 4800MHz ECC SNPCYXXPC/16G AC258275 RAM

$159.95