LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2010, 03:01 PM   #1
Mentallydull
LQ Newbie
 
Registered: Oct 2010
Posts: 27

Rep: Reputation: 0
Failed to load NVIDIA kernel module


Hello everyone,

So I just recently got my proprietary driver working yesterday (and enjoyed too many hours of Starcraft 2 afterwards) but today after I downloaded an Update Package and rebooted, it's telling me that it "Filed to load NVIDIA kernel module".

So now I'm back to square one, I had to restart in the lower graphics mode or whatever it's called prior to logging in.

When I go to System - Admin - Hardware Drivers, nothing shows up and it says no proprietary drivers are in use on this system.

When I try to change the resolution under System - Preferences - Monitors (since everything is so big) I get "It appears that your graphics driver does not support the necessary extensions to use this tool. Do you want to use your graphics driver vendor's tool instead?" I select "Yes" and I get "You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."

I'm a total loss here, I'm assuming something from the update package has caused everything to go haywire and I'm hoping that if/when I get this fixed I don't have to keep doing this fix every time I use the Update Manager.

I'm still fairly new to this whole Ubuntu thing, so any step-by-step instructions would be appreciated
 
Old 11-26-2010, 03:15 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I'm guessing here, but try this. In the terminal, run
Code:
sudo nvidia-xconfig
then logout, and login again. See if that works by running:
Code:
lsmod
That tells you what modules are loaded.

Last edited by brianL; 11-26-2010 at 03:19 PM.
 
Old 11-26-2010, 03:20 PM   #3
Mentallydull
LQ Newbie
 
Registered: Oct 2010
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brianL View Post
I'm guessing here, but try this. In the terminal, run
Code:
sudo nvidia-xconfig
then logout, and login again. See if that works by running:
Code:
lsmod
That tells you what modules are loaded.
I rebooted and I'm still getting the same issue after :/
 
Old 11-26-2010, 03:26 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Hopefully somebody who knows more than me about how Ubuntu handles NVidia drivers will come along soon.
 
Old 11-26-2010, 03:29 PM   #5
Mentallydull
LQ Newbie
 
Registered: Oct 2010
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brianL View Post
Hopefully somebody who knows more than me about how Ubuntu handles NVidia drivers will come along soon.
Thanks for the attempt Brian
 
Old 11-26-2010, 11:13 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well if you used the nvidia.run driver from the nvidia web site( not recommended in ubuntu)

then for EVERY AND ALL kernel,x11,and xorg updates you need to reinstall that .run driver
 
Old 11-27-2010, 08:32 PM   #7
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Rep: Reputation: 16
If you have your kernel source files installed you can download & install the Nvidia driver this way:

1.) Start your internet connection
2.) Open a terminal & type: "nvidia-installer --latest" ...displays the latest version of nvidia available
3.) Download the recommended driver package ...It will have a name like NVIDIA-Linux-x86-177-pkg1.run
4.) Boot to init 3 ...This is console mode with no gui X
5.) Change to your download directory
6.) Type: sh NVIDIA-Linux-x86-177-pkg1.run ...Installer starts interactively

The installer asks the following questions:
license <accept>
Uninstall existing driver <yes>
no precompiled kernel...download a kernel interface ? <no>
compile a new kernel interface ? <yes>
Do you want to run Nvidia-Xconfig utility <no>

Note: It is best to manually edit /etc/X11/xorg.conf & not let the Nvidia-Xconfig do it.

(eg,) Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX - GeForce 8800"

#Driver "vesa"
Driver "nvidia"
Option "DPMS"
EndSection

Here are some facts I learned about Installing the Nvidia driver:

The nvidia driver is kernel specific so,if you install a new kernel, you will need to reinstall nvidia.

The nvidia driver must be built with the same gcc version that your kernel was built with. The kernel
will not recognize a driver module built with with a different gcc compiler.

Also, any new nvidia install will uninstall "ALL" previous nvidia installs & you will have to install the
new version of nvidia for each kernel being used on the system. You cannot have multiple versions of
nvidia on a system (see #3 below).
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(EE) Failed to load module "nvidia" (module does not exist, 0) sanitynotvanity Slackware 6 12-11-2011 12:04 PM
Failed to load the NVIDIA kernel module also my system crashed and I get 'lock files' brucetim100 Linux - Newbie 7 11-23-2009 02:27 PM
"(EE) NVIDIA (0): failed to load the NVIDIA kernel module" stevenmnance Slackware 24 12-11-2008 10:20 PM
(EE) NVIDIA(0): Failed to initialize the NVIDIA Kernel module latino Linux - Hardware 5 06-03-2008 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration