NVIDIA driver
Manual install instructions from https://sites.google.com/site/easylinuxtipsproject/12
Manual install instructions from https://sites.google.com/site/easylinuxtipsproject/12
- Power off
- Install card in motherboard slot
- Connect monitor cables to card outputs
- Find out what graphics card you have: $ lspci | grep VGA
- Find out which driver you should download by entering card details at: http://www.nvidia.com/Download/index.aspx?lang=en-us
- Download the driver
- Remove all previous nvidia drivers by running: $ sudo apt-get purge nvidia*
- $ chmod +x -v ~/Downloads/NVIDIA-Linux-*.run
- Switch to terminal only mode: $ sudo service mdm stop
- Login in terminal-only mode
- Run: $ sudo sh ~/Downloads/NVIDIA-Linux-*.run
- Accept all options
- After everything is done, $ sudo reboot
- Did it work?
- Everything should display properly in high res
- $ lsmod | grep nvidia
- $ lspci | grep VGA
- Check if nouveau is still being used (if properly installed, no), by: $ lsmod | grep nouveau
If things didn't go to plan, and you need to uninstall, then:
$ sudo sh ~/Downloads/NVIDIA-Linux-*.run --uninstall
$ sudo rm -v /etc/X11/xorg.conf
$ sudo reboot
CUDA
Again, prefer manual install from https://developer.nvidia.com/cuda-toolkit-archive over official repository cuda packages. Use the run file instructions from http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#axzz45oaAPyTF. Don't accept offer to reinstall Nvidia drivers during cuda installation.
Again, prefer manual install from https://developer.nvidia.com/cuda-toolkit-archive over official repository cuda packages. Use the run file instructions from http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#axzz45oaAPyTF. Don't accept offer to reinstall Nvidia drivers during cuda installation.
No comments:
Post a Comment