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
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-220.127.116.11.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-18.104.22.168.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
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:
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