Jump to content

NVIDIA Drivers


Jas
 Share

Recommended Posts

edited my X config file, went to init 3, went as su, did sh nvidia.....blah..blah... and got:

 

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
  ke the installer to attempt to download a kernel interface for your kernel f
  rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
  this means that the installer will need to compile a kernel interface for
  your kernel.
ERROR: Unable to find the kernel source tree for the currently running kernel. 
      Please make sure you have installed the kernel source files for your
      kernel; on Red Hat Linux systems, for example, be sure you have the
      'kernel-source' rpm installed.  If you know the correct kernel source
      files are installed, you may specify the kernel source path with the
      '--kernel-source-path' commandline option.
ERROR: Installation has failed.  Please see the file
      '/var/log/nvidia-installer.log' for details.  You may find suggestions
      on fixing installation problems in the README available on the Linux
      driver download page at www.nvidia.com.

 

I remember i got like the exact same thing when i was running 10.1 Community like 6 months ago or something, and now the exact same thing, what do i do :hanged::speechless:

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

well, i just did urpmi kernel-source, that worked out fine, but now theres ANOTHER problem..

 

-> Kernel source path: '/usr/src/linux'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
        a loadable kernel module.
        
        The rivafb driver conflicts with the NVIDIA driver; the
        NVIDIA kernel module will still be built and installed,
        but be aware that the NVIDIA driver will not be able to
        function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
  executing: 'cd ./usr/src/nv; make clean'...
  rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_comp
  iler.h *.d NVdriver nvidia.o
-> Building kernel module:
  executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
  rc/linux'...
  Your kernel was configured to include rivafb support as
  a loadable kernel module.
  
  The rivafb driver conflicts with the NVIDIA driver; the
  NVIDIA kernel module will still be built and installed,
  but be aware that the NVIDIA driver will not be able to
  function properly if the rivafb module is loaded!
  
  *** Failed rivafb module sanity check, but continuing! ***
  
  echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT
  64_OK   -DNVCPU_X86      -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
  NT -DNV_PCI_DISABLE_DEVICE_PRESENT  -I. -I/usr/src/linux/include -Wno-cast-q
  ual -Wno-error nv.c
  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT
  64_OK   -DNVCPU_X86      -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
  NT -DNV_PCI_DISABLE_DEVICE_PRESENT  -I. -I/usr/src/linux/include -Wno-cast-q
  ual -Wno-error nv-vm.c
  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT
  64_OK   -DNVCPU_X86      -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
  NT -DNV_PCI_DISABLE_DEVICE_PRESENT  -I. -I/usr/src/
  linux/include -Wno-cast-qual -Wno-error os-agp.c
  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT
  64_OK   -DNVCPU_X86      -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
  NT -DNV_PCI_DISABLE_DEVICE_PRESENT  -I. -I/usr/src/linux/include -Wno-cast-q
  ual -Wno-error os-interface.c
  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT
  64_OK   -DNVCPU_X86      -DNV_REM
  AP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESEN
  T  -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-registry.c
  ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o 
  ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'.  This is most likely
      because the kernel module was built using the wrong kernel source files.
      Please make sure you have installed the kernel source files for your
      kernel; on Red Hat Linux systems, for example, be sure you have the
      'kernel-source' rpm installed.  If you know the correct kernel source
      files are installed, you may specify the kernel source path with the
      '--kernel-source-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o':
  -1 Invalid module format
-> Kernel messages:
  bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377
  bytes, v3).
  bootsplash: status on console 4 changed to on
  bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377
  bytes, v3).
  bootsplash: status on console 5 changed to on
  No module found in object

 

no idea what to do from here. :wall:

Link to comment
Share on other sites

Looks like you have the wrong kernel-source package. Mandrake comes with a few different kernels, and a source package for each of them.

 

If you're using the default Mandrake kernel, you need the kernel-source-2.6 package. Just make sure you don't have the multimedia kernel source, the stripped source, or the 2.4 kernel source installed.

 

You can use urpmi -y kernel-source to see the available choices, or use the RPMdrake GUI.

Link to comment
Share on other sites

aha! ^_^ got that installed, now i read to test the 3-D acceleration, you type "glxgears" into konsole, it was working before, but now i get the error:

Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

 

thanks for all of your help :) :D

 

edit: i just tried this o_O whats wrong? is it in my X config file?

 

[jas@localhost jas]$ glxinfo | grep direct
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".

 

edit -

***** FIXED. B)

Edited by Jas
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...