Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-27-10, 03:52 AM   #1
bofhenator
Registered User
 
Join Date: Feb 2010
Posts: 5
Default API Mismatch

Very strange problem.

Code:
magnus@pedersen-xps:~$ updatedb
magnus@pedersen-xps:~$ locate nvidia
/etc/OpenCL/vendors/nvidia.icd      
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/char/agp/nvidia-agp.ko
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/video/nvidia          
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/video/nvidia.ko       
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/video/backlight/mbp_nvidia_bl.ko
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/video/nvidia/nvidiafb.ko        
/usr/bin/nvidia-bug-report.sh                                                       
/usr/bin/nvidia-installer                                                           
/usr/bin/nvidia-settings                                                            
/usr/bin/nvidia-smi                                                                 
/usr/bin/nvidia-uninstall                                                           
/usr/bin/nvidia-xconfig                                                             
/usr/lib/libkwinnvidiahack.so.4                                                     
/usr/lib/libkwinnvidiahack.so.4.3.0                                                 
/usr/lib/libnvidia-cfg.so                                                           
/usr/lib/libnvidia-cfg.so.1                                                         
/usr/lib/libnvidia-cfg.so.195.36.08                                                 
/usr/lib/libnvidia-compiler.so
/usr/lib/libnvidia-compiler.so.1
/usr/lib/libnvidia-compiler.so.195.36.08
/usr/lib/libnvidia-tls.so.1
/usr/lib/libnvidia-tls.so.195.36.08
/usr/lib/libvdpau_nvidia.so
/usr/lib/directfb-1.2-0/gfxdrivers/libdirectfb_nvidia.so
/usr/lib/tls/libnvidia-tls.so.1
/usr/lib/tls/libnvidia-tls.so.195.36.08
/usr/lib/vdpau/libvdpau_nvidia.so.1
/usr/lib/vdpau/libvdpau_nvidia.so.195.36.08
/usr/lib/xorg/modules/libnvidia-wfb.so.1
/usr/lib/xorg/modules/libnvidia-wfb.so.195.36.08
/usr/lib/xorg/modules/drivers/nvidia_drv.so
/usr/share/applications/nvidia-settings.desktop
/usr/share/doc/NVIDIA_GLX-1.0/nvidia-settings.png
/usr/share/doc/NVIDIA_GLX-1.0/html/nvidiasettings.html
/usr/share/hal/fdi/information/10freedesktop/21-video-quirk-nvidia.fdi
/usr/share/man/man1/nvidia-installer.1.gz
/usr/share/man/man1/nvidia-settings.1.gz
/usr/share/man/man1/nvidia-smi.1.gz
/usr/share/man/man1/nvidia-xconfig.1.gz
/usr/share/modass/packages/nvidia-kernel-source
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/agp/nvidia.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/backlight/mbp/nvidia.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia/backlight.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia/i2c.h
/var/cache/modass/nvidia-kernel-legacy-96xx-source.avail_version
/var/cache/modass/nvidia-kernel-source.apt_policy
/var/cache/modass/nvidia-kernel-source.avail_version
/var/lib/nvidia
/var/log/nvidia-installer.log
But after an X start or reboot i stil get:

Code:
NVRM: API mismatch: the client has the version 195.36.08, but
NVRM: this kernel module has the version 195.36.03.  Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.
Where is the .03 version hiding?
bofhenator is offline   Reply With Quote
Old 02-27-10, 05:22 AM   #2
bofhenator
Registered User
 
Join Date: Feb 2010
Posts: 5
Default Re: API Mismatch

Installed .03 again and cinfirmed that it worked. Used nvidia-uninstall to remove it with and checked with locate:
Code:
pedersen-xps:/home/magnus# updatedb
pedersen-xps:/home/magnus# locate nvidia
/home/magnus/.nvidia-settings-rc
/home/magnus/Docs/tech-****/maskinlog/DELL/nvidia
/home/magnus/Docs/tech-****/maskinlog/XPS/nvidia
/home/magnus/bin/nvidiasettings.sh
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/char/agp/nvidia-agp.ko
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/video/nvidia
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/video/backlight/mbp_nvidia_bl.ko
/lib/modules/2.6.32-trunk-686-bigmem/kernel/drivers/video/nvidia/nvidiafb.ko
/usr/lib/libkwinnvidiahack.so.4
/usr/lib/libkwinnvidiahack.so.4.3.0
/usr/lib/directfb-1.2-0/gfxdrivers/libdirectfb_nvidia.so
/usr/share/hal/fdi/information/10freedesktop/21-video-quirk-nvidia.fdi
/usr/share/modass/packages/nvidia-kernel-source
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/agp/nvidia.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/backlight/mbp/nvidia.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia/backlight.h
/usr/src/linux-headers-2.6.32-trunk-686-bigmem/include/config/fb/nvidia/i2c.h
/var/cache/modass/nvidia-kernel-source.apt_policy
/var/cache/modass/nvidia-kernel-source.avail_version
/var/log/nvidia-installer.log
I then installed the new version and rebooted.

And I get this:
Code:
magnus@pedersen-xps:~$ dmesg | grep NVRM                         
[    2.218217] NVRM: loading NVIDIA UNIX x86 Kernel Module  195.36.03  Mon Feb  1 01:50:33 PST 2010
[   29.205181] NVRM: API mismatch: the client has the version 195.36.08, but                       
[   29.205185] NVRM: this kernel module has the version 195.36.03.  Please                         
[   29.205188] NVRM: make sure that this kernel module and all NVIDIA driver                       
[   29.205191] NVRM: components have the same version.
What am I doing wrong?
bofhenator is offline   Reply With Quote
Old 02-27-10, 11:35 AM   #3
NvFuchs
Registered Fox
 
NvFuchs's Avatar
 
Join Date: Oct 2007
Location: Confoederatio Helvetica
Posts: 530
Default Re: API Mismatch

Hello,

Please read the thread on how to install nvidia on popular distributions.

Probably there are some leftovers of a older driver, maybe installed with the package management of your distribution.

What distribution are you using, how did you install the drivers until now?

Fuchs
NvFuchs is offline   Reply With Quote
Old 02-28-10, 04:21 AM   #4
bofhenator
Registered User
 
Join Date: Feb 2010
Posts: 5
Default Re: API Mismatch

Quote:
Originally Posted by NvFuchs View Post
Hello,

Please read the thread on how to install nvidia on popular distributions.

Probably there are some leftovers of a older driver, maybe installed with the package management of your distribution.

What distribution are you using, how did you install the drivers until now?

Fuchs
I have been using nvidias drivers for some years now, I have always used the .run shell script from nvidia download-page. I'm using Debian testing and have been since woody was in testing. I have never used the debian packages (they are lagging to far behind the beta releases from nvidia). The .03 driver has been installed via the .run script. I have just installed .08 on my other PC without incident. So something is borked on the first machine. But where do I look for the remains on the .03 installation?
bofhenator is offline   Reply With Quote
Old 02-28-10, 05:37 AM   #5
towo|
Registered User
 
Join Date: Feb 2007
Posts: 113
Default Re: API Mismatch

Rebuild your initrd after installing the 08-driver, then your problem should gone.
towo| is offline   Reply With Quote
Old 02-28-10, 06:59 AM   #6
bofhenator
Registered User
 
Join Date: Feb 2010
Posts: 5
Default Re: API Mismatch

Quote:
Originally Posted by towo| View Post
Rebuild your initrd after installing the 08-driver, then your problem should gone.
Will try, thanks!
bofhenator is offline   Reply With Quote
Old 02-28-10, 07:15 AM   #7
bofhenator
Registered User
 
Join Date: Feb 2010
Posts: 5
Default Re: API Mismatch

Quote:
Originally Posted by bofhenator View Post
Will try, thanks!
It worked, thanks :-)
bofhenator is offline   Reply With Quote
Old 03-03-10, 09:13 PM   #8
UncleDeadley
Registered User
 
Join Date: Jul 2009
Posts: 3
Default Re: API Mismatch

I had this same problem. Also fixed with towo|'s suggestion. Towo|, how did you know this might/would work?

Thanks!
UncleDeadley is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:03 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.