I am trying to install CUDA 7.0 on Ubuntu 14.04.2. I already tried everything suggested here and here. I have also tried many other tutorials, which mostly, say the same things.
The main problems when I try to install CUDA are:
- I get stuck on the login screen and nothing that I do can solve it. Already tried, among many other "solutions", this one.
- If I manage to install CUDA properly, Ubuntu freezes randomly and I am forced to shut it down or reinstall Ubuntu;
Can somebody please help me? I already reinstalled Ubuntu more than 5 times...
Thanks in advance,
Found this floating around on the web:
Install wget:
Change to the temp directory:
Download CUDA 7.0 repository:
Install CUDA repository:
Update the repository listings:
Install CUDA 7.0:
If you followed the nvidia tutorial you probably installed the proprietary drivers. I haven't had much luck with those, so here is a solution using the modified drivers. Make sure to remove any nvidia drivers or cuda installation before following these instructions.
Install the drivers:
Restart your computer and make sure the drivers installed correctly. To check, install nvidia x server settings. If your gpu is found, this software will display information about your graphics card.
Next install the cuda toolkit from standard repository:
Then install the correct cuda library from the repository added earlier:
XXX in the above will depend on what graphics card you have (higher XXX means a newer driver). For me (I have an nvidia 970M) it was 346 (EDIT: this was the latest driver at the time, it's now 361. Most video cards will be compatible with the latest driver, but check the nvidia website to be safe).
Finally, try running deviceQuery (may have to run as sudo) to see if cuda is installed and finding your gpu.