Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-09-02, 09:59 PM   #1
hurrrtin
Guest
 
Posts: n/a
Default Mandrake 9 and nVidia

Im sorry... I am a noob to Linux, and I have read tech stuff after tech stuff. I am NOT a novice to CLI, so if some one can be brief, but exact on how to compile the nVidia Drivers on Mandrake 9.0, assuming I dont have any packages installed;

OR

Any advice or direction on where to go to get drivers for 9.0, I appreciate it much.
  Reply With Quote
Old 10-09-02, 10:02 PM   #2
mtrr
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 234
Send a message via ICQ to mtrr
Default

search through this forum, that'll help.

but in short:

install kernel sources, after that download the glx and kernel-driver form the nvidia driver page,
untar them cd to the newly built directories and issue "make"

cheers


ps: the kernel-sources are on CD #3
mtrr is offline   Reply With Quote
Old 10-10-02, 05:02 AM   #3
Mark_J
Guest
 
Posts: n/a
Cool more indepth for ppl like me who need a bit more explanation!

The 2 files you will need from the nVidia site are:
NVIDIA_kernel-1.0-3123.tar.gz
and
NVIDIA_GLX-1.0-3123.tar.gz

And once youve installed the kernal sources.

now open a root console and goto where you have downloaded your NVidia tar files and type in the following: (without the $ obviously! hehe)

$ tar xvzf NVIDIA_kernel.tar.gz
$ tar xvzf NVIDIA_GLX.tar.gz
$ cd NVIDIA_kernel
$ make install
$ cd ../NVIDIA_GLX
$ make install

Once thats done, check your XF86Config-4 file (from your root console type in: kedit /etc/X11/XF86Config-4)
and change the following:

Driver "nv"
to:
Driver "nvidia"

n the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"

Load "GLcore"

Save the file (hope you was in root mode! hehe...)
then restart your X server and you should see the nVidia screen pop up etc! and VIOLA! acceleration is yours!

It worked for me, so it should work for anyone!
  Reply With Quote
Old 10-10-02, 08:57 AM   #4
jnd3
Sword Saint
 
jnd3's Avatar
 
Join Date: Jul 2002
Location: Alpharetta, GA USA
Posts: 465
Send a message via AIM to jnd3 Send a message via Yahoo to jnd3
Default

I found that it actually worked quite well for me using the RPM method...

1) Dowload the following files:
NVIDIA_GLX-1.0-3123.i386.rpm
NVIDIA_kernel-1.0-3123.src.rpm

2) Issue the following commands (as root, of course)
$ rpm --rebuild NVIDIA_kernel-1.0-3123.src.rpm
$ rpm -ivh /usr/src/RPM/RPMS/i386/NVIDIA_kernel-1.0-3123.i386.rpm (I think that's the right directory)
$ rpm -ivh NVIDIA_GLX.i386.rpm

Then modify your XF86Config-4 as in the previous post. It worked great on my system! Now if I could just get that Linksys Wireless USB adapter to work...

Cheers,
JND
jnd3 is offline   Reply With Quote
Old 10-10-02, 01:30 PM   #5
m.watkins
Guest
 
Posts: n/a
Default

I tried the rpm method and when I tried

$rpm -ivh NVIDIA_GLX.i386.rpm

I had an error of

error: failed dependencies
NVIDIA_kernel is needed by NVIDIA_GLX.i386.rpm

Can anyone help out with a solution?

Many thanks
Mark Watkins
  Reply With Quote
Old 10-10-02, 01:31 PM   #6
danocars
Registered User
 
Join Date: Oct 2002
Posts: 6
Default Upload Kernel RPM that you build.

Could someone that is running Mandrake 9.0 please upload / link to their NVIDIA_Kernel RPM that they build using the src.rpm file.


I am having the worst luck getting the file to rebuild it ends crashing and outputs a core dump thing.

I then tried the tar file and I unpack it and get a nv.c file and an error message and then I run "make install" and it outputs a variety of error messages.

The Mandrake kernel sources are installed so that is not the problem, I'm stuck and I want to play Unreal Tournament 2003!

Please help, it will only take you a second to do it.

Thanks,
__________________
Athlon XP 2100+ running on a
MSI K7T266 PRO 2 Mboard with a
G-Force 2 MX400 64 Meg
Linux Unreal Tournament 2003 install is on disk 3 of the Windows pack!
RTCW: to install download and run
wolf-linux-1.33.x86.run and follow directions in the readme. You need a retail version also to copy the maps to linux.
Play games, have fun.
danocars is offline   Reply With Quote
Old 10-10-02, 02:44 PM   #7
Webgraph
Registered User
 
Join Date: Oct 2002
Posts: 19
Default

No need for the Mandrake 9,0 RPM's. Just download the tarballs and install them, like in Mark_J's post. Also, follow his method with the XF86Config file. But if the X server doesn't load up automatically, type the following commands after logging in as root:

#cd /usr/X11R6/lib
#ln -s /usr/lib/libGL.so libGL.so.1.2 && ln -s libGL.so.1.2 libGL.so
#/sbin/ldconfig
#reboot

This will reboot your system and the X server login should be displayed. I had that problem, but fixed er thanks to the helpful peeps in here!
__________________
Webgraph
robnet10@mail.com
Webgraph is offline   Reply With Quote
Old 10-10-02, 03:14 PM   #8
jnd3
Sword Saint
 
jnd3's Avatar
 
Join Date: Jul 2002
Location: Alpharetta, GA USA
Posts: 465
Send a message via AIM to jnd3 Send a message via Yahoo to jnd3
Default

Quote:
Originally posted by m.watkins
I tried the rpm method and when I tried

$rpm -ivh NVIDIA_GLX.i386.rpm

I had an error of

error: failed dependencies
NVIDIA_kernel is needed by NVIDIA_GLX.i386.rpm

Can anyone help out with a solution?

Many thanks
Mark Watkins
Did you rpm install the NVIDIA_kernel file first? You need to do that before you can do the GLX file...see my post above yours for the order. If you DID do that, what were the errors you got when installing the kernel (since that's the only way GLX should fail)...?

Cheers,
JND
jnd3 is offline   Reply With Quote

Old 10-10-02, 04:23 PM   #9
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: Upload Kernel RPM that you build.

Quote:
Originally posted by danocars
I then tried the tar file and I unpack it and get a nv.c file and an error message and then I run "make install" and it outputs a variety of error messages.
Did you get an error trying to unpack the .tar.gz file? What was it?

Post the errors you were getting, it will help a lot.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 10-10-02, 05:47 PM   #10
bofh1971
FX5900LE,2600+Barton,1GB
 
Join Date: Oct 2002
Location: UK
Posts: 28
Thumbs up Setup in mandrake 9

I did the install from tarballs just last night.

firstly I checked that the Kernel headers were installed (looked in kpackage and went down the list)

then I quit x-windows and went to prompt

logged in as root
went to the dir where I had downloaded the files

then did

tar -zxf NVIDIA_kernel.......

then

tar -zxf NVIDIA_GLX....

glx is to be done second for dependancies

cd to folder created NVIDIA_kernel....

make install

then cd to other folder

NVIDIA_GLX....

and I could only run make there
make install errored out

make seemed to work fine and I now have nvidia drivers running

also earlier in the post the changes for enabling glx and nv to nvidia are to be done for this to work

hope that helped

BOFH1971
bofh1971 is offline   Reply With Quote
Old 10-10-02, 06:34 PM   #11
IsudaMorg
Guest
 
Posts: n/a
Default @jnd3 + Mark-J

i tried both, the tar and rpm method.

tar: make install on kernel sais something 'bout a wrong compiler version and suggests me to override that check by setting "IGNORE_CC_SOMEWHAT"

rpm:
nothing happens with the kernel.i386.rpm. it displays 100% progress without any error messages, but if i try to install the GLX
i get the same error:

$rpm -ivh NVIDIA_GLX.i386.rpm

error: failed dependencies
NVIDIA_kernel is needed by NVIDIA_GLX.i386.rpm

if i try "$ rpm --rebuild NVIDIA_kernel-1.0-3123.src.rpm" it complains about a non existing directory (i don't remember which one)

really frustrating thing...i'm completely new to linux, and have no clue about where to look for the solutions. i'd be glad if someone could help me out here.
  Reply With Quote
Old 10-11-02, 05:02 AM   #12
hyperclock
Registered User
 
hyperclock's Avatar
 
Join Date: Sep 2002
Location: Germany
Posts: 6
Send a message via ICQ to hyperclock
Talking THE KERNEL RPM

If you can't make the rpm or know how -------- I can mail it.

hyperclock@netscape.net
hyperclock is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Showcases GPU Breakthroughs at IBC 2012 News Archived News Items 0 09-07-12 10:10 AM
The Nvidia Forums Are Still Not Available, Finally We Know Why News Archived News Items 0 07-14-12 05:10 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Mandrake 9 and nVidia drivers HunterA3 NVIDIA Linux 9 10-09-02 02:54 AM
Problems with Mandrake and NVidia drivers..... xMonoxide187x NVIDIA Linux 2 08-22-02 01:55 PM

All times are GMT -5. The time now is 06:16 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.