Install a pristine Ubunto distro (check
tutorials)
Get make and gcc
4 sudo apt-get install
build-essential
Check version
7 gcc –version
Check nvidia card present
8 lspci | grep -i nvidia
Stop X server
9 sudo service kdm stop
Remove current nvidia drivers
19 sudo apt-get --purge remove
nvidia-current
Get xorg tools
20 sudo apt-add-repository
ppa:xorg-edgers/ppa
21 sudo apt-get update
Get bumblebee
22 sudo apt-get install
bumblebee-nvidia nvidia-319 nvidia-settings-319
23 sudo apt-add-repository
ppa:bumblebee/stable
24 sudo apt-get update
25 sudo apt-get install bumblebee
virtualgl linux-headers-generic
Remove nvidia-current which came with
bumblebee
28 sudo apt-get --purge remove
nvidia-current
Install nvidia-319 (automatically gave
me 325 after all...)
29 sudo apt-get install nvidia-319
nividia-settings-319
Modify /etc/bumblebee/bumblebee.conf to
replace “nvidia-current” with “nvidia-325”
sudo nano
/etc/bumblebee/bumblebee.conf
Make changes valid
36 sudo reboot
Check success:
40 optirun nvidia-settings -c :8
41 locate xorg.conf
Install CUDA toolkit
43 sudo service kdm stop
44 cd Downloads/
45 l
Here, tell cuda NOT to install the
driver
46 sudo sh cuda_5.5.22_linux_64.run
Add paths to .bashrc
48 nano .bashrc
Validate:
49 sudo reboot
Check how it works (did not install
OpenGL et al., I dont use them)
50 cd NVIDIA_CUDA-5.5_Samples/
54 cd 1_Utilities/
56 cd deviceQuery
58 make
64 optirun ./deviceQuery
No comments:
Post a Comment