Busy for 2 nights, finally installed. In 14.04 installed, various loops in the login interface, deleted the installation, installed deleted, and ultimately failed. Then installed 15.04, due to resolution problems, and gave up, the last choice of 16.04, and installed video card, and 141 kind, helpless, all kinds of information to find the site. Finally found a solution on the NV official website!!!!!
This is it: http://devtalk.nvidia.com/default/topic/878117/cuda-setup-and-installation/- SOLVED-TITAN-X-FOR-CUDA-7-5-LOGIN-LOOP-ERROR-UBUNTU-14-04-/1 thanks this big Brother!!!!
This big Brother's general meaning is: installed NVIDIA graphics card driver, go into everything normal, the results after the CUDA, has been in the login interface cycle, and then issued a help post. Finally, someone helped him out. At that time, wow, a flash of light, I can directly from Cuda start Ah! When the Cuda is installed, the video driver can be installed directly. Then I followed the way the Big Brother summed up, loaded with Cuda and N-card driver!!!! Thank you in the end!
So I'll summarize the installation process of this big brother:
1: Download Cuda from official website, note is Runfile
2:nouveau drive to be banned.
To view properties:
ll /etc/modprobe.d/blacklist.conf
To modify a property:
sudo chmod 666 /etc/modprobe.d/blacklist.conf
Open With VI Editor
sudo vi /etc/modprobe.d/blacklist.conf
Add the following lines at the end of the file: (O is Insert, ESC exits edit mode: QW is saved)
Blacklist VGA16FB
Blacklist nouveau
Blacklist RIVAFB
Blacklist RIVATV
Blacklist NVIDIAFB
After modifying and saving the file, remember to restore the file attributes:
644 /etc/modprobe.d/blacklist.conf
Update the kernel again
sudo update-initramfs -u
重启系统确认nouveau是已经被屏蔽掉,使用lsmod命令查看:
| grep nouveau
注:如果没反映说明你成功了!
3: After rebooting the system, CTRL+ALT+F1, after the input command to close the graphical interface.sudo service lightdm stop
4: The input command runs the. Run file but is not installed OpenGL, is not installed OpenGL, is not installed OpenGL, is not installed OpenGL, is not installed OpenGL, that is, bash cuda-7.0.28_linux.run-- No-opengl-libs
5: Pay attention to xservier or appear xconfig what, to hit No. Should pay attention to xservier or appear xconfig What, want to hit No. Should pay attention to xservier or appear xconfig What, want to hit No. Other way yes down, but you also have to take a look AH!!!
6: Last appearance logfile is/.../.../.../cuda_install_xxxx.log so you installed successfully!
7:reboot successfully into the interface! Nvidia-smi appears your graphics card information!
8: Good luck!
9: At the same time thank the eldest brother: http://www.cnblogs.com/devilmaycry812839668/p/6867780.html
ubuntu16.04 notebook dual graphics loaded n card drive