LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NVIDIA drivers (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-drivers-305981/)

Legacyc 03-25-2005 01:01 PM

NVIDIA drivers
 
i just got mandrake linux 10.1 x86_64 and i want to install some nvidia drivers for my leadtek 6600 GT PCI-E card, i saw the guide for newbies and i follow the directions but when i go to intall it when X is off it says i need to compile my kernel, so it offers to install it for me and i say yes but then it cant find one to download and now it says it is going to compile my kernel but it says i dont have GCC so i go to download it and i am instantly lost and have know idea what to sownload and how to install it

My Setup:
AMD athlon 64 3200+ 939
leadtek 6600 GT PCI-E
Abit AN8 (fatal1ty)

thank you

soulstace 03-25-2005 05:54 PM

http://www.linuxquestions.org/questi...896#post310896

To install gcc, get the apt RPM from freshrpms.net
(http://apt.freshrpms.net/) and then run as root:

Code:

apt-get update && apt-get install gcc

bigjohn 03-25-2005 05:55 PM

Re: NVIDIA drivers
 
Quote:

Originally posted by Legacyc
i just got mandrake linux 10.1 x86_64 and i want to install some nvidia drivers for my leadtek 6600 GT PCI-E card, i saw the guide for newbies and i follow the directions but when i go to intall it when X is off it says i need to compile my kernel, so it offers to install it for me and i say yes but then it cant find one to download and now it says it is going to compile my kernel but it says i dont have GCC so i go to download it and i am instantly lost and have know idea what to sownload and how to install it

My Setup:
AMD athlon 64 3200+ 939
leadtek 6600 GT PCI-E
Abit AN8 (fatal1ty)

thank you

It sound's like you have your kernel, but not the kernel-sources. It needs both to work! You'll find the kernel info by doing
Code:

uname -r
in a terminal, then you'll have to check in the software manager to see if you've got the kernel sources as well as the kernel oh and make sure you get the right driver from the nvidia site (I think you'll find that theres a 64 bit version).

Cheers

John

Legacyc 03-27-2005 08:57 AM

what should i donwload at http://apt.freshrpms.net/? there is no link for mandrake.

bigjohn 03-27-2005 04:46 PM

Quote:

Originally posted by Legacyc
what should i donwload at http://apt.freshrpms.net/? there is no link for mandrake.
As I'm obviously stupid, I don't know what you're after, because the AMD64 version of the nvidia driver is here.

Plus, if you're new at this "linux lark", then the best resource you've got (already) is the urpmi package manager. That's usually found in configure my computer>software manager>rpmdrake+ .

With that in mind, open a terminal/konsole (whatever you want to call it - the TV screen like icon at the bottom of your display), you should have a command prompt like bash-2.05b$ or maybe Legacyc @ Legacycs pc $ (in other words it usually had a $ prompt for command line completion).

With that open, type in su (just the letters) and hit enter, then put in your root password when asked and enter.

Minimise that. Then go to this site, and follow the instructions to the letter i.e. everything, from your architecture right the way down, ticking the boxes for all the sources and selecting a source from as close (geographically) to you as possible (in theory the closer the source, the faster the download). The only thing that I never bothered with was the compressed index and media source names (the very last boxes before stage 3).

When you've done that, and hit the stage 3 button, you just copy and paste the info from the output box in 3), to your terminal/konsole. Sometimes it would start automatically sometimes I had to hit enter after the copy/paste.

Then let it do it's thing.

If you then re-visit your software manager and look at what's available in the rpmdrake + boxes you'll be suprised what's available - I'd guess, that if "apt" has been ported/mandrakised, then it would be available there. If so, use that source as URPMI should do full dependency checks etc when it starts the download/install process.

Or, you can just follow the instructions that you find at the nvidia site, download both the driver and the readme. The readme has full instructions on how to install the driver.

Good luck !

regards

John

Legacyc 03-27-2005 06:00 PM

i did what you said bigjohn but i need a kernel source tree, I dont know what that is or how to get it, can anybody help me or point me in the direction of a good guide for newbies

Damnation 03-28-2005 03:44 AM

i used this tutorial install

i had to do a google for the kernal source in mandrake install form. that took 2 hours to download, but the guide covers the bugs that have been known. (i looked at the Nvidia site and saw some "problems")


[edit] Corrected[/edit]

bigjohn 03-28-2005 05:48 AM

Even better Damnation.

Ha! As I was busy digging round LQ and mandrakes site I completely forgot about linux forums!

@ Legacyc, it wasn't meant to be a "jump down your throat" reply, even if that's how I came across (irony is particularly hard to put across with this kind of medium! :cool: )

What I was trying to say, was that if you have all the relevant mirror sources i.e. get em from easy urpmi site, and you've checked which kernel you're using with uname -r (as root in a terminal), then the kernels are listed in uprmi (config my computer>software manager>rpmdrake + ) as kernel-2.6.7-3mdk and the kernel sources are (usually) listed as kernel-sources-2.6.7-3mdk and it's the later one that you want.

ha, stupidly, I forgot to say, that if you've got the install disc(s), usually 3 in mandrakes case (from memory), although the kernel sources aren't installed by default, if you search the disc's you should (again, if I remember correctly) find the kernel sources on one of the disc's that you installed from.

It might take a while to find, because theres a hell of a lot of software to look through.

finally, as well as Damnations suggestion of the "thing" from linuxforums, you could also have a look mandrake users only having just looked the site seems to be down at the moment.

any luck so far ????

regards

John

Damnation 03-28-2005 06:22 AM

problem being with the source on cd's i did install that but it didn't match my kernal source, so i had to download the updated kernal source, which to be honest sucked. and i wasn't exactly impressed. but hey o well its free n all.

yeah mandrakeusers has been down the last few days.
don't know whats up with the site : o(

bigjohn 03-28-2005 02:20 PM

Curious really, because Legacyc mentions 2.6.3-7mdk? That, from memory, is quite and old kernel. I think that's what I was using when I first got my mandy 10 dvd powerpack. While I ran that, there was 3 or 4 kernel upgrades (and yes I got the accompanying sources knowing that I'd need them for the nvidia driver install).

So, unless he/she has them on the install discs, it's gonna be an uphill struggle getting the matching sources anyway - unless there's an archive somewhere?

It'd be my suggestion that Legacyc reads the instructions at the nvidia site, and makes sure that the xorg.conf has the graphics driver set to "nv", then at least there should be a graphic desktop available.

then do the stuff at easy urpmi to get all the latest available updates, then install the latest kernel and kernel sources, then download the nvidia driver and install it, making the mods as per the nvidia readme - would that seem like a sensible course of action ???

regards

John

p.s. Or even better, just get a copy of the latest "boxed set" disc(s) from mandrake, and install it over the top - the "paid for" version has the nvidia driver pre configured and you just put the disc in and fire it up!


All times are GMT -5. The time now is 02:52 AM.