Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 46

Thread: [SCRIPT] Install nvidia-gfx-drivers while running from CD

  1. #31
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    10
    Quote Originally Posted by A. Jorge Garcia
    OK, I just reread this entire thread AGAIN. I suppose the drivers are in nvidia.tbz, but I still don't get what version is used.... Also, could I get step-by-step instructions for using the installation script on an hdinstall?

    Could someone please tell me which version is used as there are several versions on the nividia website for different s of nvidia cards. Mine is the Vanta card and NVChooser.sh says I need version 4192.

    BTW, I have the Vanta card on my home PC. At school I have the intel video onboard 810 series. How do I get graphics acceleration for these motherboard graphics chips? My students really deserve a day off (right before turkey day?) and I would like to give them a bzflag LAN party....

    TIA,
    Don't worry about the exact driver now. Just try this one and see if it works for your card.
    1. Download the script: wget http://debian.tu-bs.de/knoppix/live/nvidia-live.sh and save it in your home directory. Stay connected to internet during all steps.
    2. Open the console and su to root.
    3. cd /"home directory"
    4. Make it executable: chmod +x nvidia-live.sh
    5. Run it: ./nvidia-live.sh
    6. You will then get a second script "nvidia-installer.sh" (not sure of name).
    7. chmod +x nvidia-installer.sh (or whatever the actual name of the second script is)
    8. ctrl-alt-F2 to close X
    9. log back in at prompt.
    10. su to root
    11. Run second script: ./nvidia-installer.sh (again not sure about name)
    12. If I remember correctly, that is it. When your computer reboots, you will have 3D acceleration.

  2. #32
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    10
    Quote Originally Posted by A. Jorge Garcia
    OK, I just reread this entire thread AGAIN. I suppose the drivers are in nvidia.tbz, but I still don't get what version is used.... Also, could I get step-by-step instructions for using the installation script on an hdinstall?

    Could someone please tell me which version is used as there are several versions on the nividia website for different s of nvidia cards. Mine is the Vanta card and NVChooser.sh says I need version 4192.

    BTW, I have the Vanta card on my home PC. At school I have the intel video onboard 810 series. How do I get graphics acceleration for these motherboard graphics chips? My students really deserve a day off (right before turkey day?) and I would like to give them a bzflag LAN party....

    TIA,
    The script installs driver 4363. It should work with your card. I have no experience with the intel 810 graphics.

  3. #33
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    ...tis a thing of beauty!

    Worked like a dream, thanx Fabianx and P2C2E!!

    Sweet!!!

    PS: yeah, thanx guys, now my kids won't stop playing bzflag on my PC....

  4. #34
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    21

    install-nvidia.sh gone ??

    Hi there,

    Can anybody tell me what has changed with the nvidia scripts? There are new ones, but install-nvidia.sh is needed and not there anymore.

    TIA

  5. #35
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297

    Re: install-nvidia.sh gone ??

    Quote Originally Posted by pooh_
    Hi there,

    Can anybody tell me what has changed with the nvidia scripts? There are new ones, but install-nvidia.sh is needed and not there anymore.

    TIA
    Please go to kano.mipooh.net and dl it as you are on a hdinstall.

    cu

    Fabian

  6. #36
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    21
    That was a simple but effective answer. Din't know about that site.

    It helped me, it works now.

    A big thx.


  7. #37
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    10
    Hi

    This thing COULD be a blessing. but when I run it.. I get repetitive errors about that thing not being there. What the?

    Edit: I have a live-CD but I made my old RHL7 install a persistent home.

  8. #38
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    I tried kano's script modified for 4192 (NVchooser.sh told me to use this driver originally) and 4363 (worked for me before with fabianx' script) and 2123 (new driver from NVchooser). I only get 300 fps now. I had gotten 600 fps before (with fabianx' script) on my Vanta card with a knoppix hdinstall. I reinstalled as debian and use kano's scripts and can't get more than 300 fps. Why?

    Regards,
    AJG

  9. #39
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    10
    Small question.

    I try to run the script. However, I get errors about that the connection timed out and about wrong server response.

    1) Timeout
    2) Wrong resp
    1)
    2)
    1)
    2)

    Ad infinitum

    How the hack do I fix this?

  10. #40
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Oh, I just uncommentted (no # at the beginning of the line) the URL line thusly:

    URL=http://download.nvidia.com/XFree86/Linux-x86
    or
    URL=http://download.nvidia.com/XFree86_40/

    and you have to edit the VER line too, ie:

    VER=1.0-4363

    You just have to pick a driver from (maybe other than the 4363 series I used as an example):

    ftp://download.nvidia.com/XFree86/Linux-x86
    or
    ftp://download.nvidia.com/XFree86_40/

    Good Luck,
    AJG

    PS: see script install-nvidia-debian.sh from http://kano.mipooh.net[/b] below

    #!/bin/sh
    if test -z "`lspci|grep VGA|grep -i nvidia`"; then
    echo Error: No nVidia VGA adapter found.
    exit 3
    fi
    if test $(id -u) != 0; then
    echo Error: You must be root to run this script!
    exit 4
    fi
    if test -n "$DISPLAY"; then
    echo Error: Can\`t be run within X! Use a text console \(ALT-CTRL-F1\)
    exit 5
    fi
    VER=1.0-4363
    #VER=1.0-4349
    URL=http://download.nvidia.com/XFree86/Linux-x86/
    #VER=1.0-4191
    #URL=http://download.nvidia.com/XFree86_40/
    cd /usr/src
    wget -Nc $URL$VER/NVIDIA_kernel-$VER.tar.gz
    wget -Nc $URL$VER/NVIDIA_GLX-$VER.tar.gz
    rm -rf NVIDIA_kernel-$VER
    tar zxf NVIDIA_kernel-$VER.tar.gz &>/dev/null || (
    rm -f NVIDIA_kernel-$VER.tar.gz
    echo NVIDIA_kernel-$VER.tar.gz could not be extracted
    echo and has been deleted. Please restart this script.
    exit 1
    ) || exit $?
    rm -rf NVIDIA_GLX-$VER
    tar zxf NVIDIA_GLX-$VER.tar.gz &>/dev/null || (
    rm -f NVIDIA_GLX-$VER.tar.gz
    echo NVIDIA_GLX-$VER.tar.gz could not be extracted
    echo and has been deleted. Please restart this script.
    exit 2
    ) || exit $?
    if test "$(kernelversion)" == "2.6"; then
    wget -Nc http://www.minion.de/files/NVIDIA_kernel-$VER-2.6.diff
    fi
    if test -f /etc/modutils/1alsa; then
    mv /lib/modules/extra/alsa /lib/modules/`uname -r`/
    rm -f /etc/modutils/1alsa
    update-modules
    fi
    DM=`cat /etc/X11/default-display-manager 2>/dev/null`
    DM=`basename $DM 2>/dev/null`
    if test -z "$DM"; then
    test -e /etc/init.d/kdm && /etc/init.d/kdm stop
    else
    test -e /etc/init.d/$DM && /etc/init.d/$DM stop
    fi
    rm -f /lib/modules/`uname -r`/kernel/drivers/video/nvidia.*o
    cd NVIDIA_kernel-$VER
    if test "$(kernelversion)" == "2.6"; then
    patch -p1 <../NVIDIA_kernel-$VER-2.6.diff
    ln -s Makefile.kbuild Makefile
    fi
    perl -pi -e 's/"?(\$\(kernel_cc\))"?/"\1"/;s/"?(\$\(module_cc\))"?/"\1"/' Makefile
    CC=gcc-$(perl -pe '($_)=/gcc.[Vv]ersion\s(3\.\d|2\.\d+)/;' /proc/version)
    if test -e /usr/bin/$CC; then
    make install CC=/usr/bin/$CC IGNORE_CC_MISMATCH=1
    else
    make install IGNORE_CC_MISMATCH=1
    fi
    cd ..
    rm -rf NVIDIA_kernel-$VER
    rm -f /etc/modutils/nvidia
    perl -pi -e 's|.*char-major-195.*[\n]?||' /etc/modutils/aliases
    perl -pi -e 's|[\n]?$|\n|' /etc/modutils/aliases
    echo alias char-major-195 nvidia >> /etc/modutils/aliases
    update-modules
    cd NVIDIA_GLX-$VER
    make install
    cd ..
    rm -rf NVIDIA_GLX-$VER
    if ! test -e /etc/X11/XF86Config-4.1st; then
    cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.1st
    fi
    perl -p -e 's/^[\s]*Load\s*"GLcore"/#\tLoad "GLcore"/;
    s/^[\s]*Load\s*"dri"/#\tLoad "dri"/;
    s/^[\s]*#*[\s]*Load\s*"glx"/\tLoad "glx"/;
    s/^[\s]*Driver\s*"nv"/\tDriver "nvidia"/g;
    s/^[\s]*Driver\s*"fbdev"/\tDriver "nvidia"/g;
    s/^[\s]*Driver\s*"vesa"/\tDriver "nvidia"/g;
    s/DefaultColorDepth.*/DefaultColorDepth 24/;
    s/^[\s]*Option\s*"sw_cursor"/\t#Option "sw_cursor"/' \
    < /etc/X11/XF86Config-4.1st > /etc/X11/XF86Config-4
    rm -rf /usr/lib/tls
    ldconfig
    sync
    if test -z "$DM"; then
    test -e /etc/init.d/kdm && /etc/init.d/kdm start
    else
    test -e /etc/init.d/$DM && /etc/init.d/$DM start
    fi

Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. Nvidia Drivers
    By Dioxin in forum Hardware & Booting
    Replies: 2
    Last Post: 05-26-2005, 03:29 PM
  2. nvidia live install script - Knoppix 3.8.1
    By colpitts in forum Hardware & Booting
    Replies: 0
    Last Post: 05-02-2005, 10:37 AM
  3. 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
  4. Would like to install Nvidia drivers in 2.6.5
    By MillTek in forum Hdd Install / Debian / Apt
    Replies: 10
    Last Post: 05-19-2004, 05:56 PM
  5. kernel 2.6.5 Nvidia Drivers install problems
    By 3p0cHx in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 05-10-2004, 11:21 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
  •  


1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$80.39



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR

$24.99



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$73.29



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$269.99



CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD picture

CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD

$9.00



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



1TB Portable External 2.5 inch sata (Hard Drive)(random color delievery) picture

1TB Portable External 2.5 inch sata (Hard Drive)(random color delievery)

$9.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture

2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US

$41.69



External Solid State Drive 1TB/2TB/4TB USB 3.0 SSD Only applicable to computers  picture

External Solid State Drive 1TB/2TB/4TB USB 3.0 SSD Only applicable to computers

$24.33