Added by Tomas Forsman, last edited by Alexandre Franke on Mar 31, 2010  (view change)

Labels:

Add Labels
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

One of my kids computer got a Nvidia FX 5200 card, and been a bit hard to get it in Foresight Linux. Been using an older kernel for the kids computer, but i got tired.

So this is what i did to get it running of the current kernel, that the computer had.

First of all, i did install group-gnome-dist-devel. To get all tools i needed to be able to build recipes in Foresight. So open up Terminal and write:

sudo conary update group-gnome-dist-devel

When its done, we create few folder under home. Just to be able to continue working with recipes later. Don't want to mix up stuff under home directly and make it easier to grab recipes and so on...

mkdir -p ~/conary/foresight.rpath.org ~/conary/builds ~/conary/cache ~/conary/personal

Then we go to the personal folder in terminal:

cd conary
cd personal

Also, lets give the personal folder a context

cvc context personal

Now we need to download the recipes, were we will create the files to install from.

cvc co nvidia:source=@fl:2-devel/173.14.12
cvc co nvidia-kernel:source=@fl:2-devel-kernel/173.14.12

Now you got 2 folders inside your personal folder, one nvidia and on nvidia-kernel. So lets start with nvidia. Go in to nvidia folder and open nvidia.recipe with a text editor.

Look for:     version = '173.14.12'

and change that to current version for your legazy nvidia drivers. For me it became:     version = '173.14.20'

then save the file.

Get into terminal again, go to folder nvidia with terminal.

cd nvidia

Now its time to build it. write in terminal:

cvc cook nvidia.recipe

 you see something like this when it's done: Changeset written to: nvidia-173.14.20.ccs
 

Now, lets get to nvidia-kernel and start with that one. Same as before, open up nvidia-kernel.recipe in a text editor and change version nr to: version = '173.14.20'

Now lets get back to terminal and write:

cd ..
cd nvidia-kernel
cvc cook nvidia-kernel.recipe

 you see something like this when it's done: Changeset written to: nvidia-kernel-173.14.20.ccs

Now we need to move nvidia-173.14.20.ccs or nvidia-kernel-173.14.20.ccs to same folder. Lets open Nautilus and move nvidia-173.14.20.ccs to ~/conary/personal/nvidia-kernel/ folder.

So now we got:  nvidia-173.14.20.ccs and nvidia-kernel-173.14.20.ccs in the folder nvidia-kernel

Lets go back to terminal and write:

sudo conary update nvidia-173.14.20.ccs nvidia-kernel-173.14.20.ccs

That will install nvidia and nvidia-kernel for your current kernel you are running.

After its installed, we need to configure xorg to use nvidia drivers:

sudo nvidia-xconfig

Now, restart whole computer and you will have nvidia drivers running under your current kernel.