[HOWTO] Install NVIDIA drivers manually on Lynx
Well, i am one of those users who never install Nvidia drivers from repository, but manually - by downloading from Nvidia`s website. It was never a pain in the rear on previous Linux distros (including Karmic), but i failed to do so on Lynx. Whenever i tried to install it, i got an error:
Code:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.
I read somewhere that they changed the way nvidia drivers get installed on Lynx (correct me if i`m wrong), so it took me some time to figure out how to do that. So, here is the guide:
1) Download Newest Nvidia drivers from their website
2) Open module blacklist as admin: (i use gedit for text file editing)
Code:
sudo gedit /etc/modprobe.d/blacklist.conf
3) Add these lines and save:
Code:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
4) Uninstall any previously installed Nvidia drivers:
Code:
sudo apt-get --purge remove nvidia-*
5) Reboot your computer
6) When an error message pops up saying that Ubuntu cannot load Nvidia drivers, choose Exit to terminal (Exit to console)
7) Login and cd to the directory where you saved your file
8) Install drivers
Code:
sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run
9) Start GDM
Code:
sudo service gdm start
Enjoy ;)
P.S. if you are having trouble with my method, there is an updated one, posted by trespuntos - maybe it will solve your problem.
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
nice howto
if you have the choice, prefer packages from ubuntu repo (less troubles) as they have been fine tuned by ubuntu devs.
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
But they aren`t always up-to-date ;)
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
Thanks for this. This fixed my problems booting into "low-graphics" mode every 2 or 3 boots.
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
Many thanks, I tried blacklisting nouveau and it didnt work. Your method worked out well.
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
Quote:
Originally Posted by
AndyBoy_LV
But they aren`t always up-to-date ;)
Fully agreed, specially if you have latest video cards or need latest features.
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
Sadly, this did not fix mine. I even went so far as to delete nouveau.ko and the module STILL somehow loads. :confused:
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
Quote:
Originally Posted by
denali
Sadly, this did not fix mine. I even went so far as to delete nouveau.ko and the module STILL somehow loads. :confused:
When you blacklisted, did you give a space after the entries, thats a must.
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
https://launchpad.net/~nvidia-vdpau/+archive/ppa
this ppa is better for most people.
Lucid's new system for managing nvidia drivers allows muliple versions to be installed concurrently (although not run concurrently). this is why you had to remove those packages to use nvidia's .run installer.
Re: [HOWTO] Install NVIDIA drivers manually on Lynx
Unfortunately, this ppa doesn't get updated days.