Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Would like to install Nvidia drivers in 2.6.5

  1. #1
    Member registered user
    Join Date
    May 2004
    Posts
    35

    Would like to install Nvidia drivers in 2.6.5

    Hi,
    First, I am very new to linux but Knoppix looks great!

    I downloaded the CD and did a HD install 2.6.5. I have a video card that is Nvidia GEforce FX 5200 and would like to install the proper drivers for it. It also has two monitor heads that allow NVidia twinview to run.


    Can someone please supply fairly straightforward instructions on how to do this.

    I have searched through the forum but all the NVidia instructions seem to relate to previous kernels or before Nvidia started issuing the '.run' package.

    Thanks
    Jim

  2. #2
    Junior Member
    Join Date
    May 2004
    Posts
    7
    hiho

    i installed knoppix 3.3 and upgraded my kernel to 2.6.5 manually. (hopefully going to install knoppix 3.4 this evening).

    when i installed my nvidia drivers (i got the same card) i was using the installing instructions from nvidia (download drivers -> geforce -> linux ia32), download NVIDIA-Linux-x86-1.0-5336-pkg1.run and run it like described. it will guide you through the install process. when i ran this script it said that there is no precompiled module for this version of the kernel and downloaded some additional files from the internet.
    after this i got the nice NVIDIA logo when starting X.

    so it works fine for me.

  3. #3
    Member registered user
    Join Date
    May 2004
    Posts
    35
    Hi Blockme,

    Please let me know how the upgrade to 3.4 works out.




    Thanks,
    Jim

  4. #4
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    I just tried to install the Nvidia driver, yet without success. My specs are

    - Knoppix 3.4 HDD install (the first "official" 3.4 version that came out, not sure about the date), standard boot set to 2.6 (in fact my kernel is what came with Knoppix 3.4 plus all apt-get available kernel-updates).

    - I downloaded the aforementioned Nvidia .run package

    - left X (by typing "init 3" in a root console, it took me a while to find out how to leave X )

    - I started the .run package. It told me that there is no compiled version of the driver for my kernel, then suggests to get the necessary package from the Nvidia FTP. I confirm but it tells me that the required package is not available via FTP.

    - It then offers to compile the driver from scratch. I confirm but the installer ends up giving me a final "not possible" message. I do not remember the exact reason it gave me.

    In a nutshell, it is NOT POSSIBLE to install the Nvidia driver on a Knoppix 3.4 HDD-install by using the Nvidia installer package.

    I would greatly appreciate it if someone could give me a workaround for this issue. I know it will mean to compile the driver myself, but even after 1 year of Linux I have never ever compiled anything myself so I guess I really need a detailed walkthrough.

    Thank you very much in advance!

    Linuxshark

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Linuxshark

    - left X (by typing "init 3" in a root console, it took me a while to find out how to leave X )
    Another way to accomplish the same would have been /etc/init.d/kdm stop which assuming you are using kdm for the display manager would have stopped it and X.

    - It then offers to compile the driver from scratch. I confirm but the installer ends up giving me a final "not possible" message. I do not remember the exact reason it gave me.
    It should have told you to look for the error messages in the log file which you could have posted here most likely it was a CC mismatch for the compiler. If this was the case then typing in then enter key export CC=/usr/bin/gcc-2.95 just before you tried to run the installer should have solved the problem.

    In a nutshell, it is NOT POSSIBLE to install the Nvidia driver on a Knoppix 3.4 HDD-install by using the Nvidia installer package.
    Just because it failed in your effort does not make it impossible.

    I would greatly appreciate it if someone could give me a workaround for this issue. I know it will mean to compile the driver myself, but even after 1 year of Linux I have never ever compiled anything myself so I guess I really need a detailed walkthrough.

    Thank you very much in advance!

    Linuxshark
    http://kanotix.com/files/ has a couple of scripts to install different versions of the driver download the script for the version you want to install then make it executable (chmod +x script_name.sh) then run it (./script_name.sh) as root and it will do everything needed to install the driver.

  6. #6
    Member registered user
    Join Date
    May 2004
    Posts
    35
    I got the Nvidia drivers installed by using the procedures in Kelmo's post. Worked great.



    Jim

  7. #7
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    Stephen, thank you for the reply. I guess I shouldn't have said that it is not possible at all to use the Nvidia installer, but at least it doesn't work "as such" on a Knoppix 3.4 HDD install.

    I tried the steps you mentioned and indeed the gcc-change helped to avoid the gcc-error-message. When the installer tries to compile the driver I get the message "Unable to determine the NVIDIA kernel module filename". I figure this might be due to the lack of kernel headers on a standard 3.4 HDD install. I found the "apt-get install kerner-headers", but I simply do not know what my exact kernel-version is (I'm still a noob, eh?). How can I determine my exact kernel version needed for the kernel-headers?

    Finally I would like to warn noobs like me to use the kanotix installer if you do not know what you do. I tried this one, too, but it resulted in the same kernel-issue mentioned above. The thing that made this installer worse is that it changes the "/etc/X11/XF86Config-4" BEFORE it tries to install the driver. As the driver-install failed on my system (but the config file remained changed), my next reboot ended on the textmode (console) level. I couldn't even manually start X because it didn't find the "nvidia" driver. Fortunately, I had made a manual backup of the config file and could restore it.

    Thanks again Stephen for your support.

    Linuxshark

  8. #8
    Senior Member
    Join Date
    Nov 2003
    Posts
    171
    Linuxshark,

    Until someone tells me otherwise, you need to get the full kernel source for compiling modules for the 2.6 series of kernel. Get them from kernel.org, not via apt. Debian kernel sources are slightly tweaked and may cause grief. Klaus always uses vanilla kernel sources.

  9. #9
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    Linuxshark: The kernelversion might be found out by typing:

    uname -a

    which gives you - i.e.: 2.6.5

  10. #10
    Junior Member
    Join Date
    May 2004
    Posts
    1
    I'm having the same issue as you, Linuxshark. This is what I have done so far (I'm using the 5-10-04 3.4 knoppix btw):

    -downloaded 2.6.5 kernel source from kernel.org and unpacked in usr/src
    -used apt-get to install kernel-headers-2.6.5-1 (wrong one?)

    when I try "export CC=/usr/bin/gcc-2.95" and then "sh NVIDIA-Linux-x86-1.0-5336-pkg1.run", I get the same error message of:
    "Unable to determine the NVIDIA kernel module filename"

    What am I doing wrong?

    I appreciate any help.

Page 1 of 2 12 LastLast

Similar Threads

  1. 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
  2. Replies: 45
    Last Post: 05-18-2004, 02:10 AM
  3. 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
  4. Nvidia drivers i tried all.......
    By Malo in forum Hardware & Booting
    Replies: 11
    Last Post: 01-02-2004, 03:44 AM
  5. nvidia drivers
    By evilgeek in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 01-22-2003, 11:16 AM

Posting Permissions

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


Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W picture

Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W

$329.99



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



Dell PowerEdge R720xd 26HDD 300gb  2.5-inch E5-2697  X 2CPU 384RAM 7.2 Tb HDD  picture

Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 

$180.00



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



1U Server ( 4x VM's ) Hosting VPS Short Depth 20

1U Server ( 4x VM's ) Hosting VPS Short Depth 20" 1U Xeon 3.5Ghz 16GB X10SLM-F

$149.00



DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 256GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 256GB H730 4xRJ45

$562.00