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

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #15 on: 23 December 2002, 08:21 »
^^^^^^^ Dont mess with void!

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #16 on: 23 December 2002, 14:00 »
I agree with Void.....As the title of this post says "another newbie question", so obviously it's best to give a simple solution and get the thing done in a jiffy!

007
AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #17 on: 23 December 2002, 15:12 »
quote:
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.


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

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #18 on: 24 December 2002, 05:29 »
quote:
Originally posted by void main:
No, that is not the best thing to do. Have you ever compiled and installed the nVidia kernel drivers?


Oddly enough, yes (for a reason - RPM's weren't available, since Red Had messed up the kernel so some devices wouldn't work)
 
quote:

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.


To compile, you would also need the same gcc version that was used to compile the kernel. It's in the readme, in the Q&A section (this exact problem is mentioned).

Precompiled modules are not always available.
 
quote:

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.


Not exactly, if, as this person, you use a different GCC version.
 
quote:

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.


Perhaps, but if he wanted to do that he'd have to know how to compile the NVidia drivers anyway. Best to give the correct information right away.
 
quote:

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.


Because you did not adress the real problem, but rather worked around it. Initially he wanted to compile and install the drivers. Installing RPM's is a workaround in this case, not a solution (granted, it's a perfectly valid workaround without real drawbacks, but a workaround nontheless).
Besides, some people can't use this workaround and need the compile solution - they would be left in the cold with your workaround.

The fact that he is a newbie doesn't mean he should not be given detailed information. He can always ignore it if he wants the fast way.

And I don't mess with void, I simply tried to give some more info. Why do you people insist on being hostile in discussions?
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 #19 on: 24 December 2002, 05:40 »
I agree he has a compiler mismatch and if he plans on doing other module compiles he will need to correct this. However, I did not "work around" the problem because that's the advice I would have given him regardless if his compiler matched the version used to create the kernel.

It was apparent to me that his goal was to get the nVidia drivers installed to boost his X and GL performance, and that there was a much easier way to achieve his goal. Unlike you and I, some new users are just looking for the easiest ways to get something done, not necessarily the best. I showed him the easy way. Downloading and installing a new kernel or GCC can be a real trick for someone who is just starting out in Linux. Usually they just want to play a few games and get some work done. They don't necessarily want to learn Linux inside and out (although that would be beneficial).

I am well aware of compiler mismatches as I've been compiling Linux kernels since you were 8 years old.  
Someone please remove this account. Thanks...

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
another newbie question 8-) [re:compiling nvidia drivers]
« Reply #20 on: 25 December 2002, 03:26 »
quote:
Originally posted by void main:
I am well aware of compiler mismatches as I've been compiling Linux kernels since you were 8 years old.    

Really? I find that hard to believe, that would mean you were around during the very birth of the Kernel (as in below 0.12). If you were: wow.

Anyway, the discussion is useless. I'll yield.
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