Author Topic: another newbie question 8-) [re:compiling nvidia drivers]  (Read 1012 times)

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
I got the source for nvidias latest gpu drivers and uncompressed (using tar -xvzf (filename.tar.gz.))
Then I cd'd into the NVIDIA_kernel-1.0-3123 directory and tried make install but got the following error message-

Code: [Select]

Can anyone help me get these drivers installed? (TIA)
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #1 on: 22 December 2002, 13:36 »
Might be able to help if you let us know what distro/version you are running.
Someone please remove this account. Thanks...

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #2 on: 22 December 2002, 13:39 »
Sorry Void Main - Mandrake 9.0

[ December 22, 2002: Message edited by: Faust ]

Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #3 on: 22 December 2002, 13:40 »
Why don't you get the RPMs then?
Someone please remove this account. Thanks...

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #4 on: 22 December 2002, 13:41 »
I couldnt find any rpms for 9.0 on the nvidia site, i dont think they are made yet.
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #5 on: 22 December 2002, 13:42 »
Linux Driver Page
Mandrake 9.0 Single processor kernel driver
If you've updated your kernel, get the source RPM.
GLX RPM

Don't forget to edit your /etc/X11/XF86Config file before restarting X. The only thing that will likely need changing is replace "nv" with "nvidia" in the drivers section.

[ December 22, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #6 on: 22 December 2002, 13:59 »
Thanks very muxh Void Main 8-)
Sorry about the misspell, has been edited.
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #7 on: 22 December 2002, 13:59 »
I don't care how you spell it. X11 is the only one who cares.  
Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #8 on: 22 December 2002, 14:21 »
Any time XP.
Someone please remove this account. Thanks...

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #9 on: 22 December 2002, 16:56 »
quote:
Originally posted by Faust:
I got the source for nvidias latest gpu drivers and uncompressed (using tar -xvzf (filename.tar.gz.))
Then I cd'd into the NVIDIA_kernel-1.0-3123 directory and tried make install but got the following error message-
<message>

Can anyone help me get these drivers installed? (TIA)


Either re-compile the kernel yourself, then compile the drivers.
Or, as it says, set IGNORE_CC_MISMATCH. It also says that the kernel recompiling bit is usually best (as in not causing compatibility problems) so it's best to bite the bullet and recomplile the kernel (which is usually good anyway - the stock kernels tend to be larger than neccesary.
GS/CS d- s-: a--- C++ UL+ P+ L++>+++ E W++ N>+ o K- w-- O- M V? PS+>++ PE- Y+ PGP t+ 5+ X R tv+ b+++ DI+ D+ G++ e>++++ h! r- y
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
We take a measurement, the wavefunction will collapse, and one of the bottles of beer will fall

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #10 on: 22 December 2002, 22:22 »
There's no need, there are RPMs for it.
Someone please remove this account. Thanks...

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #11 on: 22 December 2002, 22:26 »
quote:
Originally posted by void main:
There's no need, there are RPMs for it.


Y'know, some things (like drivers specially tuned for YOUR kernel) are best compiled yourself, and sometimes even unavailable as binaries.
GS/CS d- s-: a--- C++ UL+ P+ L++>+++ E W++ N>+ o K- w-- O- M V? PS+>++ PE- Y+ PGP t+ 5+ X R tv+ b+++ DI+ D+ G++ e>++++ h! r- y
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
We take a measurement, the wavefunction will collapse, and one of the bottles of beer will fall

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #12 on: 22 December 2002, 23:10 »
Sometimes, but not in this case. In fact in this case you don't even have to recompile your kernel if you don't have the drivers for the exact kernel you are running. You just need the kernel source installed in order to compile the module.
Someone please remove this account. Thanks...

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #13 on: 23 December 2002, 05:46 »
quote:
Originally posted by void main:
Sometimes, but not in this case. In fact in this case you don't even have to recompile your kernel if you don't have the drivers for the exact kernel you are running. You just need the kernel source installed in order to compile the module.


Somehow I get the distinct feeling that you and me are talking about different things.

Anyway, the best thing to do is indeed to go ahead and recompile the kernel, then the drivers. Or fetch the same GCC version the kernel was compiled with, that's pretty much the same thing.
The entire idea is that a kernel and the drivers won't work properly together (or, better, might not work properly together) if compiled with different GCC versions. That's why that warning is given.
GS/CS d- s-: a--- C++ UL+ P+ L++>+++ E W++ N>+ o K- w-- O- M V? PS+>++ PE- Y+ PGP t+ 5+ X R tv+ b+++ DI+ D+ G++ e>++++ h! r- y
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
We take a measurement, the wavefunction will collapse, and one of the bottles of beer will fall

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #14 on: 23 December 2002, 06:01 »
quote:
Originally posted by DC:
Somehow I get the distinct feeling that you and me are talking about different things.

Anyway, the best thing to do is indeed to go ahead and recompile the kernel, then the drivers. Or fetch the same GCC version the kernel was compiled with, that's pretty much the same thing.
The entire idea is that a kernel and the drivers won't work properly together (or, better, might not work properly together) if compiled with different GCC versions. That's why that warning is given.



No, that is not the best thing to do. Have you ever compiled and installed the nVidia kernel drivers? They are not part of the kernel source tree. All that is needed to compile the nVidia kernel module is the source installed of the exact same version of the running kernel. And that's not even necessary if you download the precompiled modules that match exactly the currently running kernel version which in this persons case were available.

If you compiled the kernel, then downloaded the source and compiled the nVidia kernel module you would end up with *exactly* the same binary module. Nothing gained. Much of the nVidia driver that is called "source" is not really source. It's a binary with a tiny wrapper. It is not an open source driver. But then it's better to get the binary modules on Mandrake because Mandrake is screwed and includes more than one version of the kernel and only one version of the kernel headers which is insane and one of the reasons I don't use Mandrake. Now, I wouldn't argue that downloading and installing the stock source for 2.4.20 and compiling/installing it is a good thing, but for completely different reasons, and it is way beyond the scope of what this person wanted to accomplish.

And I don't know why you are continuing on with this because as far as I can tell the simple instructions I gave him worked.

[ December 22, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...