View Single Post
Old 09-15-02, 01:15 PM   #1
utiel
Registered User
 
Join Date: Aug 2002
Location: mallorca
Posts: 65
Default Red Hat null(limbo beta 3), guide to install Nvidia Drivers

Simply, but I think that can HELP to somebody:

I installed my Red Hat null, with Desktop option.

This option, doesn't install utils for development, and if We need some tools to compiling , we need to install them.

First, We download Nvidia packages, in src.rpm format

NVIDIA_GLX-1.0-3123.src.rpm NVIDIA_kernel-1.0-3123.src.rpm

then, we install some packages, if we didn't install them before.

rpm -i rpm-build-4.1-0.81.i386.rpm
rpm -i gcc-3.2-1.i386.rpm
rpm -i binutils-2.13.90.0.2-2.i386.rpm
rpm -i glibc-devel-2.2.90-24.i386.rpm
rpm -i glibc-kernheaders-2.4-7.20.i386.rpm
rpm -i kernel-source-2.4.18-11.i386.rpm

There are some RPM's we need install together.

rpm -i gcc-3.2-1.i386.rpm binutils-2.13.90.0.2-2.i386.rpm glibc-devel-2.2.90-24.i386.rpm glibc-kernheaders-2.4-7.20.i386.rpm

All at the same time.

With this tools, we are capable to compile Nvidia drivers.

copy Nvidia packages in /usr/src/redhat/SRPMS

from that directory, we make:

rpmbuild --rebuild NVIDIA_GLX-1.0-3123.src.rpm
rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm

now, our binaries RPMS, are in
/usr/src/redhat/RPMS/i386

and we install them with

rpm -i NVIDIA_GLX-1.0-3123.i386.rpm NVIDIA_kernel-1.0-3123.i386.rpm

Make some checks:

/etc/modules.conf must contain this line:
alias char-major-195 NVdriver

Nvidia Driver is installed
/sbin/modprobe NVdriver ( if it was loaded as module)

cat /proc/modules | grep NV

/home/uti# cat /proc/modules | grep NV
NVdriver 1149248 10


Finally, we edit /etc/X11/XF86Config

In Section "Module"
add Load "glx"
remove Load "GLcore"
remove Load "dri"

In Section "Device"
change Driver "nv"
to Driver "nvidia"

Check my File, as an example:
XF86Config

I think this is all.

try your system with startx ( if you are in runlevel 3) or go to level 1, and then level 3 or 5
~# init 1

and from init 1, write exit ( to default level )
or init 3, to test your new driver


Good Luck
utiel is offline   Reply With Quote