Click to See Complete Forum and Search --> : A newbie Question


Nuke
09-04-2001, 05:49 PM
Hello, I am bran new to linux so i have really no idea how to do this. Im trying to get my Asus V7700 Geforce2 GTS working on a new install of Mandrake 8.1 beta 2. I downloaded the "Any RPM-based system with an upgraded / customized / non-default kernel" NVIDIA_GLX-1.0-1251.i386.rpm and NVIDIA_kernel-1.0-1251.src.rpm, but every time i run NVIDIA_GLX, from the console rpm program, it says something like "Need NVIDIA_kernel", which installed fine under "rpm -ivh ...". Does anyone know what im doing wrong or have the same problem?

PS: as far as drivers go ive also tried the Mandrake 8.0 versions but they dont work at all.

Nuke
09-04-2001, 09:03 PM
Ive read all the HOWTO's and FAQ's i have found and i cant find anything for this problem

Malakin
09-04-2001, 09:19 PM
The instructions say to install the kernel src.rpm file like this:

$ rpm --rebuild NVIDIA_kernel.src.rpm
$ rpm -ivh/path/to/rpms/RPMS/i386/NVIDIA_kernel.i386.rpm
$ rpm -ivh NVIDIA_GLX.i386.rpm

If this isn't how you installed it then you might want to read over the well written readme nvidia has provided: http://www.nvidia.com/view.asp?IO=linux_readme_install

As a side note to anyone reading this I see there are new nvidia linux drivers, the page hasn't been updated nor has the ftp server but the links are going to version 1512 on their web server, (the old version is 1251)

Nuke
09-04-2001, 09:35 PM
Hmmm that readme was very dence and i had a hard time trying to find out which instructions were for me. But thankyou i will try that.

Nuke
09-04-2001, 10:55 PM
rpm --rebuild does not work
there is a rebuilddb option that seems to do something but i dont know what. Anyway if i use rebuilddb then do the second step it works fine but when i try to rpm the NVIDIA_GLX file it gives me a "failed dependencies: NVIDIA_kernel is needed by NVIDIA_GLX-1.0-1251" This is the same problem i had earlier. What am i doing wrong?

Barre311
09-05-2001, 01:25 AM
Nuke-

Visit www.evil3d.net. (http://www.evil3d.net.) They have articles on loading drivers in Linux. The forums are very helpful as well.

Good luck.

Malakin
09-05-2001, 03:20 AM
I downloaded the newer version earlier today, I'll explain step by step how I did it. You might as well download the newer versions.

Download this file: http://www.nvidia.com/docs/lo/936/SUPP/NVIDIA_GLX-1.0-1512.i386.rpm

Download this file: http://www.nvidia.com/docs/lo/956/SUPP/NVIDIA_kernel-1.0-1512.tar.gz

Now log out of X and do the rest from the shell(command line).

If you have an nvidia driver loaded at this point you need to remove it.
"rmmod NVdriver"
If not don't worry about it.

Uncompress the kernel file with this command:
"tar xzf NVIDIA_kernel-1.0-1512.tar.gz"
then cd into the directory it just created
"cd *kernel*"
then issue the make command in that directory:
"make"
If there were no errors then "lsmod" should now show there is a driver called NVdriver in the list.

Now all you need to do is go to where you downloaded the GLX file and do this:
"rpm NVIDIA_GLX-1.0-1512.i386.rpm -U"

Now before you try something that you think might crash your computer it's a good idea to type "sync" which syncs your hard drive so if any data is waiting to be written it's done immediately.

Then just type "X", if it works then ctrl-alt-backspace to leave and now you can start X normally with "startx", Once you're back in X type "glx" at a terminal and it should say a bunch of nvidia stuff, now type "gears" and you should see some fast spinning gears. Now everything should be running fine you can move on to test Quake 3 or whatever you play.

If there's problems then either you didn't follow my instructions exactly, or your distro somehow makes something not work, or you need to check your /etc/X11/XF86Config-4 file and make sure you have:
Load "glx"
Driver "nvidia"
and that you don't have "Driver "nv"" or that it's at least commented out.

Nuke
09-05-2001, 01:26 PM
Thankyou very much for your help. I will try that.

Nuke
09-05-2001, 03:53 PM
When I run make in the kernel dir I get an error:
"/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source"

Aragorn
09-06-2001, 08:12 AM
Try this instead...

http://********linuxonline.com/omp/hardware2/nvidia_install.htm

Aragorn
Admin of GetLinuxOnline.Com

Nuke
09-06-2001, 05:44 PM
Non of the stuff in any of those guides works. Do you think my kernel needs updating?

thephreak6
09-06-2001, 08:32 PM
QUOTE] When I run make in the kernel dir I get an error:"/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source"[/QUOTE]
Try installing the kernel source, it should be on the 2nd cd or etc. and once thats installed it should work.

just run "rpmdrake"
and search for kernel-source

that should fix your problems installing the nvidia kernel.

this is exactly who I installed my nvidia drivers,
first go into the directory where you decompressed your Nvidia_kernel drivers, usually NVIDIA_kernel-X.X-XXXX/
type "make"
then that should fix that,
next go into your glx directory and do the same command.
that should install them perfectly.

If you install both of them, and it still doesn't work, download this "test" program and it will scan all your "X" files and see if anythings setup wrong. http://www.lokigames.com/~heimdall/nvidia/nv_check.sh
just type "sh nv_check.sh" in the directory you downloaded it too.

hope that helps

[ 06 September 2001: Message edited by: thephreak6 ]

Nuke
09-12-2001, 06:01 PM
When I try 'make' from the NVIDIA_kernel tar extract it says 'failed dependencies kernel-headers' When I try to install the kernel-headers with 'rpm -i ...' I get another 'failed dependencies ncurses-devel is needed by kernel-source-2.4.8-19mdk'. I found "ncurses-5.2-16mdk.i586.rpm" and tryed to install it but mandrake says its allready installed... Ive searched for a ncurses-devel but I found non on either cd... Were can i find this file?

Linuxcool
09-13-2001, 12:01 AM
Go to here (http://rpmfind.net/) and enter into the search box ' ncurses-devel ' and you'll get a list of them.