ncpokrt
August 31st, 2010, 10:41 PM
I spent quite a lot of time jumping from one thread to another trying to fix a problem with my NVIDIA drivers in Lucid. I was getting the error message on startup: NVIDIA: Failed to load the NVIDIA kernel module ...Failed to load module "nvidia" (module-specific error, 0) No drivers available".
After a lot of trial and error, this is what worked for me (I have updated this thread following http://ubuntuforums.org/showthread.php?t=1467074):
- Download the latest NVIDIA driver from www.nvidia.com/page/drivers.html
- In the terminal cd to the directory where you downloaded the driver package (e.g., $ cd Downloads)and make it executable (e.g., $ sudo chmod +x ./NVIDIA-Linux-x86_64-256.53.run)
- Edit blacklist.conf
$ gksu gedit /etc/modprobe.d/blacklist.conf
and add the following lines to the end of the file:
#recommended by http://ubuntuforums.org/showthread.php?t=1467074
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist nvatv
Then save and quit
In the terminal
$ sudo apt-get --purge remove nvidia-*
$ sudo reboot
When you restart you will get an error message. Choose console login from the menu.
- cd to the directory where the driver is located and
- Run the driver installer
e.g., $ sudo sh NVIDIA-Linux-x86_64-256.53.run
Note: When I ran this I got an error message "Unable to find kernel source tree", so I ran:
$ sudo apt-get install linux-headers -`uname -r'
(for which I am grateful to hdog at this thread http://ubuntuforums.org/showthread.php?t=843914) and then reran the installer.
- Start X
$ sudo service gdm start
I hope I remembered all of the steps correctly. Corrections are welcome.
After a lot of trial and error, this is what worked for me (I have updated this thread following http://ubuntuforums.org/showthread.php?t=1467074):
- Download the latest NVIDIA driver from www.nvidia.com/page/drivers.html
- In the terminal cd to the directory where you downloaded the driver package (e.g., $ cd Downloads)and make it executable (e.g., $ sudo chmod +x ./NVIDIA-Linux-x86_64-256.53.run)
- Edit blacklist.conf
$ gksu gedit /etc/modprobe.d/blacklist.conf
and add the following lines to the end of the file:
#recommended by http://ubuntuforums.org/showthread.php?t=1467074
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist nvatv
Then save and quit
In the terminal
$ sudo apt-get --purge remove nvidia-*
$ sudo reboot
When you restart you will get an error message. Choose console login from the menu.
- cd to the directory where the driver is located and
- Run the driver installer
e.g., $ sudo sh NVIDIA-Linux-x86_64-256.53.run
Note: When I ran this I got an error message "Unable to find kernel source tree", so I ran:
$ sudo apt-get install linux-headers -`uname -r'
(for which I am grateful to hdog at this thread http://ubuntuforums.org/showthread.php?t=843914) and then reran the installer.
- Start X
$ sudo service gdm start
I hope I remembered all of the steps correctly. Corrections are welcome.