LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Driver: Nvidia geforce4 mx440 (http://www.linuxquestions.org/questions/linux-desktop-74/driver-nvidia-geforce4-mx440-647661/)

degonto 06-07-2008 01:00 PM

Driver: Nvidia geforce4 mx440
 
I have 'Nvidia geforce4 mx440' with 15inc' 'SyncMaster551s' monitor. I can't find any driver for my 'Fedora Core 8'.Can any one help me where this driver found and how to setup that, please....I tried 96.43.06 version from Nvidia web. using 'init 3' from root and 'sh FILENAME'. but it says carnel dont match.... bla ba bla... what can i do??? plz

Nylex 06-07-2008 01:08 PM

You should be able to use the open source NVIDIA driver, "nv". You should probably run xorgconfig to automatically generate an X config file for you (or use Fedora specific programs, if there are any).

If you want to use NVIDIA's driver, then I suggest you post error messages because it's difficult to help you unless we know exactly what the problem is.

i92guboj 06-07-2008 06:13 PM

The 1.0-96xx driver series is ok for his GPU. The problem is that there's probably a mismatch between the kernel part and the X part of the driver. If you are going to install the driver manually because your distro doesn't give support for legacy GPUs (bad on it's side), first make sure that you uninstall anything related to the propietary nvidia drivers that you installed using your distro package management.

After that, you need to make sure that you the the sources for your kernel, otherwise you will not be able to compile the drivers. Note that you might need to recompile your kernel, because the driver and the kernel needs to be compiled with the same gcc version.

There's probably a howto around somewhere for your distro. I don't know much about fedora.

The generic procedure would be:
  1. Pick a correct driver for your gpu from the nvidia site (1.0-96xx)
  2. Install the sources for your kernel, the same exact version, use uname -r to see what kernel are you running
  3. Copy /proc/config.gz to the location where you installed the sources, usually somewhere under /usr/src
  4. go to the dir where the kernel sources reside, and where you just copied config.gz, and gunzip it
  5. rename "config" to ".config"
  6. make oldconfig
  7. make
  8. go the directory where you stored the driver you just downloaded
  9. run the installer
  10. modprobe nvidia
  11. configure xorg.conf if you haven't already
  12. startx

That's the basic procedure. Again, note that you need to compile the driver against the same kernel you are using. Double check the info from uname -r and use the same kernel. when launching the installer, at the beginning it will make some checks and will output the kernel that it was able to locate, check that that info is consistent, and that the kernel it is compiling against is the one you want. Otherwise, it will not work.

Also, when doing the modprobe part, make sure it outputs no errors, and, after the modprobe, use dmesg to check that the output is normal and that the driver loaded. If something fails or you have a doubt, ask and do it step by step. All the steps are necessary and there's no way you will get this working unless you are willing to complete the process.

You can also, as someone said, use the nv driver. Though the performance is not so good, nor even in 2d.

jiml8 06-07-2008 08:52 PM

I have in the past successfully compiled and installed kernel drivers (including nvidia drivers) using a different gcc than that which was used to compile the kernel.

I do not believe in most circumstances that the same version of gcc need be used.

i92guboj 06-07-2008 09:12 PM

Quote:

Originally Posted by jiml8 (Post 3177942)
I have in the past successfully compiled and installed kernel drivers (including nvidia drivers) using a different gcc than that which was used to compile the kernel.

I do not believe in most circumstances that the same version of gcc need be used.

True. It was an oversimplification to avoid some trouble and a longer explanation which would have scared him even more. Truly, all should be ok in which regards the linux kernel module loader, as long as the vermagic field matches this of the kernel (binary compatibility is another thing).

For example, mine would be:

Code:

# modinfo nvidia -F vermagic
2.6.25.4 preempt mod_unload


jiml8 06-08-2008 02:02 PM

Quote:

Originally Posted by i92guboj (Post 3177950)
True. It was an oversimplification to avoid some trouble and a longer explanation which would have scared him even more.

No, it was just plain inaccurate.

There might be a possibility of binary incompatibility going from one major release of gcc to another, but within major releases I would not expect that kind of problem to appear.

Stating that the same gcc is necessary could send the OP on a major excursion, when such a thing is completely unnecessary.

degonto 06-10-2008 01:53 AM

thanks for all u replays.. but i am very beginner about fedora. so its hard to understand what ur talking about.

i download this driver from nvidia & try this way:
[root@localhost ~]# init 3

in X window using root:
[root@localhost ~]# sh drivername.run

something going on...... select accept,it shows some massege that kanel not support.....
it says open this file where i find report:its bellow...


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jun 10 12:37:16 2008

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
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 and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line 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.


==> so any one help me out plz....

Nylex 06-10-2008 01:59 AM

Did you actually read the error messages? You need to check whether or not you have the kernel source and kernel headers (aka "devel") packages installed. I believe you can do this with yum, so you may want to read this.

degonto 06-12-2008 10:07 PM

using upgrade Linux karnel---
$yum install karnel

this error massage comes when installing my AGP driver....
my karnel is V2.6.25.4.10 for i368

********************************************************
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Jun 13 08:58:38 2008

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.25.4-10.fc8/source'
-> Kernel output path: '/lib/modules/2.6.25.4-10.fc8/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.25.4-10.fc8
/source SYSOUT=/lib/modules/2.6.25.4-10.fc8/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.25.4-10.fc8/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.25.4-10.fc8/source SUBDIRS=/tmp/selfgz2964/NVIDIA-Linux-
x86-96.43.05-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.25.4-10.fc8/build \
KBUILD_SRC=/usr/src/kernels/2.6.25.4-10.fc8-i686 \
KBUILD_EXTMOD="/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv" -
f /usr/src/kernels/2.6.25.4-10.fc8-i686/Makefile \
modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_vers
ions ; rm -f /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_
versions/*
make -f /usr/src/kernels/2.6.25.4-10.fc8-i686/scripts/Makefile.build obj=/tm
p/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KERN
EL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.25.4-10.fc8-i686/include -i
nclude include/linux/autoconf.h -I/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05
-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-
protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stac
k-boundary=2 -march=i686 -mtune=generic -mtune=generic -ffreestanding -DCONF
IG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asyn
chronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/ker
nels/2.6.25.4-10.fc8-i686/include/asm-x86/mach-generic -Iinclude/asm-x86/mac
h-generic -I/usr/src/kernels/2.6.25.4-10.fc8-i686/include/asm-x86/mach-defau
lt -Iinclude/asm-x86/mach-default -fno-omit-frame-poi
nter -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-point
er-sign -I/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-
error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING
=\"96.43.05\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBU
ILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /t
mp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.o /tmp/selfgz2964
/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:9,
from include/linux/preempt.h:12,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:30,
from include/linux/time.h:9,
from include/linux/timex.h:58,
from include/linux/sched.h:55,
from include/linux/utsname.h:36,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-linux.h:20,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/asm/dma-mapping_32.h:6,
from include/asm/dma-mapping.h:3,
from include/linux/dma-mapping.h:53,
from include/asm-generic/pci-dma-compat.h:8,
from include/asm/pci.h:91,
from include/linux/pci.h:946,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-linux.h:86,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv.c:15:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-linux.h:109,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function
‘__nv_setup_pat_entries’:
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:833: warning:
comparison between signed and unsigned
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function
‘__nv_restore_pat_entries’:
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:859: warning:
comparison between signed and unsigned
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_cpu_callback’:
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1170: warning
: comparison between signed and unsigned
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1177: warning
: comparison between signed and unsigned
cc -Wp,-MD,/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__K
ERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.25.4-10.fc8-i686/include
-include include/linux/autoconf.h -I/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.
05-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-dec
laration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct
-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=gener
ic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wn
o-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -
mno-3dnow -I/usr/src/kernels/2.6.25.4-10.fc8-i686/include/asm-x86/mach-gener
ic -Iinclude/asm-x86/mach-generic -I/usr/src/kernels/2.6.25.4-10.fc8-i686/in
clude/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fno-omit-frame-po
inter -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-poin
ter-sign -I/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv -Wall
-Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno
-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRIN
G=\"96.43.05\" -UDEBUG -U_DEBUG -DND
EBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D
"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2964/NVIDIA-Linux-x86-9
6.43.05-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pk
g1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:9,
from include/linux/preempt.h:12,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:30,
from include/linux/time.h:9,
from include/linux/timex.h:58,
from include/linux/sched.h:55,
from include/linux/utsname.h:36,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-linux.h:20,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-vm.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/asm/dma-mapping_32.h:6,
from include/asm/dma-mapping.h:3,
from include/linux/dma-mapping.h:53,
from include/asm-generic/pci-dma-compat.h:8,
from include/asm/pci.h:91,
from include/linux/pci.h:946,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-linux.h:86,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-vm.c:15:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-linux.h:109,
from /tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv/nv-vm.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c: In functi
on ‘nv_flush_caches’:
/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c:363: error
: implicit declaration of function ‘global_flush_tlb’
make[4]: *** [/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-v
m.o] Error 1
make[3]: *** [_module_/tmp/selfgz2964/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
/nv] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
******************************************************************************
what can i do, please help

Nylex 06-15-2008 03:09 PM

I'm not actually sure about this. Perhaps you should ask on Nvidia's forums.

bouser 06-27-2008 02:46 PM

re: Driver: Nvidia geforce4 mx440
 
Hi,

For kernel > 2.6.25 you need patch nvidia drivers.

bouser 06-27-2008 02:47 PM

re:
 
You could use this patch, but they as-is

http://www.nvnews.net/vbulletin/showthread.php?t=110088


All times are GMT -5. The time now is 11:28 AM.