View Single Post
Old 09-18-02, 07:26 PM   #13
Registered User
Join Date: Aug 2002
Location: mallorca
Posts: 65
Default better to begin from beginning

Originally posted by soomon
one GLX file:
GLX RPM NVIDIA_GLX-1.0-2960.i386.rpm
this kernel:
and the kernel source rpm:

I always used a fresh installation so i used
rpm -ivh NVIDIA_kernel-1.0-2960.src.rpm - no problem
rpm -ivh NVIDIA_kernel-1.0-2960.mdk82up.i586.rpm - error:
modprobe: can't initialize the NVdriver kernel module
install completed successfully!
ironic, isn't it?
The GLX package produces no problem.
But the X-server:

NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) (--) NVIDIA(0): Linear framebuffer at 0xC0000000 (--)
NVIDIA(0): MMIO registers at 0xCE000000
NVIDIA(0): Failed to initialize the NVdriver kernel module! (EE)
NVIDIA(0): *** Aborting *** (II)
First, I don't know why you use Nvidia-kernel-src and rpm
if you don't have a fresh install, have changed your kernel, have compiled your kernel, use src.rpm.

do this:
1: rpm -qa | grep NV
if any source is installed, remove it

2: rpm -e NVIDIA_kernel NVIDIA_GLX

when you have all removed

3: install both files (if you have a fresh install, if updated or changed kernel,go pass 3a)
rpm -ihv GLX RPM NVIDIA_GLX-1.0-2960.i386.rpm NVIDIA_kernel-1.0-2960.mdk82up.i586.rpm

3a: for a custom kernel, or upgraded kernel, do this:
rpmbuild --rebuild NVIDIA_kernel-1.0-2960.src.rpm
and then, install it from (/usr/src/RPMS/RPMS/ix86 )
find it with
find /usr/src -iname "NVIDIA_kernel*"

install as 3, but use your compiled NVIDIA_kernel from /usr/src....

4: check your /etc/config.modules
or /etc/modules.conf ( I don't remember which file uses Mandrake)
and check for line containing: ( add if necesary)
alias char-major-195 NVdriver

5: try manually if NVIDIA is installed
/sbin/depmod -a; "this verifies modules"
/sbin/modprobe NVdriver ; "this try to load module"
cat /proc/modules | grep NV
if nothing, is not installed (go to 2, and repeat looking for errors..)

6: edit your /etc/X11/XF86Config-4
and change in Section "device"
Driver "nv" to Driver "nvidia"

To have 3D acceleration, you need to add this line in Section "module"
Load "glx"
and remove
Load "GLcore"
and remove
Load "dri"

Check my config, as an example: Search IMPORTANT, for changes I did


Save changes, and reboot your Xserver.

Good Luck

Last edited by utiel; 09-18-02 at 07:34 PM.
utiel is offline   Reply With Quote