Hi!, pbpersson,
You do not seem to have got an answer to your query about what is needed to install the nvidia downloaded driver.
If you still want to do so, the following is an excerpt from Post #280 - Page 75- of MAFoElffen's magnum opus:
http://ubuntuforums.org/showthread.p...743535&page=75
Code:
Solution Step I
Possible problem may be that the nvidia package you are using through
ubuntu is not building correctly for "your" Linux kernel.
Please Print These Instructions
1.) First we'll do some cleanup, prep and make sure everything is there
or any dependencies.
Code:
sudo apt-get update
sudo apt-get install build-essential gcc-4.5 g++-4.5 libxi-dev libxmu-dev freeglut3-dev
sudo apt-get install linux-headers-'uname -r'
sudo nvidia-installer --uninstall
sudo apt-get remove --purge nvidia-*
You may get some file not found messages on the 4th or 5th command.
That is okay. continue. We just want to make sure that older modules are
removed or not there so that they don't cause a conflict.
2.) Next we want to check and update our blacklist to make sure any
files and modules that we know of can cause conflicts are in there.
Code:
sudo gedit /etc/modprobe.d/blacklist.conf
We want to make sure they have these lines...
Some of these wouldn't be on a fresh install but would be a problem
if it was updated from a previous version. Add these lines and save:
Code:
blacklist vga16fb
blacklist rivafb
blacklist rivatv
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidiafb
blacklist nvidia-173
blacklist nvidia-96
The important part an a fresh install, is that nvidia and nouveou do not
like each other!!! They cannot coexist. The nvidia-X listed above would
be if you were going with whatever was current for a Geforce 6100 and
above nvidia card.
You could remove the nvidia-173 or nvidia-96 lines if you [are] using those
drivers. The top 6 in the list above should be there.
4.) Download Newest Nvidia drivers from here:
http://www.nvidia.com/Download/index5.aspx?lang=en-us
Please write down the filename and where you saved it to.
5.). To install these drivers, Xorg cannot be running. You need to shut
down the X-Session. You can either do this by going to a terminal session,
Code:
sudo service lightdm stop
If you are using natty or earlier shut down GDM:
Code:
sudo service gdm stop
If that did not work, then another way is to reboot into a TTY Text Console:
Temporarily Booting Into a TTY Text Console
6.) Login and change directory to the directory where you saved your file.
(Remember you wrote that down in step 4.)
7.) Mark the downloaded file as executable.
Code:
sudo chmod a+x NVIDIA-Linux-x86-270.41.19.run
You may have to substitute the name of the "runfile" filename to the one
that you downloaded for your card. (Remember you wrote that down.)
The command above will mark this file as executable.
8.) Install drivers:
Code:
sh NVIDIA-Linux-x86-270.41.19.run
You may have to substitute the name of the "runfile" filename to the one
that you downloaded for your card. (Remember you wrote that down...)
This will install and run the nvidia-installer.
You have to have a working Internet connection to run this installer.
{Edit: You may get a 'script failed' message, choose to continue. bogan}
9.) Some versions of the installer miss this step (configure X), if it did
skip it then
Code:
sudo nvidia-xconfig
9.) Start GDM or LightDM according to your version of Ubuntu. Example:
Code:
sudo service gdm start
Or reboot.
Hopefully it will now load. At least if you did all this, we are pretty
sure that the correct current drivers are built for your current linux kernel.
NB. The line:
Code:
sudo apt-get install linux-headers-'uname -r' # means:
# insert the output from running 'uname -r'. eg:
apt-get install linux-headers-3.2.0.26-generic-pae
Chao!, bogan.
Bookmarks