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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-12-02, 08:00 AM   #1
Rob C.
Guest
 
Posts: n/a
Lightbulb Unofficial nVidia HOWTO [RPM version]

I am no expert but with the help of some great people in this forum I was able to get up and running. My one complaint would be the information is spread out and possibly hard for some to find. Hopefully this general method will bring others success.

The first mistake I made was downloading the wrong NVIDIA_kernel package. Luckily nVidia created a script to help you get the proper kernel package. Download this before downloading anything else and save yourself some time.

NVchooser.sh

I assume you now have the proper NVIDIA_kernel and NVIDIA_GLX files. Are you upgrading or doing a new install?

rpm -q NVIDIA_kernel

If you are upgrading you must blow out the old... nVidia reports an issue in the script that deletes files that shouldn't be if you use rpm -e so they recommend rpm -Uvh.

Upgrading
rpm -Uvh NVIDIA_kernel.version.rpm
rpm -e NVIDIA_GLX.version.rpm
rpm -ivh NVIDIA_GLX.version.rpm

First Install
rpm -ivh NVIDIA_kernel.version.rpm
rpm -ivh NVIDIA_GLX.version.rpm

Some may argue this step is not needed but it is what worked for me. I mainly did this step because my screen wasn't properly aligned and xvidtune wasn't helping... This should make your config more compatible so I would include this step in your install.

XFree86 -configure

It will spit out a config to /root/XF86Config.new

***NOTE I have a USB keyboard and mouse and it didn't work with this new config so I copied the stuff from my old and added to this new config.
Delete the old configs
rm /etc/X11/XF86Config*
Then move over the new one.
mv /root/XF86Config.new /etc/X11/XF86Config-4
Now to edit your config.
vi /etc/X11/XF86Config-4
Edit out the following [Module section]
Load "GLcore"# OpenGL support
Load "dri"# Direct rendering infrastructure
Add the following [Module section]
Load "glx"
In the nVidia instructions it instructs you to remove some drivers and add "nvidia" as the driver. If you used the -configure command above it will all be done for you. However you can still edit your Modes and depth.

Here is an example...
Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4 (generic)"
Monitor "Envision"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection

Ok now you are done and you can startx..
If you have problems you have a few options.
You can download another script meant to test your setup.
nv_check.sh
Check your versions
$glxinfo
Test it out
$glxgears
Also you can search the forums... all this information is derived from content in these forums..

Enjoy and Good Luck!
  Reply With Quote
Old 08-12-02, 12:29 PM   #2
Rob C.
Guest
 
Posts: n/a
Lightbulb

Thank you Moderator
  Reply With Quote
Old 08-13-02, 04:01 AM   #3
Phlanx
Guest
 
Posts: n/a
Default

But what if $visitor likes to know how to build the sources?
  Reply With Quote
Old 08-13-02, 10:06 AM   #4
Rob C.
Guest
 
Posts: n/a
Default

Well this is geared for people looking to use the RPM(As the title clearly states). You are welcome to draw up a plan for the successfully installing the driver with the source packages.
  Reply With Quote
Old 08-14-02, 04:23 AM   #5
Phlanx
Guest
 
Posts: n/a
Default

true.
OK, here it comes:

wget http://download.nvidia.com/XFree86_4....0-2960.tar.gz
tar -zxf NVIDIA_kernel-1.0-2960.tar.gz
cd NVIDIA_kernel-1.0-2960; make all

wget http://download.nvidia.com/XFree86_4....0-2960.tar.gz
tar -zxf NVIDIA_GLX-1.0-2960.tar.gz
cd NVIDIA_GLX-1.0-2960; make all

  Reply With Quote
Old 08-15-02, 02:47 AM   #6
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

That still isn't enough for compiling from source. Most people don't have the kernel headers installed or they get various other errors. (unresolved symbols, modversions.h ...)

For the use of source packages make sure you install the kernel-headers for your distro. If you get unresolved symbols it means you didn't use the headers designed for your kernel version.
If you get a modeversions.h error the kernel headers likely aren't installed. Look on the cd of your distro (or in case of debian: apt-cache search kernel-headers) for the kernel package you need. If you don't know the kernel version/name find it using "uname -r".
On most rpm based distros the needed kernel package is called (I think): kernel-headers(version).rpm
Thunderbird is offline   Reply With Quote
Old 08-15-02, 10:02 AM   #7
Rob C.
Guest
 
Posts: n/a
Default

Thunderbird,

Phlanx is just trying to push his method because he dislikes RPM installation which is fine.. what is sad is he was trying to interfere with what I was doing and then he posts sub-standard and very lacking instructions. So it is obvious he was trying to start trouble. If he really wanted to help he would have been more thorough.
  Reply With Quote
Old 08-16-02, 03:28 AM   #8
Phlanx
Guest
 
Posts: n/a
Default

"So it is obvious he was trying to start trouble."
wut?
Ok I'm leaving this forum




  Reply With Quote

Old 08-20-02, 08:15 AM   #9
kaarelcool
Guest
 
Posts: n/a
Default

Hi!

I'm using Mandrake 8.2 and had some problems,installing my
Geforce4 Ti4200 in.

1) The program called NVchooser.sh doesn't work in my computer.

2) The log file where I can look wich Xf86config file Linux is using(location was written in Nvidia readme) doesn't exist.

3) Can I use the Example file(Xf86configexpample) that comes with Detanators if I just change my monitor specifications? And
do I have to rename it to Xf86config or xf86config-4(the new one)

Anyway I really need some help and answers.

Thanks.
  Reply With Quote
Old 08-20-02, 11:19 AM   #10
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

1) To run that nvchooser stuff you need to do: sh NVChooser.sh in a console.

2) The drivers default to (/etc/X11/)XF86Config-4 if that doesn't exist it looks for XF86Config in that dir. (if that doesn't exist it looks in various other places but it is there) If you really want the logfile it is in /var/log it will be called something like xfree86.0.log

3) You can't use the example XF86Config file from the drivers because that one isn't meant for your system. The most important thing that isn't for your system are the monitor settings and some other things. So using it can be dangerous. Just edit your current XF86Config-4 file.
Thunderbird is offline   Reply With Quote
Old 08-21-02, 02:11 AM   #11
kaarelcool
Guest
 
Posts: n/a
Default

Thank you Thunderbird it was very clear and nice answer!!!

I'm trying again at the moment...
  Reply With Quote
Old 08-21-02, 02:20 AM   #12
kaarelcool
Guest
 
Posts: n/a
Default

One more question>>> If I change Hertz settings in xfconfig86-4
file then after restart it all works??(better refresh rate)
And if my monitor is 1024*768 100HZ what should be vertical
and horisontal Hz-s.Hope you can understand what I mean...
  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 Puts Tesla K20 GPU Coprocessor Through its Paces News Archived News Items 0 09-20-12 10:00 AM
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
NVidia Drivers HowTo for RedHat 8.0 needed eduardp NVIDIA Linux 10 10-04-02 03:59 AM

All times are GMT -5. The time now is 12:42 AM.


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