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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-11-09, 12:32 PM   #1
younan1
Registered User
 
Join Date: Aug 2008
Posts: 10
Default Failed to initialize the Nvidia Kernel Module!

I have the geforce 7600 and I'm using Ubuntu 8.10. I had the 177 driver installed with no problems and decided to try out the new 180.22 driver.
I switched to another tty and stopped GDM. Then I ran the installer after giving it 777 permissions:
Code:
sudo sh ./NVIDIA-Linux-x86-180.22-pkg1.run
Installation looked fine, just like the others i've done, but after the reboot I got this message:
Code:
Failed to initialize the Nvidia Kernel Module!
Please ensure that there is a supported Nvidia GPU in this system and that the Nvidia device files have been created properly.
Please consult with the Nvidia README for details
***Aborting***
Screens found, but none have a usable configuration.
After this I can log in ok, but I don't believe I am running the nvidia driver.
Running glxinfo gives this:
Code:
 glxinfo
name of 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".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig

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".
Xlib:  extension "GLX" missing on display ":0.0".
2 GLXFBConfigs:
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Segmentation fault
But when I run lsmod:
Code:
 lsmod | grep nvidia
nvidia               6909268  0 
i2c_core               31892  2 nvidia,i2c_nforce2
nvidia_agp             14492  1 
agpgart                42184  2 nvidia,nvidia_agp
I tried to follow the instructions in this sticky, http://www.nvnews.net/vbulletin/showthread.php?t=46678, but when I execute
Code:
startx -- -logverbose 6
I get the same error and it fails to load. I've attached the /var/log/Xorg.0.log file.
So I proceeded with the nvidia-bug-report anyway and attached that log along with the installer log.
Here is my xorg.conf, if that helps
Code:
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection
There was some promising stuff on this thread:
http://www.nvnews.net/vbulletin/showthread.php?t=38398
Particularly the post by jmcqueen:
Quote:
/sbin/modprobe nvidia
cd /dev
cp -a nvidia* /etc/udev/devices
chown root.root /etc/udev/devices/nvidia*
logout
exit
But I believe these device files are not in the same place for my distro and I wasn't sure how to proceed. I searched for 'devices' in /etc and found none...

Someone please help! There is another thread on here talking about how awesome this new driver is, I want it!
Attached Files
File Type: log nvidia-installer.log (44.6 KB, 87 views)
File Type: log Xorg.0.log (40.9 KB, 102 views)
File Type: bz2 nvidia-bug-report.log.tar.bz2 (34.8 KB, 80 views)
younan1 is offline   Reply With Quote
Old 01-11-09, 01:05 PM   #2
logan
Registered User
 
Join Date: Aug 2002
Posts: 492
Default Re: Failed to initialize the Nvidia Kernel Module!

There's lots of different things happening in your bug report. Tons of errors in /var/log/messages about mismatches between 177.80->177.82, then 177.82->180.22. /proc/driver/nvidia/version also says you're using the kernel module from 177.82. The only Xorg config file I see in your bug report is xorg.conf.failsafe, which is configured to use the vesa driver.

I don't see anything in the log about failing to initialize the nvidia driver, but there is a message in the Xorg.0.log:
Quote:
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
I suggest you clean up your system and decide which way you want to go - Ubuntu's drivers or NVIDIA's drivers, then stick with one. I think the 180.x drivers are mostly beneficial for the GeForce 8 and beyond, so you may just want to stay with Ubuntu's drivers. Copy /etc/X11/xorg.conf.failsafe to /etc/X11/xorg.conf, change the Driver to nvidia, and start up X.
logan is offline   Reply With Quote
Old 01-11-09, 03:42 PM   #3
adam_12
Registered User
 
Join Date: Jul 2007
Posts: 2
Default Re: Failed to initialize the Nvidia Kernel Module!

paste output with

dmesg | grep NV
adam_12 is offline   Reply With Quote
Old 01-11-09, 05:21 PM   #4
alienexplorers
Registered User
 
alienexplorers's Avatar
 
Join Date: Feb 2007
Location: Hershey, PA, USA
Posts: 139
Default Re: Failed to initialize the Nvidia Kernel Module!

run:
Quote:
sudo nvidia-installer --uninstall
then run:
Quote:
restricted driver loader
and unload your 177.82 driver.
restart
then try reloading the 180.22 driver.
__________________
AMD K6-III 450 | 512 MB Mem | Dual 40 MB drives | Geforce FX5200 | Viewsonic VA703B monitor
alienexplorers is offline   Reply With Quote
Old 01-11-09, 06:01 PM   #5
younan1
Registered User
 
Join Date: Aug 2008
Posts: 10
Default Re: Failed to initialize the Nvidia Kernel Module!

Code:
dmesg | grep NV
[    0.000000]  BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
[    0.000000] ACPI: DSDT 3FFF30C0, 43E7 (r1 NVIDIA AWRDACPI     1000 MSFT  100000E)
[   13.041229] agpgart: Detected NVIDIA nForce2 chipset
[   16.802556] nvidia: module license 'NVIDIA' taints kernel.
[   17.522506] NVRM: loading NVIDIA UNIX x86 Kernel Module  177.82  Tue Nov  4 13:35:57 PST 2008
[   38.541722] NVRM: API mismatch: the client has the version 180.22, but
[   38.541724] NVRM: this kernel module has the version 177.82.  Please
[   38.541726] NVRM: make sure that this kernel module and all NVIDIA driver
[   38.541728] NVRM: components have the same version.
[   41.814972] NVRM: API mismatch: the client has the version 180.22, but
[   41.814976] NVRM: this kernel module has the version 177.82.  Please
[   41.814978] NVRM: make sure that this kernel module and all NVIDIA driver
[   41.814979] NVRM: components have the same version.
[   45.097586] NVRM: API mismatch: the client has the version 180.22, but
[   45.097589] NVRM: this kernel module has the version 177.82.  Please
[   45.097591] NVRM: make sure that this kernel module and all NVIDIA driver
[   45.097593] NVRM: components have the same version.
[ 3253.938963] NVRM: API mismatch: the client has the version 180.22, but
[ 3253.938967] NVRM: this kernel module has the version 177.82.  Please
[ 3253.938969] NVRM: make sure that this kernel module and all NVIDIA driver
[ 3253.938971] NVRM: components have the same version.
[ 3309.233134] NVRM: API mismatch: the client has the version 180.22, but
[ 3309.233138] NVRM: this kernel module has the version 177.82.  Please
[ 3309.233139] NVRM: make sure that this kernel module and all NVIDIA driver
[ 3309.233141] NVRM: components have the same version.
[ 3312.573589] NVRM: API mismatch: the client has the version 180.22, but
[ 3312.573593] NVRM: this kernel module has the version 177.82.  Please
[ 3312.573595] NVRM: make sure that this kernel module and all NVIDIA driver
[ 3312.573596] NVRM: components have the same version.
[ 3315.912936] NVRM: API mismatch: the client has the version 180.22, but
[ 3315.912940] NVRM: this kernel module has the version 177.82.  Please
[ 3315.912942] NVRM: make sure that this kernel module and all NVIDIA driver
[ 3315.912943] NVRM: components have the same version.
[ 3660.441265] NVRM: API mismatch: the client has the version 180.22, but
[ 3660.441269] NVRM: this kernel module has the version 177.82.  Please
[ 3660.441271] NVRM: make sure that this kernel module and all NVIDIA driver
[ 3660.441273] NVRM: components have the same version.
[ 3663.755760] NVRM: API mismatch: the client has the version 180.22, but
[ 3663.755764] NVRM: this kernel module has the version 177.82.  Please
[ 3663.755765] NVRM: make sure that this kernel module and all NVIDIA driver
[ 3663.755767] NVRM: components have the same version.
[ 3667.091358] NVRM: API mismatch: the client has the version 180.22, but
[ 3667.091362] NVRM: this kernel module has the version 177.82.  Please
[ 3667.091364] NVRM: make sure that this kernel module and all NVIDIA driver
[ 3667.091365] NVRM: components have the same version.
I'll try uninstalling like suggested.
Is that what everyone does when installing the new drivers? Did I just completely miss the memo? I guess I assumed the installer handles these thing neatly
younan1 is offline   Reply With Quote
Old 01-11-09, 06:05 PM   #6
younan1
Registered User
 
Join Date: Aug 2008
Posts: 10
Default Re: Failed to initialize the Nvidia Kernel Module!

Quote:
Originally Posted by logan View Post
I suggest you clean up your system and decide which way you want to go - Ubuntu's drivers or NVIDIA's drivers, then stick with one. I think the 180.x drivers are mostly beneficial for the GeForce 8 and beyond..
Other threads discuss improvements in 2d, firefox, flash plugin performance, none of these improvements will help me out?
younan1 is offline   Reply With Quote
Old 01-11-09, 06:37 PM   #7
younan1
Registered User
 
Join Date: Aug 2008
Posts: 10
Default Re: Failed to initialize the Nvidia Kernel Module!

ok ok, I the uninstaller, ran the restricted driver manager and deactivated the 177 driver (surprised it was running because i deactivated it before the last install), did dpkg-reconfigure xserver-xorg, rebooted, then installed again and everything looks in order now. The nvidia-settings utility reports the right driver version.

I guess you were right about this driver and my card; I don't see any improvements anywhere for me just yet, but maybe over time I'll notice it some more (if there are any benefits).
Actually seems like flash video is a bit slower...
younan1 is offline   Reply With Quote
Old 01-15-09, 10:06 PM   #8
nicknefarious
Registered User
 
Join Date: Jan 2009
Posts: 2
Default Re: Failed to initialize the Nvidia Kernel Module!

I thought I'd throw my hat in the ring here too...

I have been trying to install 180.22 on a Dell XPS M1530 - 8600GT - on Linux Ubuntu 64-bit. With the same problems as mentioned. I got the "failed to initialize Kernel module" error initially on reboot after installing. Install appeared successful from the NVidia install package end. After the first failed to initialize error I now get an error in the middle of boot with a few screens that will allow me to try to debug the error or to use the default configuration (Ubuntu drivers) and then the system boots in with these. When I try to trace the error sources I find that I come up with a missing "type 1". I think this was in the xorg.conf from memory.

As for improper uninstalling causing this problem - I downloaded Nvidia's 180.17 and installed it in exactly the same way (I didn't pre-uninstall anything). The installer package recognized previous drivers and initiated it's own uninstall routines and it installed perfectly first time - no glitches.

I still want to get 180.22 working so any help would be much appreciated.

Nick
nicknefarious is offline   Reply With Quote

Old 01-16-09, 03:35 AM   #9
pe1chl
Registered User
 
Join Date: Aug 2003
Posts: 1,026
Default Re: Failed to initialize the Nvidia Kernel Module!

Those problems usually are not in the NVIDIA drivers or their installation.
They are in the Ubuntu package management system.

You need to know how it works exactly before you can install the NVIDIA driver manually, or else Ubuntu will put back an old module for you and it will not work.
pe1chl 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 04:46 AM.


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