mambazo
11-14-02, 12:12 AM
I just happened to come upon these forums, and it seems that people have been having trouble getting the NVidia drivers to work on their Mandrake 9.0 system. I didn't have any problems whatsoever, so I thought I'd write a quick HOWTO on what I did.
After installing a stock Mandrake 9.0 system, including all the security updates, I made sure X was configured properly, using the drak tools. After I made sure everything was working. I downloaded the two source rpm's from the website.
NVIDIA_GLX-1.0-3123.src.rpm
NVIDIA_kernel-1.0-3123.src.rpm
I made sure the kernel-sources rpm was installed. Then I did
rpm --rebuild NVIDIA_GLX-1.0-3123.src.rpm
rpm --rebuild NVIDIA_kernel-1.0-3123.src.rpm
which produced in /usr/src/RPM/RPMS/i586
NVIDIA_GLX-1.0-3123.i586.rpm
NVIDIA_kernel-1.0-3123.i586.rpm
(It will be in a different directory if your system is different.) Then i just installed them using
rpm -ivh NVIDIA_GLX-1.0-3123.i586.rpm NVIDIA_kernel-1.0-3123.i586.rpm
(one command). Note it will complain that some files are already on the system that may conflict, and will be renamed. Don't worry. It's just making sure the default GL drivers that come with XFree86 don't conflict with the NV ones. If you uninstall the NV rpms, it restores the XFree86 ones perfectly.
Finally, i made sure that my modules.conf was modified correctly. (The following line should be added)
alias /dev/nvidia* NVdriver
I forget whether I did the last step manually or it was done for me. Inside the /etc/X11/XF86Config-4 file, I changed one line as follows:
#Driver "nv"
Driver "nvidia"
Then I restarted X by logging out, logging into a virtual terminal as root, and doing
init 3; init 5
(If you aren't in runlevel 5, then no need to do the above. Just startx).
It works great! The NVidia logo flashes before your desktop system loads.
Final Note: If you are having trouble compiling the source rpm's, you can download mine as follows:
http://www.ugcs.caltech.edu/~loban/scratch/nvidia/NVIDIA_GLX-1.0-3123.i586.rpm
http://www.ugcs.caltech.edu/~loban/scratch/nvidia/NVIDIA_kernel-1.0-3123.i586.rpm
Cheers,
Loban
After installing a stock Mandrake 9.0 system, including all the security updates, I made sure X was configured properly, using the drak tools. After I made sure everything was working. I downloaded the two source rpm's from the website.
NVIDIA_GLX-1.0-3123.src.rpm
NVIDIA_kernel-1.0-3123.src.rpm
I made sure the kernel-sources rpm was installed. Then I did
rpm --rebuild NVIDIA_GLX-1.0-3123.src.rpm
rpm --rebuild NVIDIA_kernel-1.0-3123.src.rpm
which produced in /usr/src/RPM/RPMS/i586
NVIDIA_GLX-1.0-3123.i586.rpm
NVIDIA_kernel-1.0-3123.i586.rpm
(It will be in a different directory if your system is different.) Then i just installed them using
rpm -ivh NVIDIA_GLX-1.0-3123.i586.rpm NVIDIA_kernel-1.0-3123.i586.rpm
(one command). Note it will complain that some files are already on the system that may conflict, and will be renamed. Don't worry. It's just making sure the default GL drivers that come with XFree86 don't conflict with the NV ones. If you uninstall the NV rpms, it restores the XFree86 ones perfectly.
Finally, i made sure that my modules.conf was modified correctly. (The following line should be added)
alias /dev/nvidia* NVdriver
I forget whether I did the last step manually or it was done for me. Inside the /etc/X11/XF86Config-4 file, I changed one line as follows:
#Driver "nv"
Driver "nvidia"
Then I restarted X by logging out, logging into a virtual terminal as root, and doing
init 3; init 5
(If you aren't in runlevel 5, then no need to do the above. Just startx).
It works great! The NVidia logo flashes before your desktop system loads.
Final Note: If you are having trouble compiling the source rpm's, you can download mine as follows:
http://www.ugcs.caltech.edu/~loban/scratch/nvidia/NVIDIA_GLX-1.0-3123.i586.rpm
http://www.ugcs.caltech.edu/~loban/scratch/nvidia/NVIDIA_kernel-1.0-3123.i586.rpm
Cheers,
Loban