-1

I'm currently trying to install cuda on my ubuntu 14.04. I downloaded cuda run file from nvidia: https://developer.nvidia.com/cuda-downloads?sid=908551

But i get the following error:

enter image description here

EDIT: settings->software&updates->additional drivers the options are all grayed out: enter image description here

5
  • That screen shot is imposable to read, remove it and paste any errors as text, into your question
    – Mark Kirby
    Aug 4, 2015 at 5:52
  • possible duplicate of Installing and testing CUDA in Ubuntu 14.04
    – Mark Kirby
    Aug 4, 2015 at 5:53
  • wait, can't you click on the screen shot to zoom in
    – JayC
    Aug 4, 2015 at 5:59
  • Sure, but that is not how we do things here, you need to add the code to the question and format it correctly, it is easier to read and has syntax highlighting, why should we help you if you can't be bothered to present your question in a way that helps us to help you ?
    – Mark Kirby
    Aug 4, 2015 at 6:12
  • Does the image not also include the solution?
    – Rinzwind
    Aug 4, 2015 at 8:29

1 Answer 1

3

For installing cuda 1st you need to install nvidia driver as for best scenario use propitiatory nvidia driver which are in settings >> software and updates >> Additional driver.

And select nvidia 343 or nvidia 346 driver but not the lower version as for cuda.

After when you install the propitiatory driver reboot the system and install

sudo apt-get install nvidia-346-uvm or

sudo apt-get install nvidia-343-uvm or

sudo apt-get install nvidia-346-updates-uvm or

sudo apt-get install nvidia-343-updates-uvm

According to the driver you've installed and then create an alias for that uvm in blaclist files for nouveau driver by

alias nvidia-346-uvm or whichever you have installed

then update the initramfs by

sudo update-initramfs -u

then reboot and run

sudo modeprobe nvidia-343-uvm to load nvidia kernel module and then

retry to install your cuda

16
  • Seems you missed alot of steps according too this post askubuntu.com/questions/451672/… Did you test this or paste it from another site ?
    – Mark Kirby
    Aug 4, 2015 at 7:55
  • i'd install cuda 7 using nvidia-346-updates driver in ubuntu 15.04 3.19.0-25-generic just the additional steps may be the /etc/modprobe.d/blacklist.conf file in which alias to be edited.And the work is done.
    – Gaurav
    Aug 4, 2015 at 9:01
  • And as the link you have mentioned it seems to me that that guy build the nvidia kernel module from run file which takes lots of time and sometime result in failure as this is shortcut and provide best solution in minimum time.
    – Gaurav
    Aug 4, 2015 at 9:06
  • Thats fine, I was more thinking, you could of just pasted it from a website with no knowledge of the subject, or consequences, your response was solid so +1
    – Mark Kirby
    Aug 4, 2015 at 9:08
  • actually it's my personal experience fro setting dual monitor setup using bumblebee, nvidia and cuda.
    – Gaurav
    Aug 4, 2015 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.