any guide installing cuda/nvidia on linux?
#1
i have try to search on the wiki page http://hashcat.net/wiki/ and all i found was for AMD cards and not nvidia cards,
is there anything out there that ppl could maybe use?

so this is what i've tried so far on ubuntu and The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) (i have a gtx 770 )

apt-get update
apt-get dist-upgrade
apt-get install -y linux-headers-$(uname -r)
apt-get install nvidia-kernel-dkms

apt-get install nvidia-cuda-toolkit

when it fail
i went to http://docs.nvidia.com/cuda/cuda-getting...z42FyaSrff and download the latest cuda and installed 
with sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb

and yet nothing worked. couldnt install it on my home pc

any help please Smile
#2
The answer is just to *not* install anything "cuda"-related at all and do not install anything from you packet manager (because it will be outdated and probably not working).
The only thing you need to do is to install the damn nvidia driver from www.nvidia.com as recommended on https://hashcat.net/
(btw: this is also true for AMD, but for AMD the URL is support.amd.com)

Now you might already have to uninstall a few things and clean the system, before you proceed to the only needed step and install the recommended driver from the vendor site.
#3
I just assume you followed the guide you linked.
Could you tell us what is not working i.e. what error messages did you get etc.
#4
philsmd:

I don't want to hijack this thread, however you mentioned installing nvidia drivers from the nvidia.com site so figured I would add my successes and failures.

I've installed the nvidia driver from www.nvidia.com site and it does work, however, I cannot change screen resolutions after installation. Seems locked a lower resolution.  No selections for higher resolutions.  I assume it is something with the xorg.conf file.   I've tried adding resolutions to it with recommendations from others having similar problems however the new resolutions are not recognized. You mentioned having to uninstall a few things and clean up the system.  I'm not sure what those "few things" might be.  I'm running debian 8.3 on my linux box and oclhashcat 2.01 with two geforce GTX 960s.  I'm no expert on linux by any means.  What I've learned so far is by reading and hints from others on the web.  So as to not completely trash my linux system, I make a backup of the linux installation partition and am able to restore it when my system fails to boot to a screen as the other poster experienced.  This alleviates the need to do a complete install again. 
/r
j


(03-08-2016, 10:17 AM)philsmd Wrote: The answer is just to *not* install anything "cuda"-related at all and do not install anything from you packet manager (because it will be outdated and probably not working).
The only thing you need to do is to install the damn nvidia driver from www.nvidia.com as recommended on https://hashcat.net/
(btw: this is also true for AMD, but for AMD the URL is support.amd.com)

Now you might already have to uninstall a few things and clean the system, before you proceed to the only needed step and install the recommended driver from the vendor site.
#5
it should be very clear what I meant, but I will try to rephrase it: the forum user @pay said he did install the debian package cuda-repo-ubuntu1404_7.5-18_amd64.deb, nvidia-kernel-dkms and nvidia-cuda-toolkit ... and I wrote that he must uninstall them (and "clean up the system") before installing the nvidia driver from nvidia.com. As simple as this.

There is nvidia-settings (even a GUI application) which allows you to configure the resolution etc if you don't want to mess with the xorg.conf file yourself. This always worked for me
#6
(03-08-2016, 10:17 AM)philsmd Wrote: The answer is just to *not* install anything "cuda"-related at all and do not install anything from you packet manager (because it will be outdated and probably not working).
The only thing you need to do is to install the damn nvidia driver from www.nvidia.com as recommended on https://hashcat.net/
(btw: this is also true for AMD, but for AMD the URL is support.amd.com)

Now you might already have to uninstall a few things and clean the system, before you proceed to the only needed step and install the recommended driver from the vendor site.

alil update,

i have formated my hdd and did a clean install of ubuntu 14.04 desktop,
i downloaded the recommended driver for the graphic card,
installed it with sh ./Nvidiadriverxxx 
i received an error which it could not install
because of x server is on, so i had to stop it go into command line mod (ctrl + alt + f1) , and killed lightdm
then another error came which was nouveau kernel is on and it need to be stoped.
i pass that to, and then hashcat worked, but then when trying to login to my account in the gui , it did not work.
so i removed all nvidia driver then i could log back to my account.
ofc hashcat stoped to work right after, so what i did was apt-get install nvidia-352, and it worked Wink

from what i understand from u, installing nvidia driver is all what it need to be done for running cudahashcat , is that right? (nothing else)
no nvidia cuda needed to be installed?
#7
(03-09-2016, 01:21 PM)pay Wrote: from what i understand from u, installing nvidia driver is all what it need to be done for running cudahashcat , is that right? (nothing else)
no nvidia cuda needed to be installed?

(03-08-2016, 10:17 AM)philsmd Wrote: The only thing you need to do is to install the damn nvidia driver from www.nvidia.com as recommended on https://hashcat.net/

Smile
#8
(03-10-2016, 09:26 AM)stepMode Wrote:
(03-09-2016, 01:21 PM)pay Wrote: from what i understand from u, installing nvidia driver is all what it need to be done for running cudahashcat , is that right? (nothing else)
no nvidia cuda needed to be installed?

(03-08-2016, 10:17 AM)philsmd Wrote: The only thing you need to do is to install the damn nvidia driver from www.nvidia.com as recommended on https://hashcat.net/

Smile

^^ comon be easy on me i wana be sure Smile

another update
i decide to do some tests
i have a GTX 550 TI
and 2 tesla K20

ofc they are low cards but i just want to compare betwen them.
installing the drivers for the gtx 550 worked fine and i was able to run hashcat,
but after replacing to 1 tesla k20 it stoped to work (the graphic)
so i decide to remove all the drivers from nvidia (352) with apt-get purge nvidia*


then i installed an older drivers (340) apt-get install nvidia-340
after installing the driver i ran the hashcat with ./cudaHashcat64.bin -b
rebooted 
the error i receive is. "ERROR: No NVidia compatible platform found"

Code:
lspci | grep VGA

3D controller: NVIDIA Corporation GK110GL [Tesla K20c] (rev a1)

any suggestions?


update 2:
i downloaded the NVIDIA driver from the website and installed it (after removing all the nvidia driver), same result.
#9
update 3:
since it says "NV users require ForceWare 346.59 or later" i downloaded and installed the latest drivers from Software & Updates which is 352.63

and i still receive
"ERROR: No NVidia compatible platform found"

spec about the computer,
OS: ubuntu 14.04 LTS
10GB of ram
i5 4570
64Bit

the card is a Tesla K20c

any help will be great

thanks